Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in Xml+Swing for constructing GUI  RSS feed

 
karthik tvn
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all...
I have been used 3 GUI screens. All screens having labels and buttons.
I am constructing GUI through Xml file.
So i have 3 different xml files for GUI screens.So each screen having separate xml file.In each file there should be font name attribute.
But i want there is one common xml file in order to set the font name to all the 3 screens , and no need to go to all xml files to change the font name.But some properties(like font size,font color) should be defined in respective xml file.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fundamentally this seems to be the same question you asked yesterday where you got an answer. Did you check out the ideas given there?
 
karthik tvn
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m using cookswing(open source) for constructing GUI through xml file..

In cookswing....Is there a way to put buttons inside jtable? Instead of right clicking one of the rows and get a popup menu show up, I would like to have buttons as columns in jtable that i can listen to and respond.
 
G Estes
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I might suggest building the UI from the ground up and use a properties file for your real time parameters? Building a Java/Swing app is not so difficult as some may lead you to believe...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!