Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public class RedView {
  2.  
  3. @FXML
  4. private Button button2;
  5.  
  6. @FXML
  7. private Button button1;
  8. private String url;
  9.  
  10. ...
  11.  
  12. @FXML
  13. public void handleButton1Action() throws IOException {
  14. FXMLLoader loader = new FXMLLoader(MidiCCCGuiController.class.getResource("MidiCCCGui.fxml"));
  15. Parent root = loader.load();
  16.  
  17. MidiCCCGuiController control = loader.getController();
  18. control.setText("redview");
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement