Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I created a JTree that contains a custom object ("EditorWindow", that extends JPanel) at each node. To do this I had to create a custom TreeCellRenderer. The problem I'm having is that while I can add and remove nodes OK, components (JTextFields, etc) that I dynamically add to the individual EditorWindows do not appear in the GUI. I've checked in software, and an enumeration of all components that a given EditorWindow contains confirms that the components were added, but aren't being displayed. I'm thinking that this is a problem with my TreeCellRenderer, but I have absolutely no idea what to do. Can someone help me out? Thanks!
Replies:
|
Sponsored Links
|