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

Loosing Focus upon clicking button in pop up window.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.1_02
    • 1.4.1, 1.4.1_01
    • client-libs
    • None
    • 02
    • x86, sparc
    • linux, solaris_8

        We have a JApplet with JPanel having JTabbedPanes. Within these JTabbedPane we have JTextField and JButton. Upon entering no data into the JTextField and
        thereafter clicking the JButton, we are validating the data in the JTextField and showing the ERROR message using JOptionPane (a pop up window). If user clicks on "OK" option we loose the FOCUS. We even tried using requestFocus() methods to redirect the FOCUS. However, same code works with versions prior to JDK 1.4 with change in package name to make use of SWING 1.0.3 API.

        Please untar the attached FocusBug.tar and follow the instructions in the README file to recreate the bug.

        I have submitted a same bug via external site. The bug review id assigned to that is 165473. However, we have been asked to submit the bug via internal bugTraq for faster response and the because of the fact that there is no way to provide the sample programs once you submit the bug via external site till we get any response. Please look into it asap.

              dmikhalksunw Denis Mikhalkin (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: