Java Reference
In-Depth Information
Figure 9-5. Planets makes it easy to learn about the solar system's planets.
I've organized Planets into Planets and SwingCanvas classes:
Planets is organized into names , diameters , masses , distances ,
and iiPhotos static fields that hold planetary information read from the
database; a JPanel createGUI() class method that creates the GUI; a
void initDB() classmethodthatinitializesthedatabasewhenyouexecute
java Planets initdb ; a void loadDB() class method that loads
planetary information from the database's PLANETS table (before the GUI is
Search WWH ::




Custom Search