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

JComboBox elements get forced into a scroll mode.

XMLWordPrintable

    • 1.3
    • sparc
    • solaris_8
    • Verified

      When a JComboBox is added to a JPanel, the elements of the ComboBox get forced into a scroll mode instead of the complete list being displayed. In order to select an element, one has to scroll, bring the item into view and then select. This is a bit inconvenient. Seems like the size of the ComboBox list is clipped to fit in the size of the panel. Is there a fix/workaround to make the complete list of elements appear without the scroll pane?

      Attached is an example to illustrate the problem.

      jocelyn.charbonneau@Eng 2000-12-11
      What we really want is the popup (or pull down) menu from the JComboBox to show
      outside a JDialog. As it stand, the JComboBox pull down menu will be clipped to
      a JDialog or JFrame interior boundary. Setting default light weight popup to false does not help, as one would expect.

      Note that on a PC running Windows, the behavior is as expected, that is if
      default light weight is false, the pull down window is shown outside the
      JDialog.

      [pf, 12/12/2000]
         To make our needs more clear: ShowMe TV 2.0 will be supported in
      Solaris 8, Solaris 8 updates, Solaris 9. It will rely in the Java
      which is part of the OS. Therefore, we need the problem fixed in
      all the versions of Java which go in these operating systems.

            mdavidsosunw Mark Davidson (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: