Skip to content
Snippets Groups Projects
Commit ed18120f authored by aichinos's avatar aichinos
Browse files

ylimääräiset mainit pois

parent c0f994a3
No related branches found
No related tags found
No related merge requests found
package fxMMKurssit;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.fxml.FXMLLoader;
/**
* @author aichi
* @version 21.2.2025
*
*/
public class KurssienListaMain extends Application {
@Override
public void start(Stage primaryStage) {
try {
FXMLLoader ldr = new FXMLLoader(getClass().getResource("KurssienListaGUIView.fxml"));
final Pane root = ldr.load();
//final KurssienListaGUIController kurssienlistaCtrl = (KurssienListaGUIController) ldr.getController();
Scene scene = new Scene(root);
scene.getStylesheets().add(getClass().getResource("kurssienlista.css").toExternalForm());
primaryStage.setScene(scene);
primaryStage.setTitle("kurssienLista");
primaryStage.show();
} catch(Exception e) {
e.printStackTrace();
}
}
/**
* @param args Ei kaytossa
*/
public static void main(String[] args) {
launch(args);
}
}
\ No newline at end of file
package fxMMKurssit;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.fxml.FXMLLoader;
/**
* @author aichi
* @version 20.2.2025
*
*/
public class LisaaTapaaminenMain extends Application {
@Override
public void start(Stage primaryStage) {
try {
FXMLLoader ldr = new FXMLLoader(getClass().getResource("LisaaTapaaminenGUIView.fxml"));
final Pane root = ldr.load();
//final LisaaTapaaminenGUIController lisaatapaaminenCtrl = (LisaaTapaaminenGUIController) ldr.getController();
Scene scene = new Scene(root);
scene.getStylesheets().add(getClass().getResource("lisaatapaaminen.css").toExternalForm());
primaryStage.setScene(scene);
primaryStage.setTitle("lisaaTapaaminen");
primaryStage.show();
} catch(Exception e) {
e.printStackTrace();
}
}
/**
* @param args Ei kaytossa
*/
public static void main(String[] args) {
launch(args);
}
}
\ No newline at end of file
...@@ -47,7 +47,6 @@ public class MMKurssitMain extends Application { ...@@ -47,7 +47,6 @@ public class MMKurssitMain extends Application {
e.printStackTrace(); e.printStackTrace();
} }
///testi toimiiko tyo6-branch
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment