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

SwingSet: PaintFocus checkbox option is not working in JButton, JRadioButton, JT

    XMLWordPrintable

    Details

    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      generic
    • OS:
      generic

      Description

      Bug Info:
      ---------
      PaintFocus option is not working in JButton,JRadioButton,JToggleButton,JCheckbox demos icon in SwingSet application ($JAVA_HOME/demo/jfc/SwingSet2/) with motif and GTK look & feels by using Alt -F key.


      Jdk Info:
      ---------
      java version "1.5.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63)
      Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode, sharing)


      Steps to reproduce:
      -------------------
      1. Enter the following command in the console.

       ${JAVA_HOME}/bin/java -jar ../demo/jfc/SwingSet2/*.jar

      2. After Opening SwingSet application then click on JButton,JRadioButton,JToggleButton,JCheckbox demos icon.

      3. Click on Look & Feel menu and then select any other look & feel (Motif or GTK ).

      4. Press Alt -F key.


      Expected Behavior:
      ------------------
       The PaintFocus checkbox option should be either on or off state.


      Actual Behavior:
      ----------------
       File menu has been opend.
       

      Additional Info :
      -----------------

      1. It fails in all platforms (Solaris/Linux/Windows)

      2. It fails from tiger b24, it is workig fine in b21 and 1.4.2_05-b04.

      3. Java Look & Feel is OK.Motif and GTK Look & Feels have the problem.


      ###@###.### 2004-08-26

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: