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

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx1.2
    • Fix Version/s: fx1.2
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: