[Rev 01] RFR: 8247163: JFXPanel throws exception on click when no Scene is set

Florian Kirmaier fkirmaier at openjdk.java.net
Tue Jun 16 07:34:14 UTC 2020


On Thu, 11 Jun 2020 00:32:34 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Florian Kirmaier has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8247163:
>>   Added space based on code review
>
> modules/javafx.swing/src/main/java/javafx/embed/swing/JFXPanel.java line 452:
> 
>> 451:                 // which doesn't have any side-effects when called multiple times.
>> 452:                 if(stagePeer != null) {
>> 453:                     int focusCause = AbstractEvents.FOCUSEVENT_ACTIVATED;
> 
> Minor: space after the `if`

I've added the space.

-------------

PR: https://git.openjdk.java.net/jfx/pull/248


More information about the openjfx-dev mailing list