[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: NPE when restoring window size/position
From:       Kevin Rushforth <kevin.rushforth () oracle ! com>
Date:       2019-06-13 18:06:48
Message-ID: 24d14d75-79b4-e2fc-86ef-94682e471b8c () oracle ! com
[Download RAW message or body]

This does look like a bug in JavaFX. As noted in the README [1], we will 
need a bug in JBS to track this. Can you file one at bugreport.java.com 
[2]? Also, please provide a simple test program.

Thanks.

-- Kevin

[1] https://github.com/javafxports/openjdk-jfx#issue-tracking
[2] http://bugreport.java.com/

On 6/13/2019 6:52 AM, Andrew Munn wrote:
> I frequently get an NPE when calling stage.show() after restoring window
> size/location on startup.   I can prevent it by calling stage.setX(value)
> with a smaller X value before calling stage.show().
>
> I filed this bug:
> https://github.com/javafxports/openjdk-jfx/issues/492
>
> Does anyone have a suggestion or know a fix for this?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic