File tree 7 files changed +66
-0
lines changed
7 files changed +66
-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" />
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
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <projectDescription >
3
+ <name >SpillProsjekt</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
+ /* JavaFX CSS - Leave this comment until you have at least create one rule which uses -fx-Property */
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 =" SpillProsjekt" />
5
+ <info />
6
+ </deploy >
7
+ <signjar />
8
+ </anttasks : AntTask >
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 ,800 ,600 );
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
+ /* 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