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

Enter Key for JComboBox DefaultCellEditor in JTable doesn't work (IllegalCompone

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • generic
    • generic

          Win32/Solaris, SwingSet2, JTable tab. Click a cell in 'Favorite
          Color' column to bring up a color choice popup, press 'Enter' to
          close it. Then press 'down' key again and the following exception
          will be thrown:
          java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
              at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1321)
              at java.awt.Component.getLocationOnScreen(Component.java:1295)
              at javax.swing.JPopupMenu.show(JPopupMenu.java:718)
              ...

      Reproducible for some time now, first reported in Java2D integration comment
      on 09.11.00.
      Still present on build b38.

      dmitri.trembovetski@eng 2000-10-26

            mdavidsosunw Mark Davidson (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: