Re: JavaFX 11 is released

2018-09-19 Thread Sverre Moe
Thanks for the clarification. I tried to read the GPLv2-CE license, but it
gave me a headache.

/Sverre


Den ons. 19. sep. 2018 kl. 14:51 skrev Kevin Rushforth <
kevin.rushfo...@oracle.com>:

> While this is not meant to be legal advice... The purpose of the
> Classpath exception to GPL v2 [1], both for the JDK itself and for
> JavaFX, is to allow applications to use it without requiring that the
> application itself be licensed under GPL nor requiring that the source
> for the application be provided. This applies whether you use OpenJDK 11
> + OpenJFX 11 or Oracle JDK 11 + OpenJFX 11.
>
> -- Kevin
>
> [1] http://openjdk.java.net/legal/gplv2+ce.html
>
>
> On 9/19/2018 12:22 AM, Sverre Moe wrote:
> > Great work with JavaFX 11. Looking forward to trying it out.
> >
> > About license for OpenJDK and OpenJFX:
> >
> > Given that OpenJDK has a GPLv2-CE license, is it possible to use it
> > with a commercial application, when bundling with a native runtime, or
> > do we need a commercial license from Oracle? We will not be providing
> > the source code for our application which is required when using
> > software with GPL.
> >
> > We deliver both software and hardware to our customers. The server
> > hardware running SUSE Linux Enterprise Server, which provides the
> > OpenJDK builds, comes preinstalled with our applications. SLES 15.0
> > has the OpenJDK 10 build, but I reckon later SP will probably provide
> > OpenJDK 11. We pay for SLES and are getting LTSS updates from SUSE
> > which includes the OpenJDK.
> >
> > Given that Oracle JDK which we have used up to now to build our
> > application cannot any longer be used in production without license
> > from Oracle, we then would either need a license or use the OpenJDK to
> > build and deliver with out application. Using the OpenJDK I am not
> > sure we can because of the GPLv2 license it is under.
> >
> > I guess it would not be an issue if we did not bundle the JRE runtime,
> > but required the client computer to have it installed, like we do
> > today when using Java Web Start. However with the removal of Java Web
> > Start we are looking into creating native packages for Linux, Windows
> > and Mac.
> >
> > When it comes to third party Java libraries we have been carefully to
> > only use those which is possible in a commercial application, like
> > Apache, BSD and LGPL, such as JFXtras (BSD License 2.0), Medusa
> > (Apache License v2.0) and JFreechart-FX (LGPL 2.1).
> > Now that we will provide JavaFX in the same way as a OpenJFX
> > dependency I have the same concern with it as I do with OpenJDK if it
> > also is under GPLv2.
> >
> > /Sverre
>
>


Re: JavaFX 11 is released

2018-09-19 Thread Kevin Rushforth
While this is not meant to be legal advice... The purpose of the 
Classpath exception to GPL v2 [1], both for the JDK itself and for 
JavaFX, is to allow applications to use it without requiring that the 
application itself be licensed under GPL nor requiring that the source 
for the application be provided. This applies whether you use OpenJDK 11 
+ OpenJFX 11 or Oracle JDK 11 + OpenJFX 11.


-- Kevin

[1] http://openjdk.java.net/legal/gplv2+ce.html


On 9/19/2018 12:22 AM, Sverre Moe wrote:

Great work with JavaFX 11. Looking forward to trying it out.

About license for OpenJDK and OpenJFX:

Given that OpenJDK has a GPLv2-CE license, is it possible to use it 
with a commercial application, when bundling with a native runtime, or 
do we need a commercial license from Oracle? We will not be providing 
the source code for our application which is required when using 
software with GPL.


We deliver both software and hardware to our customers. The server 
hardware running SUSE Linux Enterprise Server, which provides the 
OpenJDK builds, comes preinstalled with our applications. SLES 15.0 
has the OpenJDK 10 build, but I reckon later SP will probably provide 
OpenJDK 11. We pay for SLES and are getting LTSS updates from SUSE 
which includes the OpenJDK.


Given that Oracle JDK which we have used up to now to build our 
application cannot any longer be used in production without license 
from Oracle, we then would either need a license or use the OpenJDK to 
build and deliver with out application. Using the OpenJDK I am not 
sure we can because of the GPLv2 license it is under.


I guess it would not be an issue if we did not bundle the JRE runtime, 
but required the client computer to have it installed, like we do 
today when using Java Web Start. However with the removal of Java Web 
Start we are looking into creating native packages for Linux, Windows 
and Mac.


When it comes to third party Java libraries we have been carefully to 
only use those which is possible in a commercial application, like 
Apache, BSD and LGPL, such as JFXtras (BSD License 2.0), Medusa 
(Apache License v2.0) and JFreechart-FX (LGPL 2.1).
Now that we will provide JavaFX in the same way as a OpenJFX 
dependency I have the same concern with it as I do with OpenJDK if it 
also is under GPLv2.


/Sverre




Re: JavaFX 11 is released

2018-09-19 Thread Sverre Moe
Great work with JavaFX 11. Looking forward to trying it out.

About license for OpenJDK and OpenJFX:

Given that OpenJDK has a GPLv2-CE license, is it possible to use it with a
commercial application, when bundling with a native runtime, or do we need
a commercial license from Oracle? We will not be providing the source code
for our application which is required when using software with GPL.

We deliver both software and hardware to our customers. The server hardware
running SUSE Linux Enterprise Server, which provides the OpenJDK builds,
comes preinstalled with our applications. SLES 15.0 has the OpenJDK 10
build, but I reckon later SP will probably provide OpenJDK 11. We pay for
SLES and are getting LTSS updates from SUSE which includes the OpenJDK.

Given that Oracle JDK which we have used up to now to build our application
cannot any longer be used in production without license from Oracle, we
then would either need a license or use the OpenJDK to build and deliver
with out application. Using the OpenJDK I am not sure we can because of the
GPLv2 license it is under.

I guess it would not be an issue if we did not bundle the JRE runtime, but
required the client computer to have it installed, like we do today when
using Java Web Start. However with the removal of Java Web Start we are
looking into creating native packages for Linux, Windows and Mac.

When it comes to third party Java libraries we have been carefully to only
use those which is possible in a commercial application, like Apache, BSD
and LGPL, such as JFXtras (BSD License 2.0), Medusa (Apache License v2.0)
and JFreechart-FX (LGPL 2.1).
Now that we will provide JavaFX in the same way as a OpenJFX dependency I
have the same concern with it as I do with OpenJDK if it also is under
GPLv2.

/Sverre


Re: JavaFX 11 is released

2018-09-18 Thread Chris Newland
Congratulations to all involved in this!

Looking forward to seeing JavaFX grow now it's outside of the JDK.

-Chris

On Tue, September 18, 2018 14:08, Johan Vos wrote:
> Adding to what Kevin already said (huge thanks to Kevin and Oracle for
> all they did), I want to thank everyone on this list for being part of
> this release. The JavaFX 11 release is a huge milestone, and there are
> many people who contributed, some of them who have been working with
> JavaFX from
> day 1, some who just started working.
>
> As for the site http://openjfx.io: this is something we created with
> Gluon,
> but we really want it to be a community-organised site. Therefore, it is
> all available via github, and open for PR's:
> https://github.com/openjfx/hugo-site.
>
>
> Thanks again,
>
>
> - Johan
>
>
> On Tue, Sep 18, 2018 at 3:02 PM Kevin Rushforth
> 
> wrote:
>
>
>> I am pleased to announce the final release of JavaFX 11 as well as the
>> launch of a new OpenJFX community site at:
>>
>> http://openjfx.io/
>>
>>
>> The GA version of JavaFX 11 is now live and can be downloaded by going
>> to the openjfx.io site or by accessing javafx modules from maven central
>>  at openjfx:javafx-COMPONENT:11 (where COMPONENT is one of base,
>> graphics, controls, and so forth).
>>
>> This is the first standalone release of JavaFX 11. It runs with JDK 11,
>>  which is available as a release candidate now and will be shipped as a
>>  GA version next week, or on JDK 10 (OpenJDK build only).
>>
>>
>> A big thank you to all who have contributed to OpenJFX make this
>> release possible! I especially thank Johan Vos, both for taking on the
>> role as Co-Lead of the OpenJFX Project and for the work that Gluon as
>> done to build and host the JavaFX 11 release.
>>
>> I look forward to working with you all on JavaFX 12 and beyond.
>>
>>
>> -- Kevin
>>
>>
>>
>




