Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8111474

Tooltip doesn't appear when hovering over standard controls.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Environment:

      Description

      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);
          }

      }

        Attachments

          Activity

            People

            • Assignee:
              psomashe Parvathi Somashekar (Inactive)
              Reporter:
              cdea Carl Dea
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: