6

Is there a swing library that can take its layout from an XMl file?

gcameo
  • 275
  • 1
  • 3
  • 6
  • Although it uses YAML instead of XML you may want to take a look at JavaBuilders (http://code.google.com/p/javabuilders/). I haven't given a try yet, but it looks pretty interesting from the docs. – Bogdan Dec 17 '10 at 08:55
  • 1
    And, I would add, "which one is the best?" – Ondra Žižka Feb 23 '11 at 00:47
  • I built one in 3 hours this last weekend. It only needs 3 lines of java and a small xml document describing the widgets. – Patrick W. McMahon Apr 20 '15 at 15:10

4 Answers4

6

CookSwing

And here is a large list

Enrique
  • 9,920
  • 7
  • 47
  • 59
2

JFCML: http://jfcml.sourceforge.net/

thotheolh
  • 7,040
  • 7
  • 33
  • 49
  • 1
    The way they mix markup with java code makes me think of spaghetti html + javascript, and that can't be a good thing :) – Bogdan Dec 17 '10 at 08:56
1

SWIXML http://www.swixml.org/ is all what u need.

frewper
  • 1,385
  • 6
  • 18
  • 44
0

Jakarta Jelly And I believe that you can use Spring framework to build UI applications. If you are using Spring you can configure application using the Spring XML.

AlexR
  • 114,158
  • 16
  • 130
  • 208