|
-
Expensive Sushi
Java-SWING
Hello
Recently I have taken up the task of learning how to implement GUI's in Java. Although so far, my attempts have been failures. It was not as easy as I had first expected. Perhaps it's because it's all new to me, but it seems quite complicated.
Does anyone here know of any good tutorials on the web which deals with the implementation of GUI's in Java applications? Help would be much appreciated, thanks!
-
NullPointerException
Mastering the various layout managers available takes quite a bit of practice. Often, it's easier to learn using an IDE like NetBeans to lay out the objects for you along with all the callback methods, then dig through the code manually.
I would also recommend the book core JAVA2 Volume 1-Fundamentals. Sorry, but haven't used any online tutorials.
Open Source is free like a puppy is free.
It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.
Understanding Evolution
-
Reef Shark
Here is one of the most comprehensive SWING tutorials i've found on the web. (link) I used this tutorial in conjunction with Wrox's Java 2 1.4 book and was fairly successful; however, it wasn't the smoothest learning curve. Good luck.
~ And that is my humble opinion.
When I was a boy I was told that anybody could become President. Now I'm beginning to believe it. - Clarence Darrow
The greatness of a woman’s power is measured in the size and amount of the balls she clutches in hand. -Nephalim
"Tink"
1700+ XP on A7N8X, 768MB PC2700 DDRRAM, Samsung 19" 900IFT, Radeon 64MB DDR VIVO, SB Live! MP3+, 42.9GB IBM HDD, Plexwriter 8/4/32, 3C905CTXM NIC
"Hermes"
Dell Inspiron 8200, 1.7 GHz P4, 512MB DDRRAM, 30GB HDD, DVDROM, Geforce4 Go 64MB
-
Goldfish
Well, this is going to sound like an oversimplification, and I suppose it is ...
However, to get the swing of swing you realy only need to wrap your mind around two concepts. Everything is essentialy layered (in an OO way) and everything is event based (again in an OO way .. with object call-backs).
Of course I realize that this probably won't help you much .. HOWEVER .. as you are reading tutorials/books etc. try to focus on how things you are reading tie into the two concepts I pointed out. When you start making the connections you will, I am certain, have an AHA!!! momment, everything will click and you will find that you can do 90% of things in SWING without learning anything more (well still have an API reference handy)
System 1: OS:Vista Ultimate | MB:Gigabyte GA-965P-DS3 | Proc: Intel E6400 | Mem:4 Gig PC26400 | HDs:WD 2500KS X 2 | DVDRW: 2X Samsung SH-S182M | Video: EVGA 8800GTS | Sound:X-Fi Xtreme Gamer | Speakers:Logitech Z340 | Monitor: Dell 2407
-
pcbuyer is right.
Swing is amazingly flexible though it still has many faults, but people who try to use all the components as-is or without using the models will be extremely frustrated and unhappy....
I'm half Scottish and half French.
I surrender to alcohol.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|