6

I am looking for some framework or toolkit (style drag and drop) for creating gui in Java. I need to do quite complex application with dockings, toolbars, tables etc.

Which one would be best?

joseph
  • 687
  • 3
  • 12
  • 21
  • [VLDocking](http://vldocking.com) is an easy way to add a docking UI, it won't consume your application's design like an RCP. – Drew Mar 31 '13 at 23:37

4 Answers4

3

If you're looking for a GUI builder, NetBeans has a decent one. Otherwise, you can just write it yourself in Swing or SWT?

Amir Afghani
  • 37,814
  • 16
  • 84
  • 124
  • yes, I know swing, but there is needed a lot of code to write It would be slave's job I think.. And, is anywhere tutorial how to write bean? – joseph Mar 04 '10 at 18:23
  • edit: I think you were speaking about default installed swing designer to netBeans. NetBeans platform seems to be goot at first point of view – joseph Mar 04 '10 at 18:40
  • Swing is really good these days and comes bundled with the JRE. The Netbeans GUI builder is excellent, too. – Seun Osewa Mar 04 '10 at 18:52
3

The Netbeans Platform might be what you are looking for, it is based on Swing, and the Netbeans IDE can be a showcase for it, check http://platform.netbeans.org/
I think the equivalent on SWT is http://www.eclipse.org/platform/

clyfe
  • 23,695
  • 8
  • 85
  • 109
2

Start reading Swing Architecture and then use Netbeans UI builder and finally complement it with JIDE Software libraries.

JIDE have several libraries, for instance:

JIDE Docking:

alt text

JIDE Grids:

alt text

And many more. The only inconvenient I see is, you need a good understanding on how does Swing works before using it ( or you can acquire that knowledge in the process )

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
OscarRyz
  • 196,001
  • 113
  • 385
  • 569
  • Yes, I am new in doing gui, only thing I created till now were easy projects with couple of panels. – joseph Mar 04 '10 at 18:41
  • It looks like you'll have a good change going the way I just told you. Read that article and use JIDE from Netbeans UI builder. You'll learn a lot in the process. When you have a doubt, comeback to SO and ask it. – OscarRyz Mar 04 '10 at 18:46
1

eclipse rcp, spring rich client, griffon

all of these frameworks are good to avoid writing boiler-plate code all over again (support for docking, window management, dialog management, preferences management).

i must note that complete drag 'n drop is not supported in none of them out of the box, but there are IDE's that help you in building Swing panels, components, ... in a visual editor. both Eclipse IDE and NetBeans IDE have a GUI Builder/visual editor.

my prefered choice is spring rich client because it's easy to get started, it's swing-based, it integrates with docking frameworks, component libraries, ... and it uses spring.

if you need a pluggable architecture then you should take a look at eclipse, or netbeans.

edited: i mean eclipse rcp

Stefan De Boey
  • 2,344
  • 16
  • 14