Skip to main content

Border-Problem with JDK8

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
schrotti12
Offline
Joined: 2012-06-21

Hello!

I got a problem with borders in swing and Java 8 (tried both the 5 and 11 update) on Windows 8.1 Update 1 x64.
The western border has 1px more thickness than the others. So if I set the border to 1px the left border has 2px. See the attached picture...

Tried BorderFactory and Border-Objects... When I set a custom border the problem occurs. The built in borders work fine.

Anyone got a idea why this is the way it is?!

AttachmentSize
BorderProblem.jpg21.3 KB