![]() |
| ||
| Java GUI problem - "BeanBox" swing component implementation 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- |
| All times are GMT -4. The time now is 5:39 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC