This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTree Vertically half displayed problem  RSS feed

 
satya sahu
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently i am facing the problem like explained below:
The nodes of the tree are not visible properly. The nodes are visible only half VERTICALLY. The text, the folder icon, the checkbox are only rendered half. Total width of the node based on the node is ok. Only problem is with the Height. The code runs fine in Linux, but when i run it in windows XP, this above problem is happening. I don't know where is the mistake and what to do to solve this.
Can anybody has any idea to solve this ?
I have already tried repainting,revalidating, preferred size.....
Please help me.
Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!