Re: JavaFX 11 is released

2018-09-18 Thread Kevin Rushforth
Yes, thank you for filing it. It should be transferred to the JDK 
project tomorrow.


-- Kevin


On 9/18/2018 12:30 PM, jav...@use.startmail.com wrote:
We will review your report and have assigned it an internal review ID 
: 9057296.


hth...

On Tuesday, September 18, 2018 at 3:24 PM, Kevin Rushforth 
 wrote:

I really meant that when you file a bug at https://bugreport.java.com/
you can paste it inline there, along with your description of the bug.
If you have already filed a bug, send me the ID and I can copy the info
into that bug.

Thanks.

-- Kevin


On 9/18/2018 11:26 AM, jav...@use.startmail.com wrote:

Thanks Kevin.

I will paste it all in this email.




Re: JavaFX 11 is released

2018-09-18 Thread javafx
We will review your report and have assigned it an internal review ID : 
9057296.


hth...

 
On Tuesday, September 18, 2018 at 3:24 PM, Kevin Rushforth 
 wrote:

 
I really meant that when you file a bug at 
https://bugreport.java.com/
you can paste it inline there, along with your description of the 
bug.
If you have already filed a bug, send me the ID and I can copy the 
info

into that bug.

Thanks.

-- Kevin


On 9/18/2018 11:26 AM, jav...@use.startmail.com wrote:

Thanks Kevin.

I will paste it all in this email.


Re: JavaFX 11 is released

2018-09-18 Thread Kevin Rushforth
I really meant that when you file a bug at https://bugreport.java.com/ 
you can paste it inline there, along with your description of the bug. 
If you have already filed a bug, send me the ID and I can copy the info 
into that bug.


Thanks.

-- Kevin


On 9/18/2018 11:26 AM, jav...@use.startmail.com wrote:

Thanks Kevin.

I will paste it all in this email.




Re: JavaFX 11 is released

2018-09-18 Thread javafx

Thanks Kevin.

I will paste it all in this email. I have essentially three versions. 
Two are so compressed it's hard for people to get what the issue is. 
Since in those programs the proof only takes the form of the value of a 
class variable, and that proof is demonstrated only by  
System.out.printlns of that variable's value, it's understandable that 
the significance of what's being output could easily be missed or 
misinterpreted/ dismissed etc. 


 The other one is a proper demo application which throws a 
ConcurrentModificationException which can't be so easily misunderstood 
or dismissed, but it has multiple *very small , very well documented* 
classes. You can't  read the documentation and not get at what's being 
shown (and still call yourself a developer LOL...), but you have to 
read the javadoc. 


Note: don't shoot from the hip based on a cursory examination of the 
output or stack trace (like I did LOL). I have probably already 
considered your alternate explanation,  things from overridden methods 
to the confusion about how and why  ConcurrentModificationExceptions 
are thrown  to the (non) presence of multiple class loaders etc etc. It 
took me real time to even entertain the idea that this was not a subtle 
programming mistake but instead a bug in JavaFX. I can't avoid writing 
these so that you have to read the javadoc  - you just have to read the 
javadoc. 


My experience tells me the brief  versions were not easy to understand 
so I'll post the bigger version here. All but one or two of these 
classes should be  easy, one-glance classes for most everyone here and 
the others are also very easy, with brief methods  and anyway 
thoroughly javadoced.:


OK:


1)  A Receiver receives a mouse event. 
***
package javaApplicationThreadCuriosityComplex;

import javafx.scene.input.MouseEvent;

public interface Receiver
{

  void receiveEvent(MouseEvent event);


}

**

A do-nothing receiver receives  the mouse event and does nothing

**

package javaApplicationThreadCuriosityComplex;

import javafx.scene.input.MouseEvent;

