Hi, Michał.

You can create a bug report here:
https://bugreport.java.com/bugreport

Please additionally to the test provide the system
information, and information about screen(resolutions and default scale factor).


On 20/12/2018 03:11, Michał Błaszak wrote:
Hi All,

I hope this is a known problem but just in case it’s not.

Trying to make an app drawing something on JPanel I noticed some annoying 
inaccuracies.

The attached piece of code is supposed to draw a series of lines one below the 
other (swapping colors are to demonstrate what's happening).

The result is presented in the following picture:

That means that some pixels are unreachable.

I tested it on several jdk releases. Results are:

OpenJDK Runtime Environment (build 1.8.0_40-b25): Works correctly

OpenJDK Runtime Environment (build 9+181): Wrong behavior

OpenJDK Runtime Environment 18.3 (build 10.0.2+13): Wrong behavior

OpenJDK Runtime Environment 18.9 (build 11.0.1+13): Wrong behavior

The same inaccuracies are observable when using drawRect() or fillRect().

I wanted to report is a bug but I do not know how to do it.

Thank you for looking at it.

Best regards

*Michał Błaszak*

Section Manager, Research & Development



--
Best regards, Sergey.

Reply via email to