When I try to setResizable
for my scene in javaFX application it doesn't work. I still can change window size. Here's the code for my test application:
@Override
public void start(Stage stage) throws Exception {
// TODO Auto-generated method stub
stage.setTitle("Test window");
stage.setWidth(300);
stage.setHeight(200);
stage.setResizable(false);
stage.show();
}
public static void main(String[] args) {
// TODO Auto-generated method stub
Application.launch(args);
}
Perhaps I missed something very simple because I am very new to JavaFX. Can anyone help me? I am using Eclipse 4.3 and JavaSDK 7u25 on Ubuntu 13.04 64bit