• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Node selection in JTree stops working

 
Rupert Brown
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am wondering if anybody else has seen this behaviour - I have a Java 6 SE application - in a .jar file - that contains a JTree. It was running on my Windows XP laptop at work. The administrators applied a security patch to XP and now node selection on the JTree component no longer works. Everything else on the GUI seems OK - any ideas as to why that might happen?
 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a small program -- an SSCCE -- that only creates a JTree, wraps it in a JScrollPane and adds the scroll pane to a JFrame (or shows it in a JOptionPane messageDialog). If node selection works in the sample program, you have a bug in your code. If it doesn't there are two things I can think of that you might like to try:
  • Check for updates to your Graphics drivers
  • Reduce hardware graphics accelleration
  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic