GUI creator for Java - netbeans alternative?

SagaLore

Elite Member
Dec 18, 2001
24,036
21
81
I have a school project where I need to create a gui/form for input, do some array handling, calculate and output,etc.

I've been struggling with netbeans. Its pretty easy to design the gui, but once I get back into the code, I'm having trouble making sense of it. I'd prefer something that was more intuitive on the actual logic integration - I don't care so much as the actual gui implementation.

Any suggestions?
 

Borealis7

Platinum Member
Oct 19, 2006
2,901
205
106
is it an applet? is it a web application (running in a browser) or a "desktop application"?

the common Java gui is called SWING, but it takes time to learn and is not very intuitive, IMO.
 

N4g4rok

Senior member
Sep 21, 2011
285
0
0
the common Java gui is called SWING, but it takes time to learn and is not very intuitive, IMO.

Swing is pretty basic for GUI's. It isn't exactly pretty, but it will definitely get the job done. It's also been around for a while, so you don't really have to worry about compatibility issues between platforms. That shouldn't be a problem with Java anyway, but you never know.
 

Broheim

Diamond Member
Feb 17, 2011
4,587
2
81
I use eclipse and window builder.

but if you want to I can help you make sense of whatever code is generated by netbeans, and what you need to implement yourself inorder to make it work (like the actionlistener and such).
 

Aikouka

Lifer
Nov 27, 2001
30,383
912
126
SagaLore, I think the problem isn't with Netbeans, but it's with you. Java GUI code isn't terribly complex, but you're expecting to understand Java SWING without ever using it yourself.

Try going through a few of the starter tutorials from Oracle here:
http://docs.oracle.com/javase/tutorial/uiswing/

The two biggest things that you want to get used to are how the Layout Manager defines the way something is laid out and how Panels are used extensively and also differently depending on the Layout Manager that's being implemented.

Also, I'm really not a fan of GUI builders in Java anyway. Unlike other things like HTML editors, they are not really WYSIWYG, because as you'll learn, Java layouts are relational not specified. Albeit, you can use spatial layouts where you specify exact coordinates (which is what I did when I used C# for GUIs), but it's kind of a Java faux pas.
 

purbeast0

No Lifer
Sep 13, 2001
53,002
5,892
126
using an actual GUI builder is probably the worst possible thing you can do, especially when you start having to add in custom controls. i can crank out swing guis faster doing it raw coding than most people can using a gui builder.

also GUI's built with the GUI bulder are much more of a pain in the ass to maintain.

and the whole point of using a GUI builder is so you don't have to go mess with the code that generates it. there really is no reason you should even be looking at the code produced by the GUI builder. and if you are looking at it because you want to learn how to do it by hand, that isn't a good idea, because it uses a buncha shit that is useless to do by hand since you could do it much easier in other ways.

EDIT:

i actually had to clean up 4 screens that new people at my job did with the GUI builder in netbeans because it was totally useless, since we use a lot of custom controls, and they just used common controls to make them look like our custom controls. i had to totally redo them from scratch. they also used names like 'combobox1, combobox2' etc, which the GUI builders do automatically.
 
Last edited:

Aikouka

Lifer
Nov 27, 2001
30,383
912
126
WYSIWYG programming is teh evil.

In Java, I agree, but as I mentioned, I think they work rather well in Visual C#. I've never really fully depended on one though, but since C# uses direct placement (x, y, width, height), you can see exactly what everything will look like (at least ignoring any objects added during runtime).
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |