Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Chapter 7

Advanced GUI Programming


IT'S POSSIBLE TO PROGRAM A WIDE VARIETY of GUI applications using only the techniques covered in the previous chapter. In many cases, the basic events, components, layouts, and graphics routines covered in that chapter suffice. But the Swing graphical user interface library is far richer than what we have seen so far, and it can be used to build highly sophisticated applications. This chapter is a further introduction to Swing. Although the title of the chapter is "Advanced GUI Programming," it is still just an introduction. Full coverage of Swing would require at least another complete book.

In this chapter, we'll take a more detailed look at Swing, starting with a few more features of the Graphics class. We'll cover a number of new layout managers, component classes, and event types, and we'll see how to open independent windows and dialog boxes on the screen. We'll also look at two other programming techniques, timers and threads.

The material in this chapter will be used in a number of examples and programming exercises in future chapters. Aside from that, this chapter is not a prerequisite the rest of this textbook. If you skip it, you will not miss out on any fundamental programming concepts -- just a lot of the fun of GUI programming.


Contents Chapter 7:


[ First Section | Next Chapter | Previous Chapter | Main Index ]

 
 
  Published under free license. Design by Interspire