How can I display a new window in JavaFX 2.0? For example after button click action. I want both windows (the main window and the new window) to communicate each other.
Thx for help.
new Stage(new Scene(new Group(new Text(10,10, "my second window")))).show();
Communicating between two windows is similar as for any two objects in Java.
1.4m articles
1.4m replys
5 comments
57.0k users