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

JComboBox popup window could be detached from the box

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.4, 1.2.0
    • client-libs
    • x86, sparc
    • solaris_2.6, windows_nt



      Name: diC59631 Date: 12/02/97


      Just start SwingSet example that comes with Swing
      preview code, select one of the combo boxes so that
      the popup list is shown, and then move the frame
      by selecting the title bar and dragging it. The
      combo box will move (being a component), while
      the popup window (being a window) will stay :-).
      This happens on other platforms as well.

      You should track the focus and hide the popup
      as soon as some other window receives it (check
      the behaviour of Windows combo box).
      (Review ID: 21173)
      ======================================================================

      nancy.schorr@eng 1997-12-12: The following information was sent in by Greg Hilton, Vignette Corporation <###@###.###>:

      On my Solaris system, both pulldown menus and combo box popup lists can become
      disjoint from the main window.

      Run the SwingSet demo - make sure there is another window behind the SwingSet
      window.
      Post the File menu by clicking on File - leave the menu up.
      Click on the window behind the SwingSet window to bring it to the front.
      The posted File menu stays on top of all windows.

      The same thing happens with the popup lists in the combo boxes.
      In addition, if you move the SwingSet window, the popup list window does not
      move with it.

      It would also be nice if the menus could be unposted by clicking anywhere on the
      screen as with native menus, but I can appreciate the difficulty with that.

            duke J. Duke
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: