Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdecker-mobilecomputing/java_langeberechnung
Two Java programs (Desktop programs, no Android apps!) showing how to perform a long calculation in a background thread.
https://github.com/mdecker-mobilecomputing/java_langeberechnung
java javafx swing
Last synced: 5 days ago
JSON representation
Two Java programs (Desktop programs, no Android apps!) showing how to perform a long calculation in a background thread.
- Host: GitHub
- URL: https://github.com/mdecker-mobilecomputing/java_langeberechnung
- Owner: MDecker-MobileComputing
- License: bsd-3-clause
- Created: 2018-10-13T19:30:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-12T11:48:46.000Z (9 months ago)
- Last Synced: 2024-04-13T23:08:58.017Z (7 months ago)
- Topics: java, javafx, swing
- Language: Java
- Size: 50.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Lange Berechnung mit Swing und JavaFX #
Two Java programs (Desktop programs, no Android apps!) showing how to perform a long calculation in a background thread.
The programs are using different UI libraries, namely [Swing](https://docs.oracle.com/javase/tutorial/uiswing/start/index.html)
and [JavaFX](https://docs.oracle.com/javafx/2/overview/jfxpub-overview.htm).Identifiers (names for classes, variables and methods), (JavaDoc) comments and UI texts are in German only.
----
## Compiling ##
Open a shell (e.g. DOS Box or Shell) in the folder with the Java file. Then enter the following command:
````
javac *.java
````This should compile both variants of the application (namely one with *Swing* and one with *JavaFX*).
----
## Swing version ##
Commands to run the application:
````
java LangeBerechnungMitSwing
````
![Screenshot Swing](screenshot_Swing.png)
----
## JavaFX version ##
Commands to run the application:
````
java LangeBerechnungMitJavaFX
````
![Screenshot JavaFX](screenshot_JavaFX.png)
----
## License ##
See the [LICENSE file](LICENSE.md) for license rights and limitations (BSD 3-Clause License).