HEADS-UP: Updating minimum boot JDK to 11 for OpenJFX 12

2018-09-06 Thread Kevin Rushforth

As a heads-up, the following issue is in progress for OpenJFX 12:

https://bugs.openjdk.java.net/browse/JDK-8209966
https://github.com/javafxports/openjdk-jfx/pull/174

This will bump the minimum boot JDK version to JDK 11 for building and 
testing OpenJFX 12. Note that this will *not* affect OpenJFX 11 in any way.


This will enable a few follow-on issues to be done:

1. Stop redistributing Microsoft DLLs :: JDK-8210089 [1]
2. Remove old javafx.swing implementation :: JDK-8210092 [2]
3. Build with --source 11 and --target 11 :: JDK-8210093 [3]

as well making some additional cleanup of the build possible.

Before sending it out for formal review, I wanted to give everyone a 
heads-up that this is coming, so you can prepare for it.


For the timing of this, my plan was to wait until the final version of 
JDK 11 is released. We probably could do it a week or two ahead of the 
final release to unblock work on the follow-on issues, depending on what 
the rest of the people who build OpenJFX from source think.


-- Kevin

[1] https://bugs.openjdk.java.net/browse/JDK-8210089
[2] https://bugs.openjdk.java.net/browse/JDK-8210092
[3] https://bugs.openjdk.java.net/browse/JDK-8210093



SQLiteJava

2018-09-06 Thread AmnoJeeuw

I have a database table named company that looks like this:

snapshot2


When the application is asked to change the value of ArbolOne to ArbolOn,

db_snapshot1


the application generates the following schema represented on this 
message box:

db_snapshot3


which produces this Exception error:
db_snapshot4


I am attaching a snip of the code, in case you'd like to know it.
Having said that, I'd like to know if this is a bug or if I have not 
understand the information found in here 
.


Any help would be much appreciated.

--
ArbolOne
Using Fire Fox and Thunderbird.
Developing using Java, C/C++, HTM/CSS and JS as our platform has been exciting 
and most rewarding.
[ Sí ]

public class ToDataBase extends CenizaDatabaseManager {

/**
 * Update a record from the database
 * ..
 */
public void updateRecord(ArrayList 
relation)
throws SQLException {
@SuppressWarnings("unused")
MessageBox mb = new MessageBox();
try {
this.schema.delete(0, schema.length());
this.schema.append("UPDATE ");
this.schema.append(relation.get(2).toString()); // 
Table name
this.schema.append(" SET ");
this.schema.append(relation.get(3).toString()); // 
Column name
this.schema.append("=");
this.schema.append(relation.get(4)); // new data
this.schema.append(", ");
this.schema.append("WHERE id ");
this.schema.append(relation.get(1).toString()); // 
Primary Key

mb.Show("Debugging", "ToDataBase.updateRecord(...)", 
schema.toString());
System.out.println("and the \'schema\' is " + schema);

this.stmt.executeUpdate(this.schema.toString()); //<-- 
Exception ??

} catch (final /*SQL*/Exception e) {
mb.Show("Debugging", "Error message: " + 
e.getMessage());
}

}

}// End of Class


Re: which technology should give preference

2018-09-06 Thread John-Val Rose
FXML is “part” of JavaFX. It’s the format used to specify the UI of a JavaFX 
application.

Plus I don’t think this is the appropriate list to post such questions as it is 
intended as a forum to discuss the development of JavaFX itself.

> On 7 Sep 2018, at 09:47, AmnoJeeuw  wrote:
> 
> I am learning hands-on how to program using JavaFX and in the process doing 
> so I’ve come across FXML; which I find most interesting. Since the principal 
> is “Think hand held device first” -TH2DF, my intention is to port the my 
> future application to Android device, but I am concerned that there will be 
> too many issues when doing that. So, my question is, which technology should 
> give preference to, JavaFX or FXML?
> 
> Please, keep in mind that I am using a Windows 8.1 machine and Eclipse-Photon.
> 
> 
> Thanks in advance
> 
> -- 
> ArbolOne
> Using Fire Fox and Thunderbird.
> Developing using Java, C/C++, HTM/CSS and JS as our platform has been 
> exciting and most rewarding.
> [ Sí ]
> 


Re: which technology should give preference

2018-09-06 Thread John-Val Rose
Thanks Michael - your answer was way better than mine!

