Source code for JavaFX UI controls now available on openjfx

Jonathan Giles jonathan.giles at oracle.com
Sat Dec 3 02:07:05 PST 2011


With regards as to whether the SwingView feature you've developed is 
considered a control or not: my unofficial means of classifying would 
say that unless it extends from, or somehow makes use of the 
javafx.scene.control.Control class, it is not a control. If this isn't 
the case (I haven't looked myself, but my guess is that it isn't), then 
I'd say that this feature is not destined to be included in the 
ui-controls project. Of course, it isn't my place to say this with any 
conviction, I'm just saying what my interpretation is.

With regard to the licensing (and note that I am very much not a 
lawyer), I just loaded up some of the source files from the ui-controls 
project, and it appears to me that everything is licensed as GPL plus 
classpath already. For example, here is the full header for Control.java 
with the relevant section made bold:

/*
  * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights 
reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation. *Oracle designates this
  * particular file as subject to the "Classpath" exception as provided
  * by Oracle in the LICENSE file that accompanied this code.*
  *
  * This code is distributed in the hope that it will be useful, but WITHOUT
  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * version 2 for more details (a copy is included in the LICENSE file that
  * accompanied this code).
  *
  * You should have received a copy of the GNU General Public License 
version
  * 2 along with this work; if not, write to the Free Software Foundation,
  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  *
  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */

Referring to the LICENSE file in the root folder of openjfx, I see at 
line 326 mention of the classpath exception.

Hope that helps.
-- Jonathan

>
>
> Yeah, I was about to prepare a webrev before getting asleep yesterday :)
>
> I think it's a control, after all is supposed to be used to show Swing 
> widgets :)
>
> Btw, is there any reason why the code is GPL only and not LGPL or GPL 
> plus Classpath as the JDK?
>
> It seems weird for me since is a library (we did the same "mistakes" 
> for ThinkgsFX btw).
>
> Cheers,
> Mario
> ---
> pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
> Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF
>
> http://www.ladybug-studio.com
>
> IcedRobot: www.icedrobot.org
> Proud GNU Classpath developer: http://www.classpath.org/
> Read About us at: http://planet.classpath.org
> OpenJDK: http://openjdk.java.net/projects/caciocavallo/
>
> Please, support open standards:
> http://endsoftpatents.org/
>
>
>


More information about the openjfx-dev mailing list