HumbleUI / JWM

Cross-platform window management and OS integration library for Java
Apache License 2.0
561 stars 44 forks source link

[Windows] Example application throws exceptions when window width is too small. #123

Closed i10416 closed 3 years ago

i10416 commented 3 years ago

Example application throws exceptions when window width is too small. The same error occurs when minimize the window.

WARNING in native method: JNI call made with exception pending
        at org.jetbrains.jwm.App._nStart(Native Method)
        at org.jetbrains.jwm.App.start(App.java:53)
        at org.jetbrains.jwm.examples.Example.main(Example.java:206)
WARNING in native method: JNI call made with exception pending
        at org.jetbrains.jwm.App._nStart(Native Method)
        at org.jetbrains.jwm.App.start(App.java:53)
        at org.jetbrains.jwm.examples.Example.main(Example.java:206)
java.lang.NegativeArraySizeException: -3
        at org.jetbrains.jwm.examples.PanelFrames.paintImpl(PanelFrames.java:39)
        at org.jetbrains.jwm.examples.Panel.paint(Panel.java:24)
        at org.jetbrains.jwm.examples.Example.paint(Example.java:114)
        at org.jetbrains.jwm.examples.Example$1.lambda$run$0(Example.java:74)
        at org.jetbrains.jwm.App._nStart(Native Method)
        at org.jetbrains.jwm.App.start(App.java:53)
        at org.jetbrains.jwm.examples.Example.main(Example.java:206)