Избавление от лишнего класса
This commit is contained in:
parent
0f2092b72c
commit
025940e303
@ -1,14 +0,0 @@
|
|||||||
package com.example.antiaircraftgun;
|
|
||||||
|
|
||||||
import javafx.fxml.FXML;
|
|
||||||
import javafx.scene.control.Label;
|
|
||||||
|
|
||||||
public class HelloController {
|
|
||||||
@FXML
|
|
||||||
private Label welcomeText;
|
|
||||||
|
|
||||||
@FXML
|
|
||||||
protected void onHelloButtonClick() {
|
|
||||||
welcomeText.setText("Welcome to JavaFX Application!");
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user