Desktop application for random updating of the displayed number from 0 to 100. It is possible to start updating the number by timer at intervals: 1 second or 1.5 seconds.
- JDK: 18 and higher;
- Configured environment variable: JAVA_HOME.
All commands are executed in the console.
- Create a folder:
mkdir GitProjects
; - Go to the folder:
cd GitProjects
; - Cloning a repository:
git clone https://github.com/HogwartsSchoolOfMagic/Vertex.git
; - Go to the folder:
cd Vertex
; - Build project:
mvn clean install
; - After completing 5 points — a folder with the name “Target” will be created. We go into it:
go target
; - Inside there will be a JAR file named “vertex-1.0.0.jar”.
We execute the command:
java -jar vertex-1.0.0.jar
; - The GUI application will start (see: Application interface).
Bonus: instead of point 7, you can act differently. In the folder — target, there will also be a file: vertex.exe, which you can simply run. If you have any problems — write to me.
public class VertexApplication {
public static void main(String[] args) { // Used to launch the application.
Runnable runnable = VertexUtil::started;
invokeLater(runnable);
}
}
Copyright ©2022, Vladislav [SmithyVL] Kuznetsov