Hello,

What you did was run against the jar that you built. The wiki describes how you would run using the code from the IDE.

> Here is some sample code that was hooked up to use the base, graphics and controls projects.

I didn't describe the different mechanisms that the IDE's use to manage dependencies. In NetBeans, my sample project (Trix4) needed base, graphics and controls so I added the dependencies to it. I verified that I could set break points in NetBeans and they were hit when I ran. I didn't verify that this still works, but I'm betting it still does.

Steve

On 2014-10-02, 1:40 AM, Cirujano Cuesta, Diego wrote:
Hi all!

In the documentation of using an IDE to develop .... There is one part not 
clear for me.

https://wiki.openjdk.java.net/display/OpenJFX/Using+an+IDE

I would like to explain what I did. The part not clear for me is: "Using Netbeans"->"Run 
sample code". I didn't do it as the wiki said because I did not understand it so I made my own project( I 
don't know where is Trix4 :S). The project I made was by New Project -> Java Application (NOT JavaFX -> 
JavaFX Application, because the project I had to test was a JavaFX Application and as I removed jfxrt.jar there 
were dependency problems). After creating the project, I added to the project the compiled jfxrt.jar in the 
project properties->Libraries dependencies. At this moment I was able to compile the test project, run it 
and debug it.

Cheers,
Diego Cirujano

Reply via email to