repo: init

Only basic things for now, to make sure the JavaFX setup works.
This commit is contained in:
2025-09-25 21:47:02 +07:00
commit cfa487e99c
13 changed files with 493 additions and 0 deletions

View File

@ -0,0 +1,25 @@
package org.vibecoders.moongazer;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
public class App extends Application {
@Override
public void start(Stage stage) {
String javaVersion = System.getProperty("java.version");
String javafxVersion = System.getProperty("javafx.version");
Label l = new Label("Hello, JavaFX " + javafxVersion + ", running on Java " + javaVersion + ".");
Scene scene = new Scene(new StackPane(l), 640, 480);
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch();
}
}

View File

@ -0,0 +1,13 @@
/*
* This source file was generated by the Gradle 'init' task
*/
package org.vibecoders.moongazer;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class AppTest {
@Test void stub() {
assertTrue(true);
}
}