• Post Reply Bookmark Topic Watch Topic
  • New Topic

UI generation using xml file

 
swapnel surade
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I want to develop an application in that I have to generate a UI in Swing.
In that, ui should be generated dynamically using reading XML values
suppose there 4 buttons are in UI.
I will write all the information about that button in xml file as length width image shape etc...
my java code will read those value at run time and prepare the ui

is it possible to generate the UI by sending value from xml file

thanks in advance,
swapnil
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's absolutely possible. Check out http://www.thinlet.com/ for an example of such an approach.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wasn't thinlet an IBM library which is no longer actively developed? Its quite possible I am thinking about something else.
A little googling also gave me http://www.swixml.org/
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I don't think Thinlet was ever associated with IBM, and it's still progressing, albeit slowly (as it always has).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!