-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
fx2.1
-
2.1.0b10
OpenJDK7
Ubuntu linux 10.04
Run code:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class StageXY extends Application {
@Override
public void start(final Stage stage) throws Exception {
Button b = new Button("fff");
VBox vb = new VBox();
Button b2 = new Button("ddd");
VBox vb2 = new VBox();
vb.getChildren().addAll(b);
vb2.getChildren().addAll(b2);
stage.setScene(new Scene(vb, 300, 300));
Stage stage2 = new Stage();
stage2.setScene(new Scene(vb2, 400, 400));
stage2.show();
stage.show();
stage.setX(800);
stage.setY(800);
stage2.setX(800);
stage2.setY(800);
}
public static void main(String[] args) {
launch(args);
}
}
Issue: I don't see stage2.
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class StageXY extends Application {
@Override
public void start(final Stage stage) throws Exception {
Button b = new Button("fff");
VBox vb = new VBox();
Button b2 = new Button("ddd");
VBox vb2 = new VBox();
vb.getChildren().addAll(b);
vb2.getChildren().addAll(b2);
stage.setScene(new Scene(vb, 300, 300));
Stage stage2 = new Stage();
stage2.setScene(new Scene(vb2, 400, 400));
stage2.show();
stage.show();
stage.setX(800);
stage.setY(800);
stage2.setX(800);
stage2.setY(800);
}
public static void main(String[] args) {
launch(args);
}
}
Issue: I don't see stage2.