Forums Register Login

Windows 7 not paint correctly Swing controls

+Pie Number of slices to send: Send
Hello everybody.

My swing application runs in Windows XP with JDK 1.4.

When installed on Windows 7, the Swing controls have no visible borders.
With JDK 1.6 the controls are very similar to Windows XP (now the color
border appears) but the colors (combobox, background cells of JTable, ...)
are BLACK instead of BLUE which is how it appears in XP.

The L&F I use is:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

Any ideas why appears in BLACK?

Thanks in advance.

Janfry
+Pie Number of slices to send: Send
I'm on a WinXP machine right now, so I can't check out Win7/SystemLookAndFeel till I get home, but you could try updating your graphics driver(s). Also check whether any custom system properties / theme has been set.

edit No, on Win7 I get a rather bright blue as the selection background and the borders are normal.
ice is for people that are not already cool. Chill with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1496 times.
Similar Threads
Swing layout appears different on 2 Computers with Same OS?
SWT is faster, no Swing is faster..
Java -Version Problem
JDK1.5 on 64 bit windows XP machine
cant run Java rules round up game
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:03:01.