This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree icons not refreshing - JRE 1.5

 
Tom Katz
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm testing an applet (that we currently still build with 142.08) in a JRE 1.5 environment. It looks like this has uncovered a difference in the painting of Tree icons. The below code (QPTreeModel implements TreeModel) is the area involved. The tree icons status (which is represented by differing icon files) isn't updated like it used to be. If I do something like re-size the window (forcing a repaint) the icon is updated.

Anyone know of a similar issue in 1.5? And how to deal with it?





thanks in advance,
Tom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic