Re: Launching JavaFX apps

2014-02-12 Thread David DeHaven
Use of JavaFX-Class-Path is supported but highly discouraged as it leads to ClassLoader juggling, it was required when there was no SE launcher support for JavaFX. It is only supported for backward compatibility, new applications should NOT use it. Either JavaFX-Application-Class or Main-Class

Re: Launching JavaFX apps

2014-02-12 Thread Florian Brunner
Could someone elaborate on this? Thanks! -Florian Am Samstag, 18. Januar 2014, 13.27:07 schrieb Florian Brunner: > Hi Kevin, > > Thanks for this clarifiacation! I'm also interested in this kind of > information as I'm in the process of upgrading Drombler FX to JavaFX 8 and > Drombler FX comes

Re: Launching JavaFX Apps with Java 8

2014-01-23 Thread Scott Palmer
Interesting.. but the example that I saw after following the link to RT12169 call launch at least. This issue happens without calling launch on the application class. That doesn't make much sense to me, since I wouldn't even expect the Platform thread to be running at that point. Scott On Thu,

Re: Launching JavaFX Apps with Java 8

2014-01-23 Thread Alexander Kouznetsov
I would expect the same. However, there are bugs already filed on this: https://javafx-jira.kenai.com/browse/RT-19863 Best regards, Alexander Kouznetsov (408) 276-0387 On 23 янв 2014 17:31, Scott Palmer wrote: For me it prints the "Hi mom!" message and hangs. Since there is no showing Stag

Launching JavaFX Apps with Java 8

2014-01-23 Thread Scott Palmer
Since the Java 8 launcher now calls main(Strin []args]) if present, what is the expected behaviour of this code?: import javafx.application.Application; import javafx.stage.Stage; public class Main extends Application { public static void main(String [] args) { System.out.println("Hi

Re: Launching JavaFX apps

2014-01-18 Thread Florian Brunner
Hi Kevin, Thanks for this clarifiacation! I'm also interested in this kind of information as I'm in the process of upgrading Drombler FX to JavaFX 8 and Drombler FX comes with a custom Maven Plugin, which makes sure the application can start. Another related question: While the Ant task for Ja

Re: Launching JavaFX apps

2014-01-15 Thread Scott Palmer
Yes that too.. Sorry.. there were many points in my email and I misunderstood which you were referring to. I will file the bug with NB regarding the default comments in a JavaFX project. My other comment was referring to the launcher.exe that JavaFX packager uses and that is of course a JavaFX is

Re: Launching JavaFX apps

2014-01-15 Thread Kevin Rushforth
I'll check, but I would be surprised to find this comment insertion code in FX. I'm almost certain it is in the JavaFX project code in NetBeans. -- Kevin Scott Palmer wrote: Thanks. I'm participating in NetCat 8.0 so I'm well aware of that link :-). But this doesn't appear to be a NetBeans

Re: Launching JavaFX apps

2014-01-15 Thread Alexander Kouznetsov
Scott, I didn't get that. Are you saying that main() method javadoc is correct? Best regards, Alexander Kouznetsov (408) 276-0387 On 15 янв 2014 16:40, Scott Palmer wrote: Thanks. I'm participating in NetCat 8.0 so I'm well aware of that link :-). But this doesn't appear to be a NetBeans iss

Re: Launching JavaFX apps

2014-01-15 Thread Scott Palmer
Thanks. I'm participating in NetCat 8.0 so I'm well aware of that link :-). But this doesn't appear to be a NetBeans issue. Inclusion of metadata into the launcher stub is not implemented in the javafxpackager command line tool or ant task as far as I can tell. (I'm using the gradle plugin mainl

Re: Launching JavaFX apps

2014-01-15 Thread Alexander Kouznetsov
Here is the link to file a bug on NetBeans: http://netbeans.org/bugzilla/enter_bug.cgi Best regards, Alexander Kouznetsov (408) 276-0387 On 8 янв 2014 18:45, Kevin Rushforth wrote: So yes, it does seem that Netbeans should modify the wording of their javadoc comment for the main() method of

Re: Launching JavaFX apps

2014-01-08 Thread Kevin Rushforth
Hi Scott, The Java 8 launcher has been modified to recognize JavaFX applications -- that is, classes that extend javafx.application.Application -- and launch them directly by calling into the JavaFX launcher code. See JDK-8001533 . This is why

Launching JavaFX apps

2014-01-08 Thread Scott Palmer
Based on the discussion I saw in the comments for RT-34236 I discovered that using com.javafx.main.Main is not the way JavaFX 8 is supposed to work. There are comments that read, "...making sure their Application class has a main that calls launcher(String[] args)." This seems to imply that a main