• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Node selection in JTree stops working

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  •  
    I am displeased. You are no longer allowed to read this tiny ad:
    Gift giving made easy with the permaculture playing cards
    https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
    reply
      Bookmark Topic Watch Topic
    • New Topic