| Author |
JTree Node Information
|
Adam Pengelly
Greenhorn
Joined: Apr 16, 2004
Posts: 2
|
|
Hi there, I'm running through a ResultSet and creating nodes on a tree as I go, I need to be able to print the node number after the 'title': while(tmpRS.next()) { nodes[0].add(new DefaultMutableTreeNode(tmpRS.getString("Client_Name"))); } I need something like "tmpRS.getString("thing") + getNodeId() I know this is nothing like it, but it's the best psudo code I can do. Thanks in advance for your help
|
 |
Adam Pengelly
Greenhorn
Joined: Apr 16, 2004
Posts: 2
|
|
OK, my bad. I'm fairly (bloody) new to this Java thing. I've figured it out. What a fool I am.
|
 |
 |
|
|
subject: JTree Node Information
|
|
|