Hey /prog/. I'm too much of a noob to figure out Sun's official jargon-heavy tutorial on the GUI class Swing, and the book I am studying from more or less goes 'use Netbeans lolololo'. Can anyone please recommend me a decent book and/or tutorial on the subject, or just a general decent Java book that includes the subject?
hello im fairX the haxxor join my community of hackers if you payme enough i will give you access to a private area of haxx ;) http://forum.curse-x.com/index.php
Name:
Anonymous2010-08-06 10:45
I learnt by mistakes, and also used a GUI builder and read the code it generates. You prolly want to read about event listener, etc...
That's just me thou.
>>1 >>6 is correct. Actually building Swing is relatively easy and is the kind of thing you learn by playing around and reading Sun's tutorials; JSpinners are the only part that ever gave me any kind of frustration, even with the tutorial. If you search "Java [swing component]" you should get two entries as your top returns: one is the javadocs page and the other is a tutorial.
The real chore is setting up the system of interaction - the EventListeners - between different doohickeys thus that they affect each other, though even that becomes easier with practice. It might even approach the level of fun (for a masochist).