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.
Difference between revisions of "Efxclipse/Tutorials/Tutorial1"
(→From creation to deployment) |
|||
Line 1: | Line 1: | ||
+ | <css> | ||
+ | .mw-code { | ||
+ | background-color: #fafafa; | ||
+ | padding: 20px; | ||
+ | border-color: #ddd; | ||
+ | border-width: 3px; | ||
+ | border-style: solid; | ||
+ | border-radius: 5px; | ||
+ | margin-left: 10px; | ||
+ | margin-right: 10px; | ||
+ | overflow-x: auto; | ||
+ | } | ||
+ | |||
+ | .mw-headline { | ||
+ | font-family: Helvetica Neue,Helvetica,Arial,sans-serif; | ||
+ | color: rgb(51, 51, 51); | ||
+ | } | ||
+ | |||
+ | p { | ||
+ | font-family: Helvetica Neue,Helvetica,Arial,sans-serif; | ||
+ | text-align: justify; | ||
+ | } | ||
+ | |||
+ | h1 { | ||
+ | border-bottom-color: rgb(238, 238, 238); | ||
+ | font-weight: bold; | ||
+ | padding-bottom: 17px; | ||
+ | font-size: 30px; | ||
+ | line-height: 36px; | ||
+ | } | ||
+ | |||
+ | h2 { | ||
+ | border-bottom-color: rgb(238, 238, 238); | ||
+ | padding-bottom: 12px; | ||
+ | font-weight: bold; | ||
+ | font-size: 24px; | ||
+ | line-height: 36px; | ||
+ | } | ||
+ | |||
+ | h3 { | ||
+ | border-bottom-width: 1px; | ||
+ | border-bottom-style: solid; | ||
+ | border-bottom-color: rgb(238, 238, 238); | ||
+ | padding-bottom: 8px; | ||
+ | font-size: 18px; | ||
+ | line-height: 27px; | ||
+ | } | ||
+ | |||
+ | h4 { | ||
+ | font-size: 14px; | ||
+ | } | ||
+ | |||
+ | h5 { | ||
+ | font-size: 12px; | ||
+ | } | ||
+ | |||
+ | h6 { | ||
+ | font-size: 11px; | ||
+ | color: #EBEBEB; | ||
+ | text-transform: uppercase; | ||
+ | } | ||
+ | |||
+ | a { | ||
+ | color: rgb(0, 105, 214); | ||
+ | font-family: Helvetica Neue,Helvetica,Arial,sans-serif; | ||
+ | } | ||
+ | |||
+ | a:visited { | ||
+ | color: rgb(0, 105, 214); | ||
+ | } | ||
+ | </css> | ||
== From creation to deployment == | == From creation to deployment == | ||
<ol> | <ol> |
Revision as of 14:58, 7 December 2013
From creation to deployment
- 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 and select New > Other ...
- Select "JavaFX Main Class".
- Enter a class name and click "Finish".
- Add some JavaFX code to the start method of your application.
- Set the selection on your application class and hit the "Run" toolbar item.
- 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.
- Click on the "ant build.xml and run" link in the build section of the editor.
- Expand the folders in the "Package Explorer" and double click your jar file.