Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
java x 10

3 Posted Topics

Member Avatar for bryantpurdin

I've got a JTree that's a file browser. At startup, the selection path is set to the user's home directory. This tree is in a JScrollpane. What I'd like to do is to set the vertical scroll bar position to have this cell (the user's home dir.) on top of …

Member Avatar for bryantpurdin
0
96
Member Avatar for bryantpurdin

I could use some help. I've got a JTree, it's a file browser. I'm trying to programatically select a cell in the tree. I'm making the following calls: [code] File home = new File(System.getProperty(HOME_DIR)); setTree(home, newFile); TreePath path = this.pathFromFile(home); tree.setSelectionPath(path); [/code] But, that doesn't seem to highlight the cell. …

Member Avatar for bryantpurdin
0
227
Member Avatar for Ghost

Hey darkagn, I have a very similar problem to the one you guys have been discussing. My code worked 2 days ago, now it doesn't, and I don't quite understand what's changed. What I want to do is real simple, when the user clicks a button, change the icon on …

Member Avatar for bryantpurdin
0
1K

The End.