Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Weird black border around icons in JFileChooser  RSS feed

John Smith
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running Java 1.4.0 under Windows XP. When I bring up a JFileChooser in the Windows Look and Feel, the icons for folders, desktop, "My Computer", etc, all have a 3-4 pixel black border which looks quite ugly.
Normally (i.e., non-Java applications, such as Explorer), all these icons look just fine. Thinking it was a problem with something I was doing, I tried the SwingSet example's JFileChooser. Again, under the Windows Look and Feel, the icons have an ugly black border/shading around the edges.
I tried this on another XP machine here at home and found the same behavior. However, on a Windows XP machine at work, the icons look fine. All three machines have the exact same JDK running (1.4.0). It has nothing to do with the way I'm coding since the behavior is apparent in the SwingSet example (looks good on 2/3 XP machines).
Does anyone have any information on this? Why do 2 out of 3 machines display ugly icons in the JFileChooser class using the Windows Look and Feel? Thanks...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!