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

kestrel-linux-beta:height and width problem of JComboBox

    XMLWordPrintable

Details

    • x86
    • linux

    Description

      Tested with kestrel-linux-beta b06 on RedHat6.1 and 6.1update

      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b06)
      Java HotSpot(TM) Client VM (build 1.3.0beta-b04, mixed mode)


      When some JComboBoxes exist on a same Panel, their width and heights depends on
      a JComboBox which is first clicked and items are displayed.


      To reproduce,

      1. Compile SwingUtilitiesTest.java and UIManagerMenu.java
      2. Run SwingUtilitesTest
      3. You can see three ComboBoxes at the bottom of the panel.
      4. Click a ComboBox for font size, most narrow ComboBox and make the items dispayed.
      5. Click another ComboBox ,which is wider than a ComboBox for font size and make the items displayed.
         Then, You can see the width of the ComboBox is not proper
         and same as a ComboBox for font size, which is clicked before.

      Clicking a wider ComboBox first, the situation is same.


      This problem is not reproducible with Cricekt Linux.

      Attachments

        Activity

          People

            mbronsonsunw Mike Bronson (Inactive)
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: