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

"Template File" JComboBox functionally failed.

    • rc1
    • generic, x86, sparc
    • generic, solaris_8
    • Verified


      Test Bundles : j2sdk-1_4_0-beta3-bin-b81-solsparc-27_sep_2001.sh
                     j2sdk-1_4_0-beta3-bin-b81-win-27_sep_2001.exe

      Test Enviroment: Solaris8/sun4u, win2000/pro, win98se, korean

      "Template File" JComboBox functionally failed. When user selects the JComboBox item other than default item "Standard(IE & Navigator) for Windowss...", then the item menu cannot be closed after selected the new item. User has to click either outside area of the item menu or default item. And user cannot select the default item anymore after selected none_default item.
      The following messages are displayed when user selects none_default items :

      at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1164)
      at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1212)
      at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561)
      at sun.plugin.converter.gui.TemplateFileChoice.select(ConverterGUI.java:893)
      at sun.plugin.converter.gui.ConverterGUI.itemStateChanged(ConverterGUI.java:620)

      ----
      How to reproduce :

      1) install j2sdk-1_4_0-beta3-bin-b81-solsparc-27_sep_2001.sh
      2) type "% HtmlConverter -gui" to run Java(TM) Plug-in Html Converter
      3) At the middle of the application, you will see "Template File" JComboBox.
      4) select one of the following items :
             Extemnded (Standard + All Browsers/Platforms)
             Internet Explorer for Windows & Solaris Only
             Navigator for Windows Only

      5) Then the item menu cannot be closed unless you have to click either outside area of the item menu or default item
      6) then selecte default item "Standard(IE & Navigator) for Windowss...", but the default item cannot be selected.
        

          [JDK-4509815] "Template File" JComboBox functionally failed.

          BT2:CONVERTED DATA

          BugTraq+ Release Management Values

          COMMIT TO FIX:
          generic

          FIXED IN:
          merlin-rc1

          INTEGRATED IN:
          merlin-rc1

          VERIFIED IN:
          merlin-rc1

          Defect Conversion BT2 (Inactive) added a comment - BT2:CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: merlin-rc1 INTEGRATED IN: merlin-rc1 VERIFIED IN: merlin-rc1

          J. Duke added a comment -
          BT2:EVALUATION

          Will be fixed in Merlin RC1.

          ###@###.### 2001-10-12

          The behaviour of getSelectedItem() in javax.swing.DefaultComboBoxModel has changed from beta2 - only the selected item is returned for both the de-selecting and selecting events in the combo box. This was the cause for StackOverflow errors being thrown each time a different template was selected. The converter has been fixed to process itemStateChanged() only for the item selected event.

          ###@###.### 2001-10-29

          J. Duke added a comment - BT2:EVALUATION Will be fixed in Merlin RC1. ###@###.### 2001-10-12 The behaviour of getSelectedItem() in javax.swing.DefaultComboBoxModel has changed from beta2 - only the selected item is returned for both the de-selecting and selecting events in the combo box. This was the cause for StackOverflow errors being thrown each time a different template was selected. The converter has been fixed to process itemStateChanged() only for the item selected event. ###@###.### 2001-10-29

            duke J. Duke
            sansunw Song An (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: