-
Bug
-
Resolution: Fixed
-
P4
-
fx2.0
Setting a control with a Tooltip
public class Main extends Application{
@Override
public void start() {
Stage stage = new Stage();
stage.setTitle("Controls Functional testing");
stage.setWidth(500);
stage.setHeight(500);
final Group root = new Group();
Scene scene = new Scene(root);
TextBox txbox = new TextBox();
Tooltip tt1 = new Tooltip("text box tooltip");
txbox.setTooltip(tt1);
vb.getChildren().addAll(txbox);
root.getChildren().add(vb);
stage.setScene(scene);
stage.setVisible(true);
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Launcher.launch(Main.class, args);
}
}
public class Main extends Application{
@Override
public void start() {
Stage stage = new Stage();
stage.setTitle("Controls Functional testing");
stage.setWidth(500);
stage.setHeight(500);
final Group root = new Group();
Scene scene = new Scene(root);
TextBox txbox = new TextBox();
Tooltip tt1 = new Tooltip("text box tooltip");
txbox.setTooltip(tt1);
vb.getChildren().addAll(txbox);
root.getChildren().add(vb);
stage.setScene(scene);
stage.setVisible(true);
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Launcher.launch(Main.class, args);
}
}