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

Not being able to focus TextArea inside TabbedPane


    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: fx2.0.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      Windows 7 - 64 bits
      jdk1.7.0_01 - 32 bits
      jfx 2.0.1 - 32 bits


      I have 5 tabs, each with a TextArea inside. I open the app, I select the TextArea on the first Tab, and I write, everything's fine. When I switch to the second tab I don't seem to be able to focus on the TextArea (mouse cursor is an arrow and if I click it doesn't do anything), unless I go to the top left corner of the TextArea. It's like there's this small square, inside which I can focus the TextArea. But on the rest of the TextArea's space, I can't focus it, hence I can't write. Please let me know if you need more detail or a screenshot or whatever.

      public class TabbedApp extends Application {
          Group root = new Group();
          TabPane tabPane = new TabPane();
          public void init() {
              // Prepare tab pane with set of tabs
              BorderPane borderPane = new BorderPane();
              tabPane.setPrefSize(400, 400);
              for(int i=1; i<=5; i++) {
                  final Tab t = new Tab("T" + i);
                  TextArea ta = new TextArea();
          public void start(Stage primaryStage) throws Exception {
              primaryStage.setScene(new Scene(root));
           public static void main(String[] args) {


          Issue Links



              • Assignee:
                leifs Leif Samuelsson (Inactive)
                ascuccimajfx Alvaro Scuccimarra (Inactive)
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: