Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).