> On 7 Sep 2018, at 10:19, Michael Ennen  wrote:
> 
> Amno,
> 
> It is not a zero-sum choice. FXML is a part of JavaFX. FXML does not add
> anything, per se (in terms of nodes, controls, etc.) FXML allows for
> decoupling
> the specific UI configuration (in terms of what nodes contain which and
> their
> positions, etc.). Basically it is the most sustainable (in terms of
> increasing
> application size/scope) practice to use FXML for setting up the initial
> scenes
> (and perhaps also wiring event listeners)
> 
> In the Android world it is equivalent to using the Layout Editor (similar
> to FXML)
> versus making the scene programmatically by calling constructors, setting
> ownership,
> positions, constraints, etc. There is nothing that can be done using FXML
> that can't
> be done using pure Java.
> 
> Cheers,
> Michael Ennen
> 
>> On Thu, Sep 6, 2018 at 4:48 PM AmnoJeeuw  wrote:
>> 
>> I am learning hands-on how to program using JavaFX and in the process
>> doing so I’ve come across FXML; which I find most interesting. Since the
>> principal is “Think hand held device first” -TH2DF, my intention is to
>> port the my future application to Android device, but I am concerned
>> that there will be too many issues when doing that. So, my question is,
>> which technology should give preference to, JavaFX or FXML?
>> 
>> Please, keep in mind that I am using a Windows 8.1 machine and
>> Eclipse-Photon.
>> 
>> 
>> Thanks in advance
>> 
>> --
>> ArbolOne
>> Using Fire Fox and Thunderbird.
>> Developing using Java, C/C++, HTM/CSS and JS as our platform has been
>> exciting and most rewarding.
>> [ Sí ]
>> 
>> 


which technology should give preference

2018-09-06 Thread AmnoJeeuw
I am learning hands-on how to program using JavaFX and in the process 
doing so I’ve come across FXML; which I find most interesting. Since the 
principal is “Think hand held device first” -TH2DF, my intention is to 
port the my future application to Android device, but I am concerned 
that there will be too many issues when doing that. So, my question is, 
which technology should give preference to, JavaFX or FXML?


Please, keep in mind that I am using a Windows 8.1 machine and 
Eclipse-Photon.



Thanks in advance

--
ArbolOne
Using Fire Fox and Thunderbird.
Developing using Java, C/C++, HTM/CSS and JS as our platform has been exciting 
and most rewarding.
[ Sí ]



Re: which technology should give preference

2018-09-06 Thread Michael Ennen
Amno,

It is not a zero-sum choice. FXML is a part of JavaFX. FXML does not add
anything, per se (in terms of nodes, controls, etc.) FXML allows for
decoupling
the specific UI configuration (in terms of what nodes contain which and
their
positions, etc.). Basically it is the most sustainable (in terms of
increasing
application size/scope) practice to use FXML for setting up the initial
scenes
(and perhaps also wiring event listeners)

In the Android world it is equivalent to using the Layout Editor (similar
to FXML)
versus making the scene programmatically by calling constructors, setting
ownership,
positions, constraints, etc. There is nothing that can be done using FXML
that can't
be done using pure Java.

Cheers,
Michael Ennen

On Thu, Sep 6, 2018 at 4:48 PM AmnoJeeuw  wrote:

> I am learning hands-on how to program using JavaFX and in the process
> doing so I’ve come across FXML; which I find most interesting. Since the
> principal is “Think hand held device first” -TH2DF, my intention is to
> port the my future application to Android device, but I am concerned
> that there will be too many issues when doing that. So, my question is,
> which technology should give preference to, JavaFX or FXML?
>
> Please, keep in mind that I am using a Windows 8.1 machine and
> Eclipse-Photon.
>
>
> Thanks in advance
>
> --
> ArbolOne
> Using Fire Fox and Thunderbird.
> Developing using Java, C/C++, HTM/CSS and JS as our platform has been
> exciting and most rewarding.
> [ Sí ]
>
>


Re: SQLiteJava

2018-09-06 Thread Kevin Rushforth

