Swing Dialog

I have a Swing GUI that displays a dialog when trading, but sometimes the popup does not draw. Moving another application through the drawing area of ​​the dialog box (where the dialog box should be displayed) makes the dialog draw. I could not repeat the problem sequentially.

I know that the "Direct3D Accelerated Rendering Pipeline" was enabled by default in the JDK 6u10 version and that it is only compatible with some graphics cards.

What is the best way to debug this problem? Is there a way to verify that this is a problem with the new "Direct3D" setting? How can I get more information to diagnose the problem?

+3
source share
1 answer

This may be one of the couple's problems. There is a possibility that you do not draw in the "Event Manager" section, which may have undefined effects. There is also a good chance that your program will throw an exception when you try to draw. Can you confirm that no exceptions are thrown (or swallowed without printing to the log / console)?

+4
source

Source: https://habr.com/ru/post/1731029/


All Articles