views:

446

answers:

6

Do you know any decent framework for creating Swing screens? I need to extend my application for implementors that will have to add their own screens.

Possible options:

  1. Netbeans platform with Matisse editor

  2. Bean builder (very old and unsupported)

  3. Eclipse VEP (beta)

Any other option?


Update: I am not looking for design time tool to build my screens. I am looking for an addon or a platform to allow implementors (users of my application) to build custom screens for different clients. The screens have to be saved in some format (say xml) and will be displayed by another (view-only) application.

Because of that, solutions like Matisse4MyEclipse don't fit, because I can't bundle their proprietary plugin with my application.


Update 2:

I am asking for a framework, not a design-time tool. I want some kind of component to embed in my application, so that users will be able to create screens by themselves.

A: 

What do you mean by "screens"? JFrames? JPanels?

If you use the NetBeans JPanel Form, it's pretty easy to add/modify components. With one JPanel per "screen" you can put a bunch of screens together into a wizard, using tabs, etc NetBeans GUI forms can be copied, edited, combined pretty freely.

BobMcGee
Yeah I mean putting JComponents on JPanel. I already know about netbeans, but I prefer eclipse plug-in or stand alone application framework for screens editing.
Vitaly Polonetsky
So, what you want is just a good, stand-alone GUI builder for Swing? You don't have very many options for GUI builders, and Netbeans is the only good one I've seen that is free. You might be able to get some package to work with the Matisse .form files (they're just XML, after all), but NetBeans really IS the easiest way. I promise.
BobMcGee
+2  A: 

instantiations' WindowBuilder - a commercial product

David Rabinowitz
Does it allow integration of the screen editor into another application?
Vitaly Polonetsky
A: 

I haven't seen Matisse4MyEclipse mentioned yet. That said, it's part of MyEclipse, which isn't free, so it seems likely to me that there are potential licensing issues here.

As for having users implement screens for different clients, it sounds like your users are going to be tech savvy. Perhaps you could use Groovy's SwingBuilder to define these views in an editable form. I think this is perhaps more of what you're looking for than a design-time tool.

Paul Morie
See my update above.
Vitaly Polonetsky
A: 

Oracle's Application Development Framework (ADF) running alongside JDeveloper allows you to develop Swing applications with a nearly WYSIWYG editor. ADF provides rich drag-and-drop components (widgets) that get tied to model objects, which, in turn, are packaged by modules. The modules contain the database connection information, control connection pooling, and so forth.

ADF also allows you to reuse the modules and models in web-based applications.

Dave Jarvis
A: 

IntelliJ IDEA also has an GUI Designer.

Ilya Boyandin
+1  A: 

I have used the JGoodies Form API in the past, and I liked the simplicity of it. (I dislike GUI builders...) I guess it could be made configurable using Spring.

Ben