[Bcc'ing the openjfx-dev list]

I see no indication that there is anything relating to JavaFX in your 
question, so there seems to be no need to include the openjfx-dev list.


-- Kevin


On 9/6/2018 3:21 PM, AmnoJeeuw wrote:

I have a database table named company that looks like this:

snapshot2


When the application is asked to change the value of ArbolOne to ArbolOn,

db_snapshot1


the application generates the following schema represented on this 
message box:

db_snapshot3


which produces this Exception error:
db_snapshot4


I am attaching a snip of the code, in case you'd like to know it.
Having said that, I'd like to know if this is a bug or if I have not 
understand the information found in here 
.


Any help would be much appreciated.





Re: which technology should give preference

2018-09-06 Thread Michael Ennen
No worries. Also I agree with Johan that it would be more appropriate
to ask questions like this on, say, Stack Overflow. As Johan mentioned
this list is for discussing the development of JavaFX itself (not the use of
it).

Cheers,
Michael Ennen

On Thu, Sep 6, 2018 at 5:22 PM John-Val Rose  wrote:

> Thanks Michael - your answer was way better than mine!
>
> > On 7 Sep 2018, at 10:19, Michael Ennen  wrote:
> >
> > Amno,
> >
> > It is not a zero-sum choice. FXML is a part of JavaFX. FXML does not add
> > anything, per se (in terms of nodes, controls, etc.) FXML allows for
> > decoupling
> > the specific UI configuration (in terms of what nodes contain which and
> > their
> > positions, etc.). Basically it is the most sustainable (in terms of
> > increasing
> > application size/scope) practice to use FXML for setting up the initial
> > scenes
> > (and perhaps also wiring event listeners)
> >
> > In the Android world it is equivalent to using the Layout Editor (similar
> > to FXML)
> > versus making the scene programmatically by calling constructors, setting
> > ownership,
> > positions, constraints, etc. There is nothing that can be done using FXML
> > that can't
> > be done using pure Java.
> >
> > Cheers,
> > Michael Ennen
> >
> >> On Thu, Sep 6, 2018 at 4:48 PM AmnoJeeuw  wrote:
> >>
> >> I am learning hands-on how to program using JavaFX and in the process
> >> doing so I’ve come across FXML; which I find most interesting. Since the
> >> principal is “Think hand held device first” -TH2DF, my intention is to
> >> port the my future application to Android device, but I am concerned
> >> that there will be too many issues when doing that. So, my question is,
> >> which technology should give preference to, JavaFX or FXML?
> >>
> >> Please, keep in mind that I am using a Windows 8.1 machine and
> >> Eclipse-Photon.
> >>
> >>
> >> Thanks in advance
> >>
> >> --
> >> ArbolOne
> >> Using Fire Fox and Thunderbird.
> >> Developing using Java, C/C++, HTM/CSS and JS as our platform has been
> >> exciting and most rewarding.
> >> [ Sí ]
> >>
> >>
>


Re: which technology should give preference

2018-09-06 Thread John-Val Rose
Yes, as I suggested too, this is probably not the appropriate forum to post 
such questions.

I tried to say this in an inoffensive way as possible because we are all human 
and make simple mistakes.

I wish Amno all the best with their JavaFX app and I would suggest they 
check-out the products of Gluon when it comes to porting the app to mobile.

Their URL is http://gluonhq.com

Graciously,

John-Val

> On 7 Sep 2018, at 10:22, John-Val Rose  wrote:
> 
> Thanks Michael - your answer was way better than mine!
> 
>> On 7 Sep 2018, at 10:19, Michael Ennen  wrote:
>> 
>> Amno,
>> 
>> It is not a zero-sum choice. FXML is a part of JavaFX. FXML does not add
>> anything, per se (in terms of nodes, controls, etc.) FXML allows for
>> decoupling
>> the specific UI configuration (in terms of what nodes contain which and
>> their
>> positions, etc.). Basically it is the most sustainable (in terms of
>> increasing
>> application size/scope) practice to use FXML for setting up the initial
>> scenes
>> (and perhaps also wiring event listeners)
>> 
>> In the Android world it is equivalent to using the Layout Editor (similar
>> to FXML)
>> versus making the scene programmatically by calling constructors, setting
>> ownership,
>> positions, constraints, etc. There is nothing that can be done using FXML
>> that can't
>> be done using pure Java.
>> 
>> Cheers,
>> Michael Ennen
>> 
>>> On Thu, Sep 6, 2018 at 4:48 PM AmnoJeeuw  wrote:
>>> 
>>> I am learning hands-on how to program using JavaFX and in the process
>>> doing so I’ve come across FXML; which I find most interesting. Since the
>>> principal is “Think hand held device first” -TH2DF, my intention is to
>>> port the my future application to Android device, but I am concerned
>>> that there will be too many issues when doing that. So, my question is,
>>> which technology should give preference to, JavaFX or FXML?
>>> 
>>> Please, keep in mind that I am using a Windows 8.1 machine and
>>> Eclipse-Photon.
>>> 
>>> 
>>> Thanks in advance
>>> 
>>> --
>>> ArbolOne
>>> Using Fire Fox and Thunderbird.
>>> Developing using Java, C/C++, HTM/CSS and JS as our platform has been
>>> exciting and most rewarding.
>>> [ Sí ]
>>> 
>>>