mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
16 lines
318 B
Java
16 lines
318 B
Java
import javafx.fxml.FXML;
|
|
import javafx.scene.control.Label;
|
|
import javafx.scene.control.TextField;
|
|
import javafx.scene.layout.VBox;
|
|
|
|
|
|
public class _CustomVBox extends VBox {
|
|
@FXML
|
|
private TextField tf;
|
|
@FXML
|
|
private Label lab1;
|
|
@FXML
|
|
void myMethod(){
|
|
lab1.setText(tf.getText());
|
|
}
|
|
} |