File tree 10 files changed +100
-0
lines changed
10 files changed +100
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <classpath >
3
+ <classpathentry kind =" src" path =" src" />
4
+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8" />
5
+ <classpathentry kind =" con" path =" org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER" />
6
+ <classpathentry kind =" output" path =" bin" />
7
+ </classpath >
Original file line number Diff line number Diff line change
1
+ /bin /
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <projectDescription >
3
+ <name >Calculator</name >
4
+ <comment ></comment >
5
+ <projects >
6
+ </projects >
7
+ <buildSpec >
8
+ <buildCommand >
9
+ <name >org.eclipse.jdt.core.javabuilder</name >
10
+ <arguments >
11
+ </arguments >
12
+ </buildCommand >
13
+ <buildCommand >
14
+ <name >org.eclipse.xtext.ui.shared.xtextBuilder</name >
15
+ <arguments >
16
+ </arguments >
17
+ </buildCommand >
18
+ </buildSpec >
19
+ <natures >
20
+ <nature >org.eclipse.xtext.ui.shared.xtextNature</nature >
21
+ <nature >org.eclipse.jdt.core.javanature</nature >
22
+ </natures >
23
+ </projectDescription >
Original file line number Diff line number Diff line change
1
+ eclipse.preferences.version =1
2
+ org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode =enabled
3
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.8
4
+ org.eclipse.jdt.core.compiler.codegen.unusedLocal =preserve
5
+ org.eclipse.jdt.core.compiler.compliance =1.8
6
+ org.eclipse.jdt.core.compiler.debug.lineNumber =generate
7
+ org.eclipse.jdt.core.compiler.debug.localVariable =generate
8
+ org.eclipse.jdt.core.compiler.debug.sourceFile =generate
9
+ org.eclipse.jdt.core.compiler.problem.assertIdentifier =error
10
+ org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
11
+ org.eclipse.jdt.core.compiler.source =1.8
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" ASCII" ?>
2
+ <anttasks : AntTask xmi : version =" 2.0" xmlns : xmi =" http://www.omg.org/XMI" xmlns : anttasks =" http://org.eclipse.fx.ide.jdt/1.0" buildDirectory =" ${project}/build" >
3
+ <deploy >
4
+ <application name =" Calculator" />
5
+ <info />
6
+ </deploy >
7
+ <signjar />
8
+ </anttasks : AntTask >
Original file line number Diff line number Diff line change
1
+ package application ;
2
+
3
+ public class Controller {
4
+
5
+ }
Original file line number Diff line number Diff line change
1
+ package application ;
2
+
3
+ import javafx .application .Application ;
4
+ import javafx .stage .Stage ;
5
+ import javafx .scene .Scene ;
6
+ import javafx .scene .layout .BorderPane ;
7
+
8
+
9
+ public class Main extends Application {
10
+ @ Override
11
+ public void start (Stage primaryStage ) {
12
+ try {
13
+ BorderPane root = new BorderPane ();
14
+ Scene scene = new Scene (root ,400 ,400 );
15
+ scene .getStylesheets ().add (getClass ().getResource ("application.css" ).toExternalForm ());
16
+ primaryStage .setScene (scene );
17
+ primaryStage .show ();
18
+ } catch (Exception e ) {
19
+ e .printStackTrace ();
20
+ }
21
+ }
22
+
23
+ public static void main (String [] args ) {
24
+ launch (args );
25
+ }
26
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <?import javafx .scene.layout.AnchorPane?>
4
+
5
+ <AnchorPane xmlns : fx =" http://javafx.com/fxml/1" >
6
+ <!-- TODO Add Nodes -->
7
+ </AnchorPane >
8
+
9
+ <VBox fx : controller =" application.Controller" xmlns : fx =" http://javafx.com/fml" >
10
+ <StackPane alignment =" CENTER" >
11
+ <Rectangle fill =" TRANSPARENT" stroke =" GRAY" width =" 250" ></Rectangle >
12
+ </StackPane >
13
+ </VBox >
Original file line number Diff line number Diff line change
1
+ package application ;
2
+
3
+ public class Model {
4
+
5
+ }
Original file line number Diff line number Diff line change
1
+ /* JavaFX CSS - Leave this comment until you have at least create one rule which uses -fx-Property */
You can’t perform that action at this time.
0 commit comments