/**
 * A {@link Receiver} implementation which literally does nothing 
except receive the {@link MouseEvent} in {@link 
#receiveEvent(MouseEvent)}, as defined in {@link Receiver}.
 * Exists in order that we can create many instances of a {@link 
Receiver} implementation, where the mere existence and not the 
functionality of the implementation is of any consequence to the 
program. 

 * See {@link PaneEventHandlerExceptionThrower}  for details.
 * 
 * To satisfy yourself that these objects are being invoked, 
uncomment-out the line in {@link #receiveEvent(MouseEvent)}, which will 
print "Hello" to standard output.

 */
public class DoNothingReceiver implements Receiver
{
  @Override
  public void receiveEvent(MouseEvent event)
  {

    //System.out.println("Hello");
  }
}


 
A rectangle drawing Receiver implementation. Very simple class; long 
only because it's  written to be  transparent in its behavior. 
If the received mouse event is a certain type (arbitrarily selected for 
ease of use in the application - mouse pressed on the primary button) 
then it just removes the sole  Rectangle from the application's sole 
Pane, if  such a Rectangle is there.
In any case, it next  immediately creates a new Rectangle,  sizes it, 
changes its color,  positions it and adds it  to  the same Pane.
The effect is the Rectangle either  appears for the first time, or 
appears to change color. 

That's it. 

package javaApplicationThreadCuriosityComplex;


import javafx.scene.input.MouseEvent;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;

import java.util.List;

/**
 * 
 * This object receives {@link MouseEvent}s from the {@link 
javafx.event.EventHandler}.
 * If the event is the primary button of the mouse being pressed, this 
object removes the member {@link RectangleDrawingReceiver#rectangle} 
from the list of the {@link Pane}'s children if that {@link Rectangle} 
is present in that list. 
 * It then assigns a new instance of a {@link Rectangle} to the member 
{@link RectangleDrawingReceiver#rectangle}.
 * Finally it adds that member to the list of the {@link Pane}'s 
children.

 * */
