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

Empty JComboBox drop-down list is unexpectedly high

XMLWordPrintable

    • beta
    • generic
    • generic



      Name: iaR10016 Date: 04/09/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b46, JDK1.4.2-b28
      Platforms: all

      Empty JComboBox drop-down list is unexpectedly high.

      The following test example creates a JFrame with empty JCombobox:

      --------- test.java ---------
      import javax.swing.*;

      public class test {
          public static void main(String[] args) {
            JFrame frame = new JFrame("JComboBox Test");
            frame.getContentPane().add(new JComboBox());
            frame.setSize(new java.awt.Dimension(400, 50));
            frame.setVisible(true);
           }
      }
      -----------------------------

      Please, run the test and click JCombobox button to reproduce the failure.

      This bug affects JCK1.5-runtime (b15) interactive test
      api/javax_swing/interactive/JComboBoxTests.html#JComboBox[JComboBoxTest0010].

      Specific machine info:
      ======================
      Hostname: linux-5
      OS: RedHat Linux 9.0 (GNOME)

      ======================================================================

            kizune Alexander Zuev
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: