Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JGoodies or JSR-295 for complex swing components like JTable and JComboBox  RSS feed

 
Arun Thulaseedharan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am new to bean binding and would like to know which is better for complex swing components like JTable,JTree and all.If anyone who knows about these technologies or have worked on any of this technolgies please give your suggestions.
thanks and regards,
arun
 
G Estes
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you bean building? Why not just create a JTable or a JComboBox to do what you need to do?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lately I've been using GlazedLists for my JTable, JList, and JComboBox. I recently started looking into JSR 295 for binding things like JTextField, JTextArea, etc.

I've accomplished JavaBean to component binding but I can't figure out how to go the other way automatically.

I don't really have a lot of input beyond I've been using them and they seem to work ok. JSR 295, or rather this implementation, is fairly verbose and still required PropertyChangeSupport for your JavaBeans, which I don't like. I love to find a pure POJO solution.
 
G Estes
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg,

Are you talking about using a GUI Builder like that found in NetBeans, etc... to create tables that are bound to database queries, etc?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!