6

I am about to build a UI in Java and I am trying to determine what I should use. I definitely don't want to use vanilla swing.

The one caveat is that it has to be added inside of an existing swing application. I am looking at JavaFX and Groovy Swing Builder. For the former it looks like there is fairly poor support for embedding into swing.

Anyone have another other suggestions?

4
  • 1
    If the question is about declarative UI builders, then it's almost a duplicate of stackoverflow.com/questions/761237/… . It's hard to tell right now, though. Commented May 9, 2009 at 4:58
  • What's the "vanilla" thing I've been hearing everywhere ?? Commented May 9, 2009 at 22:57
  • @OscarRyz Not sure about vanilla, but chocolate Swing is animated i996.photobucket.com/albums/af88/taranaingel/Places/… Commented Nov 28, 2011 at 17:01
  • have you thought about building your backend with java but using another language for interface? I find most java interfaces quite heavy. Commented Oct 20, 2013 at 13:32

4 Answers 4

7

The groovy guys are working on Griffon: http://groovy.codehaus.org/Griffon.

I believe it is supposed to model a console type GUI like a web UI.

Another possible answer is JavaFX. Here's a link to their hello world app: http://javafx.com/docs/gettingstarted/javafx/create-first-javafx-app.jsp

Sign up to request clarification or add additional context in comments.

2 Comments

+1 for Griffon. Not so sure about JavaFX though, it doesn't seem to have gained much traction despite the marketing effort that was ploughed into it
Griffon sports a JavaFX plugin that works with the current JavaFX 2.0. See github.com/deanriverson/griffon-javafx-plugin
1

Have you considered using NetBeans?

http://www.netbeans.org/features/java/swing.html

1 Comment

Why got this downvoted? Building swing uis with Netbeans is really easy as it uses a graphical editor.
1

I'm not quite sure what you're looking for, but SwingX might fit the bill.

Contains extensions to the Swing GUI toolkit, including new and enhanced components that provide functionality commonly required by rich client applications. Highlights include:

  • Sorting, filtering, highlighting for tables, trees, and lists
  • Find/search
  • Auto-completion
  • Login/authentication framework
  • TreeTable component
  • Collapsible panel component
  • Date picker component
  • Tip-of-the-Day component

(SwingLabs seems to be down at the moment, though.)


Edit: On second reading, I guess you were actually talking about declarative UI builders? In that case, I'll refer you to another answer of mine in which I recommended javabuilders, a YAML-based Swing UI builder.

Comments

1

I've used JIDE in the past. It's docking framework is pretty awesome.

1 Comment

I'd be concerned about the level of community-support available for JIDE

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.