Chapter 7. Swing and XML

"Clearly, with Java emerging as the predominant Internet- system programming language and XML emerging as the dominant model for Internet data, these two technologies are bound to intersect in interesting ways."

Jeremy Allaire, "Java, XML and Web Syndication," Java Developers Journal, August 1999

IN THIS CHAPTER

In this chapter, we will examine the basics of displaying XML with a Swing graphical user interface. We begin by discussing how to render the DOM with a JTree widget. For those Java programmers new to Swing user interfaces, we present an overview of the Swing components. We then examine how XML fits into Swing's Model-View-Controller (MVC) architecture. That is followed by a second example that renders an XML document as a table. We end the chapter with a discussion and demonstration of how XML can be used to create flexible, data-driven graphical user interfaces.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.86.134