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

REGRESSION : Pressing tab to transfer the focus from one component to another shows value of getComponentAfter( ) & getFirstComponent()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • fx1.2
    • fx1.2
    • javafx
    • None
    • window vista home premium , jdk6u12 , maria 682 .

    Description

      I have a textbox & the slider. When the stage is visible , i click on the slider to rotate the texbox. When i press tab key from transfer the focus from slider to textbox. i see following debug value on the console .
      --------------------------------------------
      getComponentAfter null
      getFirstComponent null

      ---------------------------------------------

      ------ TestCase -----
      import javafx.scene.control.*;
      import javafx.scene.*;
      import javafx.stage.*;
      import javafx.ext.swing.SwingSlider;


      var rotateSlider :SwingSlider = SwingSlider {
      minimum: 0
      maximum: 360
      value: 0
      vertical: false
      }

      var t1 : TextBox = TextBox {

           translateX : 40
           translateY : 40
           text: "Hello World"
           columns: 12
           selectOnFocus: true
           rotate : bind rotateSlider.value
       }


      Stage {
           scene: Scene {
               content: [rotateSlider ,t1 ]
           }
      }
      -------------------------

      i observed the same both on vista & ubundu.

      Attachments

        Activity

          People

            rbair Richard Bair (Inactive)
            lpremkumajfx Lawrence Premkumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: