Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Efxclipse/Tutorials/Tutorial1"

(From creation to deployment)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Efxclipse}}
 +
 +
== From creation to deployment ==
 
<ol>
 
<ol>
<li>File > New > Project</li>
+
<li>File > New > Project<br/>
<li>Select the "JavaFX Project" entry</li>
+
[[Image:efxclipse_tut1_1.png]]
<li>Enter a project name and click "Finish". </li>
+
</li>
<li>Create a Java package in your new project.</li>
+
<li>Select the "JavaFX Project" entry<br/>
<li>Open the context menu on your package and select New > Other ... </li>
+
[[Image:efxclipse_tut1_2.png]]
<li>Select "JavaFX Main Class". </li>
+
</li>
<li>Enter a class name and click "Finish". </li>
+
<li>Enter a project name and click "Finish".<br/>
<li>Add some JavaFX code to the start method of your application.</li>
+
[[Image:efxclipse_tut1_3.png]]
<li>Set the selection on your application class and hit the "Run" toolbar item. </li>
+
</li>
<li>Open the build.fxbuild file and fill in the following fields:</li>
+
<li>Create a Java package in your new project.<br/>
<li>Click on the "ant build.xml and run" link in the build section of the editor.
+
[[Image:efxclipse_tut1_4.png]]
 +
</li>
 +
<li>Open the context menu on your package and select New > Other ... <br/>
 +
[[Image:efxclipse_tut1_5.png]]
 +
</li>
 +
<li>Select "JavaFX Main Class". <br/>
 +
[[Image:efxclipse_tut1_6.png]]
 +
</li>
 +
<li>Enter a class name and click "Finish". <br/>
 +
[[Image:efxclipse_tut1_7.png]]
 +
</li>
 +
<li>Add some JavaFX code to the start method of your application.<br/>
 +
[[Image:efxclipse_tut1_8.png]]
 +
</li>
 +
<li>Set the selection on your application class and hit the "Run" toolbar item. <br/>
 +
[[Image:efxclipse_tut1_9.png]]
 +
</li>
 +
<li>Open the build.fxbuild file and fill in the following fields:
 
<ul>
 
<ul>
 
<li>Vendor name</li>
 
<li>Vendor name</li>
 
<li>Application version</li>
 
<li>Application version</li>
 
</ul>
 
</ul>
Then, select the "Browse..." button next to the "Application class" entry.  
+
Then, select the "Browse..." button next to the "Application class" entry. <br/>
 +
[[Image:efxclipse_tut1_10.png]]
 +
</li>
 +
<li>Click on the "ant build.xml and run" link in the build section of the editor.<br/>
 +
[[Image:efxclipse_tut1_11.png]]
 +
</li>
 +
<li>Expand the folders in the "Package Explorer" and double click your jar file.<br/>
 +
[[Image:efxclipse_tut1_12.png]]
 
</li>
 
</li>
<li>Expand the folders in the "Package Explorer" and double click your jar file.</li>
 
 
</ol>
 
</ol>
 +
 +
 +
[[Efxclipse/Tutorials/Tutorial01v4.5.0 | From creation to deployment v4.5.0 (Mars)]]

Latest revision as of 12:57, 3 September 2015


From creation to deployment

  1. File > New > Project
    Efxclipse tut1 1.png
  2. Select the "JavaFX Project" entry
    Efxclipse tut1 2.png
  3. Enter a project name and click "Finish".
    Efxclipse tut1 3.png
  4. Create a Java package in your new project.
    Efxclipse tut1 4.png
  5. Open the context menu on your package and select New > Other ...
    Efxclipse tut1 5.png
  6. Select "JavaFX Main Class".
    Efxclipse tut1 6.png
  7. Enter a class name and click "Finish".
    Efxclipse tut1 7.png
  8. Add some JavaFX code to the start method of your application.
    Efxclipse tut1 8.png
  9. Set the selection on your application class and hit the "Run" toolbar item.
    Efxclipse tut1 9.png
  10. Open the build.fxbuild file and fill in the following fields:
    • Vendor name
    • Application version

    Then, select the "Browse..." button next to the "Application class" entry.
    Efxclipse tut1 10.png

  11. Click on the "ant build.xml and run" link in the build section of the editor.
    Efxclipse tut1 11.png
  12. Expand the folders in the "Package Explorer" and double click your jar file.
    Efxclipse tut1 12.png


From creation to deployment v4.5.0 (Mars)

Back to the top