|
|
 |
11-21-2012, 10:57 AM
|
#1
|
|
Diamond Member
Join Date: Sep 2003
Posts: 6,102
|
GOOD Java tutorials?
I've searched Google and have not found a very good Java tutorial. I would particularly be interested in how to start creating GUI's.
I found a GUI example that just seemed like a headache. I'm too babied by VBA & VB.NET gui's to make a gui. Am I missing something like this for Java?
I need help as I am a decent programmer and learn languages fairly quickly - but learning environments I'm as handicapped as they come.
So to be clear, even very good Hello World examples that talk about points of Java (something that explains WHY we're doing something, not just how) or slightly more complex would be useful.
TIA!
|
|
|
11-21-2012, 11:25 AM
|
#2
|
|
Golden Member
Join Date: Jun 2009
Posts: 1,557
|
My 2 cents:
If you really need to make desktop GUI, don't use Java unless you really need support on Linux (or non-Windows). For Windows, stay with .net.
Netbeans IDE has a usable GUI Editor like Visual Studio with drag & drop of controls.
http://netbeans.org/kb/docs/java/quickstart-gui.html
If you need a rather advanced client and GUI maybe look at this (never used myself so can't tell if good)
http://netbeans.org/features/platform/
But IMHO in general java is better suited for server side.
|
|
|
11-21-2012, 04:52 PM
|
#3
|
|
Diamond Member
Join Date: Sep 2005
Posts: 3,593
|
Java is super easy to do most GUI stuff in. As long as you know general GUI concepts, you are good to go. Just grab netbeans and use the visual editor to simplify the layout aspect.
|
|
|
11-21-2012, 04:58 PM
|
#4
|
|
Diamond Member
Join Date: Sep 2005
Posts: 3,593
|
|
|
|
11-22-2012, 12:08 AM
|
#5
|
|
Lifer
Join Date: Sep 2004
Posts: 14,754
|
AHHHHHHHHHH.
GUIs in Java are easy. Stop using these stupid layout tools. Just learn the language and learn the Eclipse IDE.
http://docs.oracle.com/javase/tutorial/uiswing/
Once you learn Eclipse and how Swing works you can create GUIs blind.
|
|
|
11-22-2012, 09:04 AM
|
#6
|
|
Diamond Member
Join Date: Jul 2006
Location: Midwest USA
Posts: 5,703
|
Quote:
Originally Posted by IHateMyJob2004
AHHHHHHHHHH.
GUIs in Java are easy. Stop using these stupid layout tools. Just learn the language and learn the Eclipse IDE.
http://docs.oracle.com/javase/tutorial/uiswing/
Once you learn Eclipse and how Swing works you can create GUIs blind.
|
Yeah right. First,guy worked already with GUI editors, so netbeans would be better choice as mentioned, as it actually has swing GUI editor - unlike eclipse.
For anything non- trivial, GUI editor is a must. Since it is going to auto-generate Java code, there is a chance to learn how widgets are used.
Doing it by hand, as a beginner, spells trouble.
__________________
i7-3770, Intel DZ77SL-50K, VisionTek HD 7850, Dell 2707WFP, X25-M, X-Fi * PC Gamer Since 1991 *
|
|
|
11-22-2012, 05:00 PM
|
#7
|
|
Golden Member
Join Date: May 2010
Location: NC USA
Posts: 1,582
|
Netbeans Netbeans Netbeans. It's not as good as Visual Studio for C#, but still easy to use.
|
|
|
11-22-2012, 07:32 PM
|
#8
|
|
Lifer
Join Date: Sep 2004
Posts: 14,754
|
Quote:
Originally Posted by postmortemIA
Yeah right. First,guy worked already with GUI editors, so netbeans would be better choice as mentioned, as it actually has swing GUI editor - unlike eclipse.
For anything non- trivial, GUI editor is a must. Since it is going to auto-generate Java code, there is a chance to learn how widgets are used.
Doing it by hand, as a beginner, spells trouble.
|
Not doing it by hand as a beginner will always make that person a beginner as they rely on such crutches going forward.
I have not once found something I can't do without a layout editor. And as a bonus, I don't get code bloat, horribly named variables and disorganized code and I can do crazy things like reuse code.
Last edited by IHateMyJob2004; 11-22-2012 at 07:34 PM.
|
|
|
11-22-2012, 08:31 PM
|
#9
|
|
Lifer
Join Date: Feb 2003
Posts: 20,495
|
Like beginner99 said, I'd stick to .NET if you don't need cross-platform support. Building GUIs in .NET beats the living shit out of doing it with Java.
If you're just trying to do it in Java for a pet project, or just to learn it for the sake of it, good luck, sorry I can't point you in a direction for a tutorial. I learned GUI building in Java from my first few college C.S. classes.
|
|
|
11-23-2012, 10:47 AM
|
#10
|
|
Lifer
Join Date: Jul 2004
Location: Austin, TX
Posts: 20,221
|
It's a shame that there isn't something like WPF for Java. Android's GUI system is very similar.
I stick to Java for all my personal projects simply because I want to share them with the widest audience that I can.
|
|
|
11-24-2012, 11:31 AM
|
#11
|
|
Platinum Member
Join Date: Jul 2004
Posts: 2,238
|
Quote:
Originally Posted by LumbergTech
|
Hahah...ahahhaha. That is the most boring drivel I've ever read.
http://www.javavideotutes.com/
^ Good, useful knowledge and logic.
http://www.lynda.com/
Do their Java Essential Training, then Advanced Training, then some Android Development tutorials on their website. They will use Eclipse. Get the basics down, then move to Netbeans for whatever graphical mayhem you need.
__________________
AMD Phenom II BE965 - 4.0 Ghz || Gigabyte 7850 2GB - 1050/5500 || GA-MA790X-UD4P - 240 Mhz FSB 4 GB Dual-Channel DDR2 - 800 Mhz || WD Caviar Black 1TB || WD Caviar Green 2TB Denon AVR-591 || Pioneer SP-FS51/C21/BS-41 || BIC F12 || Klipsch RW-12D || Sennheiser HD 202-II || Panasonic TC-P50U50
|
|
|
11-26-2012, 09:04 AM
|
#12
|
|
Golden Member
Join Date: Jan 2002
Posts: 1,011
|
IntelliJ IDEA, great java IDE, and there is a free community edition, can also be made portable by editing the config file.
http://www.jetbrains.com/idea/
__________________
A. When it rains, !#$% happens.
B. Elmo dolls shouldn't start laughing by themselves at night...
C. People with OCD+ADD should not be making decisions to subordinates...
|
|
|
11-26-2012, 03:32 PM
|
#13
|
|
Senior Member
Join Date: Oct 2006
Location: Chicago
Posts: 790
|
__________________
Quote:
Originally posted by: NanoStuff
Shooting a preacher is like squishing a spider. It's sad for a while but it cleans the place up.
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:11 AM.
|