This week's giveaway is in the Spring forum.
We're giving away four copies of Microservices Testing (Live Project) and have Chris Love & Andres Sacco on-line!
See this thread for details.
Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

JTree - Fonts - Threads And CellRenderers

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok Gurus, here's the problem.

I have a Jtree (User list) that gets updated from a network thread - ie when a user logs onto the system, the user is add to the jtree. The problem that I'm running into is that sometimes the nodes added to my Jtree are being rendered incorrectly. What happens is one or more of the nodes get stretched vertically to cover way more vertical space than they should. It's a difficult problem where I've tried a few different forms of synchronization & rendering and I'm still having troubles. I've got a lot of code in my application, so I tried to quickly develop this test application to demonstrate my problem.

I am using JRE1.5.0_01



Any ideas on how I can stop this from happening?

Thanks in advance!

[ March 24, 2005: Message edited by: Dave Fribley ]
[ March 24, 2005: Message edited by: Dave Fribley ]
 
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Adding node to empty JTree with root node hidden
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4244496
reply
    Bookmark Topic Watch Topic
  • New Topic