Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RedView {
- @FXML
- private Button button2;
- @FXML
- private Button button1;
- private String url;
- ...
- @FXML
- public void handleButton1Action() throws IOException {
- FXMLLoader loader = new FXMLLoader(MidiCCCGuiController.class.getResource("MidiCCCGui.fxml"));
- Parent root = loader.load();
- MidiCCCGuiController control = loader.getController();
- control.setText("redview");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement