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"

(New page: # File > New > Project # Select the "JavaFX Project" entry # Enter a project name and click "Finish". # Create a Java package in your new project. # Open the context menu on your package ...)
 
Line 1: Line 1:
# File > New > Project
+
<ol>
# Select the "JavaFX Project" entry
+
<li>File > New > Project</li>
# Enter a project name and click "Finish".  
+
<li>Select the "JavaFX Project" entry</li>
# Create a Java package in your new project.
+
<li>Enter a project name and click "Finish". </li>
# Open the context menu on your package and select New > Other ...  
+
<li>Create a Java package in your new project.</li>
# Select "JavaFX Main Class".  
+
<li>Open the context menu on your package and select New > Other ... </li>
# Enter a class name and click "Finish".  
+
<li>Select "JavaFX Main Class". </li>
# Add some JavaFX code to the start method of your application.
+
<li>Enter a class name and click "Finish". </li>
# Set the selection on your application class and hit the "Run" toolbar item.  
+
<li>Add some JavaFX code to the start method of your application.</li>
# Open the build.fxbuild file and fill in the following fields:
+
<li>Set the selection on your application class and hit the "Run" toolbar item. </li>
 +
<li>Open the build.fxbuild file and fill in the following fields:</li>
 +
<li>Click on the "ant build.xml and run" link in the build section of the editor.
 +
<ul>
 +
<li>Vendor name</li>
 +
<li>Application version</li>
 +
</ul>
 +
Then, select the "Browse..." button next to the "Application class" entry.
 +
</li>
 +
<li>Expand the folders in the "Package Explorer" and double click your jar file.</li>
 +
</ol>

Revision as of 07:44, 26 July 2013

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

    Then, select the "Browse..." button next to the "Application class" entry.

  12. Expand the folders in the "Package Explorer" and double click your jar file.

Back to the top