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

focus is not transfered properly onto the JButton(SwingSet2-JInternalFrame demo)

XMLWordPrintable

    • hopper
    • generic, x86, sparc
    • generic, solaris_8, windows_nt
    • Verified

      ===================================================
      JDK version : Hopper b07
      Tested OS : Solaris9 Sparc, Solaris8 IA, WindowsXP
      Tested Demo : SwingSet2
      ===================================================


      Focus is not got on JButton in JInternalFrame proprly, so clicking JButton twice to create a JInternal Frame.
      Testing the previous builds, this phenomenon is seen from b05.
      With Hopper b04 this is not seen and clicking once is needed to create a JInternal Frame.
      Also with Merlin FCS, this is not seen.


      To reproducible,

      1. Lanuch SwingSet2, then you can see JInternalFrames Demo as default.
      2. Click one of the JButton to create a JInternalFrame on the demo.
         - No JInternalFrame is created though the focus is got on the JButton.
      3. Click the same JButton again
         - JInternalFrame is created.
         - Focus is put on the new JInternalFrame.
      4. Click other JButton to create other JInternalFrame on the demo.
         - No JInternalFrame is created.
         - The focus is no more on the JInternalFrame created in step3.
      5. Click the same JButton again.
         - JInternalFrame is created.
         - Focus is put on the new JInternalFrame.

      With Hopper b04 or Merlin FCS a JinternalFrame is created in step2.


      Does Bug 4663580 mention the same problem?
      I'm not sure if it mentions or not, bug I put the ID to See Also.

            joutwatesunw Joshua Outwater (Inactive)
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: