across TheNew Boston whose presentation of Java Gui really
re-inforced what I have come to realize about the particuliarities of
Java Swing. Essentially, the main program doesn't just call functions.
It calls an instance of a class, and adds it as well ... a very modular approach.
Below, creating a new rectangle color with RGB.
The title is passed when the JFrame is created.
The subsequent tutorial calls on a pre-defined color chooser
Layout on the panel is geographical.
No comments:
Post a Comment