Java GUI problem - "BeanBox" swing component implementation

Reply

Join Date: Jul 2007
Posts: 66
Reputation: vidaj is an unknown quantity at this point 
Solved Threads: 14
vidaj vidaj is offline Offline
Junior Poster in Training

Java GUI problem - "BeanBox" swing component implementation

 
0
  #1
Mar 17th, 2008
Hello

I'm creating a program where I want a "BeanBox" window for editing an object's properties.
I'm thinking something like: [http://img301.imageshack.us/img301/5308/javagridtg0.jpg]

It must retain alot of the functionality that JTable gives: Resizable columns, custom cellrenders & celleditors, min/max column width.

So far, so good. I could just use a JTable out of the box.

The problem is that a column doesn't contain objects of only one class, so using the basic TableModel#getColumnClass setup won't work. I want to be able to specify a cellrenderer and editor for each cell in a column.
It would also be great (but not vital) to have a tree-structure in there aswell (as seen on the illustration).

Does anyone have any good ideas to how I can do this? Can I modify existing components into what I want or do I have to create my own component from scratch? Or has anyone already written this kind of component for swing?

Best regards

-vidaj-
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC