LabWork1 PIbd-21 Zacharchenko #1

Merged
eegov merged 5 commits from LabWork1 into master 2022-10-14 08:52:44 +04:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 088578d34c - Show all commits

View File

@ -69,7 +69,7 @@
<!-- Default configuration for running with: mvn clean javafx:run -->
<id>default-cli</id>
<configuration>
<mainClass>com.example.doubledeckerbus/com.example.doubledeckerbus.FormBus
<mainClass>com.example.doubledeckerbus/com.example.doubledeckerbus.Form
</mainClass>
<launcher>app</launcher>
<jlinkZipName>app</jlinkZipName>

View File

@ -7,10 +7,10 @@ import javafx.stage.Stage;
import java.io.IOException;
public class FormBus extends Application {
public class Form extends Application {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(FormBus.class.getResource("hello-view.fxml"));
FXMLLoader fxmlLoader = new FXMLLoader(Form.class.getResource("hello-view.fxml"));
Scene scene = new Scene(fxmlLoader.load());
stage.setTitle("DoubleDeckerBus");
stage.setScene(scene);