• Post Reply Bookmark Topic Watch Topic
  • New Topic

Configurable UI

 
Satheesh Thekku Veethil
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In X-Motif, the UI Components can be configured dynamically with a resource file.
Is this possible in Java???
For example, I can have a UI today which has two buttons and a text field. Tomorrow if i need to add a new component, i will just need to declare the component & associate functionality to it in the code. The location, size etc shall be put into a resource file. And every works!!!
Is this feasible???
Reply back urgently.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SATHEESH,

Please re-register with a username that follows the Official JavaRanch UserName Convention. Your username needs to be in the format "First Name" + space + "Last Name".

Thanks,
-Nate
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there is a built in way to do this in Java, but it should be relatively easy to implement. In fact, I believe that the GUI builder that Forte uses spits out a resource file that does some of this stuff, so you may want to look at that.

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!