public class RectangleDrawingReceiver implements Receiver
{
  /**
   * The {@link Rectangle} which will appear after the Mouse is pressed 
for the first time and be replaced on subsequent MOUSE_PRESSED events.

   */
  private Rectangle rectangle;
  /**
   * boolean value which is reversed each time the primamry button of 
the mouse is 

Re: JavaFX 11 is released

2018-09-18 Thread Kevin Rushforth

In general, smaller test cases are better, so this the preferred choice.

-- Kevin


On 9/18/2018 9:37 AM, Phil Race wrote:

No. If you have a test case, include it in the body.
if its too big for that .. then maybe it needs to be trimmed down anyway.

-phil.

On 09/18/2018 09:31 AM, jav...@use.startmail.com wrote:
I don't see a way to attach java classes at the bug report form 
located here:


https://bugreport.java.com/bugreport/start_form.do

Is there some way to do this?

Thank you.


On Tuesday, September 18, 2018 at 9:02 AM, Kevin Rushforth 
 wrote:



I am pleased to announce the final release of JavaFX 11 as well as the
launch of a new OpenJFX community site at:

http://openjfx.io/

The GA version of JavaFX 11 is now live and can be downloaded by going
to the openjfx.io site or by accessing javafx modules from maven 
central

at openjfx:javafx-COMPONENT:11 (where COMPONENT is one of base,
graphics, controls, and so forth).

This is the first standalone release of JavaFX 11. It runs with JDK 11,
which is available as a release candidate now and will be shipped as a
GA version next week, or on JDK 10 (OpenJDK build only).

A big thank you to all who have contributed to OpenJFX make this 
release

possible! I especially thank Johan Vos, both for taking on the role as
Co-Lead of the OpenJFX Project and for the work that Gluon as done to
build and host the JavaFX 11 release.

I look forward to working with you all on JavaFX 12 and beyond.

-- Kevin







Re: JavaFX 11 is released

2018-09-18 Thread Phil Race

No. If you have a test case, include it in the body.
if its too big for that .. then maybe it needs to be trimmed down anyway.

-phil.

On 09/18/2018 09:31 AM, jav...@use.startmail.com wrote:
I don't see a way to attach java classes at the bug report form 
located here:


https://bugreport.java.com/bugreport/start_form.do

Is there some way to do this?

Thank you.


On Tuesday, September 18, 2018 at 9:02 AM, Kevin Rushforth 
 wrote:



I am pleased to announce the final release of JavaFX 11 as well as the
launch of a new OpenJFX community site at:

http://openjfx.io/

The GA version of JavaFX 11 is now live and can be downloaded by going
to the openjfx.io site or by accessing javafx modules from maven central
at openjfx:javafx-COMPONENT:11 (where COMPONENT is one of base,
graphics, controls, and so forth).

This is the first standalone release of JavaFX 11. It runs with JDK 11,
which is available as a release candidate now and will be shipped as a
GA version next week, or on JDK 10 (OpenJDK build only).

A big thank you to all who have contributed to OpenJFX make this release
possible! I especially thank Johan Vos, both for taking on the role as
Co-Lead of the OpenJFX Project and for the work that Gluon as done to
build and host the JavaFX 11 release.

I look forward to working with you all on JavaFX 12 and beyond.

-- Kevin





Re: JavaFX 11 is released

2018-09-18 Thread Kevin Rushforth
You can either paste the code in line, upload it to Google Drive or 
similar, or else email the bundle to one of us and we will attach it.


-- Kevin


On 9/18/2018 9:31 AM, jav...@use.startmail.com wrote:
I don't see a way to attach java classes at the bug report form 
located here:


https://bugreport.java.com/bugreport/start_form.do

Is there some way to do this?

Thank you.


On Tuesday, September 18, 2018 at 9:02 AM, Kevin Rushforth 
 wrote:



I am pleased to announce the final release of JavaFX 11 as well as the
launch of a new OpenJFX community site at:

http://openjfx.io/

The GA version of JavaFX 11 is now live and can be downloaded by going
to the openjfx.io site or by accessing javafx modules from maven central
at openjfx:javafx-COMPONENT:11 (where COMPONENT is one of base,
graphics, controls, and so forth).

This is the first standalone release of JavaFX 11. It runs with JDK 11,
which is available as a release candidate now and will be shipped as a
GA version next week, or on JDK 10 (OpenJDK build only).

A big thank you to all who have contributed to OpenJFX make this release
possible! I especially thank Johan Vos, both for taking on the role as
Co-Lead of the OpenJFX Project and for the work that Gluon as done to
build and host the JavaFX 11 release.

I look forward to working with you all on JavaFX 12 and beyond.

-- Kevin





Re: JavaFX 11 is released

2018-09-18 Thread javafx
I don't see a way to attach java classes at the bug report form located 
here:


https://bugreport.java.com/bugreport/start_form.do

Is there some way to do this? 

Thank you. 

 
On Tuesday, September 18, 2018 at 9:02 AM, Kevin Rushforth 
 wrote:

 
I am pleased to announce the final release of JavaFX 11 as well as 
the

launch of a new OpenJFX community site at:

http://openjfx.io/

The GA version of JavaFX 11 is now live and can be downloaded by 
going
to the openjfx.io site or by accessing javafx modules from maven 
central

at openjfx:javafx-COMPONENT:11 (where COMPONENT is one of base,
graphics, controls, and so forth).

This is the first standalone release of JavaFX 11. It runs with JDK 
11,
which is available as a release candidate now and will be shipped as 
a

GA version next week, or on JDK 10 (OpenJDK build only).

A big thank you to all who have contributed to OpenJFX make this 
release
possible! I especially thank Johan Vos, both for taking on the role 
as

Co-Lead of the OpenJFX Project and for the work that Gluon as done to
build and host the JavaFX 11 release.

I look forward to working with you all on JavaFX 12 and beyond.

-- Kevin
 


Re: JavaFX 11 is released

2018-09-18 Thread Mike Hearn
Excellent work, congratulations to everyone involved and the new site is
wonderful.


Re: JavaFX 11 is released

2018-09-18 Thread Dirk Lemmermann
Johan, Kevin,

a big "thank you!" from someone who has based his company and career on JavaFX. 
This release will put an end to all of the „JavaFX is dead“ speculations / 
rumors out there and it will hopefully also mark the beginning of ongoing and 
accelerated development of this fantastic piece of technology.

Dirk

http://www.dlsc.com 
http://javafx-days.com 


> Am 18.09.2018 um 15:08 schrieb Johan Vos :
> 
> Adding to what Kevin already said (huge thanks to Kevin and Oracle for all
> they did), I want to thank everyone on this list for being part of this
> release. The JavaFX 11 release is a huge milestone, and there are many
> people who contributed, some of them who have been working with JavaFX from
> day 1, some who just started working.
> 
> As for the site http://openjfx.io: this is something we created with Gluon,
> but we really want it to be a community-organised site. Therefore, it is
> all available via github, and open for PR's:
> https://github.com/openjfx/hugo-site.
> 
> Thanks again,
> 
> - Johan
> 
> On Tue, Sep 18, 2018 at 3:02 PM Kevin Rushforth 
> wrote:
> 
>> I am pleased to announce the final release of JavaFX 11 as well as the
>> launch of a new OpenJFX community site at:
>> 
>> http://openjfx.io/
>> 
>> The GA version of JavaFX 11 is now live and can be downloaded by going
>> to the openjfx.io site or by accessing javafx modules from maven central
>> at openjfx:javafx-COMPONENT:11 (where COMPONENT is one of base,
>> graphics, controls, and so forth).
>> 
>> This is the first standalone release of JavaFX 11. It runs with JDK 11,
>> which is available as a release candidate now and will be shipped as a
>> GA version next week, or on JDK 10 (OpenJDK build only).
>> 
>> A big thank you to all who have contributed to OpenJFX make this release
>> possible! I especially thank Johan Vos, both for taking on the role as
>> Co-Lead of the OpenJFX Project and for the work that Gluon as done to
>> build and host the JavaFX 11 release.
>> 
>> I look forward to working with you all on JavaFX 12 and beyond.
>> 
>> -- Kevin
>> 
>> 



Re: JavaFX 11 is released

2018-09-18 Thread Johan Vos
Adding to what Kevin already said (huge thanks to Kevin and Oracle for all
they did), I want to thank everyone on this list for being part of this
release. The JavaFX 11 release is a huge milestone, and there are many
people who contributed, some of them who have been working with JavaFX from
day 1, some who just started working.

As for the site http://openjfx.io: this is something we created with Gluon,
but we really want it to be a community-organised site. Therefore, it is
all available via github, and open for PR's:
https://github.com/openjfx/hugo-site.

Thanks again,

- Johan

On Tue, Sep 18, 2018 at 3:02 PM Kevin Rushforth 
wrote:

> I am pleased to announce the final release of JavaFX 11 as well as the
> launch of a new OpenJFX community site at:
>
> http://openjfx.io/
>
> The GA version of JavaFX 11 is now live and can be downloaded by going
> to the openjfx.io site or by accessing javafx modules from maven central
> at openjfx:javafx-COMPONENT:11 (where COMPONENT is one of base,
> graphics, controls, and so forth).
>
> This is the first standalone release of JavaFX 11. It runs with JDK 11,
> which is available as a release candidate now and will be shipped as a
> GA version next week, or on JDK 10 (OpenJDK build only).
>
> A big thank you to all who have contributed to OpenJFX make this release
> possible! I especially thank Johan Vos, both for taking on the role as
> Co-Lead of the OpenJFX Project and for the work that Gluon as done to
> build and host the JavaFX 11 release.
>
> I look forward to working with you all on JavaFX 12 and beyond.
>
> -- Kevin
>
>


JavaFX 11 is released

2018-09-18 Thread Kevin Rushforth
I am pleased to announce the final release of JavaFX 11 as well as the 
launch of a new OpenJFX community site at:


http://openjfx.io/

The GA version of JavaFX 11 is now live and can be downloaded by going 
to the openjfx.io site or by accessing javafx modules from maven central 
at openjfx:javafx-COMPONENT:11 (where COMPONENT is one of base, 
graphics, controls, and so forth).


This is the first standalone release of JavaFX 11. It runs with JDK 11, 
which is available as a release candidate now and will be shipped as a 
GA version next week, or on JDK 10 (OpenJDK build only).


A big thank you to all who have contributed to OpenJFX make this release 
possible! I especially thank Johan Vos, both for taking on the role as 
Co-Lead of the OpenJFX Project and for the work that Gluon as done to 
build and host the JavaFX 11 release.


I look forward to working with you all on JavaFX 12 and beyond.

-- Kevin