├── .classpath ├── .gitignore ├── .project ├── .settings └── org.eclipse.jdt.core.prefs ├── README.md ├── bin ├── application │ ├── Main.class │ ├── MainViewController.class │ └── application.css └── view │ └── MainView.fxml ├── build.fxbuild ├── calculator1.png └── src ├── application ├── Main.java ├── MainViewController.java └── application.css └── view └── MainView.fxml /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | JFXcalculator 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.xtext.ui.shared.xtextBuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.xtext.ui.shared.xtextNature 21 | org.eclipse.jdt.core.javanature 22 | 23 | 24 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 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 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # javaFX-Calculator 2 | ![alt tag](https://github.com/joiro/JavaFX-Calculator/blob/master/calculator1.png) 3 | -------------------------------------------------------------------------------- /bin/application/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joiro/javaFX-Calculator/ec31ad10838759ef11968de066da96b82ca38894/bin/application/Main.class -------------------------------------------------------------------------------- /bin/application/MainViewController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joiro/javaFX-Calculator/ec31ad10838759ef11968de066da96b82ca38894/bin/application/MainViewController.class -------------------------------------------------------------------------------- /bin/application/application.css: -------------------------------------------------------------------------------- 1 | /* JavaFX CSS - Leave this comment until you have at least create one rule which uses -fx-Property */ 2 | 3 | .text-area { 4 | -fx-text-fill: #ffffff; 5 | -fx-font-size: 25px; 6 | -fx-font-family: "Helvetica Neue Light"; 7 | } 8 | 9 | .text-area .content { 10 | -fx-background-color: grey; 11 | } 12 | 13 | .text-area *.text { 14 | -fx-text-alignment: right; 15 | } 16 | 17 | .button { 18 | -fx-background-radius: 0; 19 | -fx-background-color: #E0E0E0; 20 | -fx-font-family: "Helvetica Neue Light"; 21 | -fx-font-size: 21px; 22 | } 23 | 24 | .button:pressed { 25 | -fx-background-color: #B2B2B2; 26 | } 27 | 28 | .operators { 29 | -fx-background-color: #FE9340; 30 | -fx-text-fill: #ffffff; 31 | } 32 | 33 | .operators:pressed { 34 | -fx-background-color: darkorange; 35 | } 36 | 37 | .topOperators { 38 | -fx-background-color: #D6D6D6; 39 | } -------------------------------------------------------------------------------- /bin/view/MainView.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |