java.lang.Object
edu.ntnu.idatt1002.g106.handballapp.finalprod.backend.SwitchScene

public class SwitchScene extends Object
this class is a static class used for switching between the different pages/scenes in the program
Author:
Gruppe 6
  • Constructor Details

    • SwitchScene

      public SwitchScene()
  • Method Details

    • switchScene

      public static void switchScene(String location, javafx.event.Event event) throws IOException
      a method that switches between screens/scenes in the application
      Parameters:
      location - the scene you want to switch to
      event - the event when the button was pressed
      Throws:
      IOException - when path not found