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

JPasswordField and JTextField hide caret after setEnabled() , and setEditable() calls

XMLWordPrintable

    • Fix Understood
    • b00
    • generic

      Test Swing_AllComponents/Manual/LAFTests/JPasswordFieldLAFTest and Swing_AllComponents/Manual/LAFTests/JTextFieldLAFTest fail due to caret is hidden after enabling, setting selection bounds and setting caret position. Small example source code in attachment. Look at CaretTest.java

        1. CaretTest.java
          2 kB
          Alexander Popov
        2. Test8011005.java
          1 kB
          Sergey Malenkov

            ampopov Alexander Popov (Inactive)
            ampopov Alexander Popov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: