Home Segments Top Top Previous Next

678: Mainline

The component and container machinery found in the java.awt and javax.swing packages is operating-system independent. If you use these packages to construct a GUI for a program, that program will run without change under the Unix, Windows, or Macintosh operating systems, and you can adapt the program to run as an applet hosted by a web browser, as described in Chapter 44.