Meaningless Drivel is fun!
The moose likes Swing / AWT / SWT and the fly likes Strange JTree Icon Behaviour Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Strange JTree Icon Behaviour" Watch "Strange JTree Icon Behaviour" New topic

Strange JTree Icon Behaviour

Isaac Hewitt
Ranch Hand

Joined: Jul 24, 2006
Posts: 191

The System icons in my JTree appear truncated on the bottom and right side and I have no idea why. It has nothing to do with row height as I have tried to change this. It has nothing to do I think with Look and Feel, went back to Aqua and same thing.
Darryl Burke

Joined: May 03, 2008
Posts: 5115

To get better help sooner, post a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates the problem.

luck, db
There are no new questions, but there may be new answers.
Isaac Hewitt
Ranch Hand

Joined: Jul 24, 2006
Posts: 191

After some testing.... It's a screen resolution problem. The problem was solved by increasing the screen resolution.
I agree. Here's the link:
subject: Strange JTree Icon Behaviour
It's not a secret anymore!