Skip to content

Commit

Permalink
Add package view and fxml file for busReservation
Browse files Browse the repository at this point in the history
  • Loading branch information
codeurzebs committed Nov 3, 2023
1 parent 7fca260 commit d194e53
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.codeurzebs.busreservationjavafx.controllers;

import javafx.fxml.FXML;
import javafx.scene.control.Label;

public class LoginView {
@FXML
private Label welcomeText;

@FXML
protected void onHelloButtonClick() {
welcomeText.setText("Welcome to JavaFX Application!");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
public class MainReservationBus {

public static void main(String[] args) {
// print hello world
System.out.println("Hello World!");
Scanner lire = new Scanner(System.in);
Map<String, List<String>> manifestes = new HashMap<>();
List<Reservation> reservations = new ArrayList<>();
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.codeurzebs.busreservationjavafx.BusmanagementView"
prefHeight="400.0" prefWidth="600.0">

</AnchorPane>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.codeurzebs.busreservationjavafx.DashboardView"
prefHeight="400.0" prefWidth="600.0">

</AnchorPane>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.codeurzebs.busreservationjavafx.DrivermanagementView"
prefHeight="400.0" prefWidth="600.0">

</AnchorPane>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.codeurzebs.busreservationjavafx.MapView"
prefHeight="400.0" prefWidth="600.0">

</AnchorPane>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.codeurzebs.busreservationjavafx.RoutemanagementView"
prefHeight="400.0" prefWidth="600.0">

</AnchorPane>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.codeurzebs.busreservationjavafx.StatisticsView"
prefHeight="400.0" prefWidth="600.0">

</AnchorPane>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.codeurzebs.busreservationjavafx.StudentreservationView"
prefHeight="400.0" prefWidth="600.0">

</AnchorPane>

0 comments on commit d194e53

Please sign in to comment.