Skip to main content

Writing a complex GUI in java? (noob)

2 replies [Last post]
julio514
Offline
Joined: 2009-07-06

Howdy java.net community!

Ok, first of all, I mostly write code in Perl, but I am also okay with java. I recently wrote nice scripts in Perl (BioPerl) that I would really like to bring on a nice GUI. I thought I could do it in java. Now I am not so noob with java, but am a total noob in java GUI coding...

I apologize in advance if I am in the wrong forum and if I use wrong technical terms.

To give an idea, I would like to construct a nice GUI roughly like the NetBeans GUI for instance. I already managed to write a GUI consisting of a JFrame containing a JDesktop containing multiple JInternalFrames. In fact the thing that eludes me and that I would like to understand is how do we do to manage the layout behavior of the GUI. For example, in the NetBeans GUI, when you resize a window, the other windows adapt to the new resulting layout so no empty space is created. It is also possible to drag a given window out of its layout to become an "independant" window.

I already consulted the java.sun.com tutorials but if someone could give me some advice on where to begin, I would appreciate it! I am not in a hurry and I will do what it takes to code something nice.

Cheers!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
julio514
Offline
Joined: 2009-07-06

Thanks for the info! I Think that the NetBeans platform might be exactly what I am looking for :)

walterln
Offline
Joined: 2007-04-17

What you describe is usually called a Docking Framework. There are several of those out there, but since you mention Netbeans, why not base your application on the [url=http://www.netbeans.org/kb/trails/platform.html]Netbeans platform itself?[/url].