Hi everybody,
                            I have a java-swing application that runs
fine with jdk117_v3 but now i need to compile and run under jdk1.2
pre-v2 and it gives runtime Exception under jdk1.2 as follows,

Exception occurred during event dispatching:
java.lang.IndexOutOfBoundsException: -1
        at java.util.BitSet.get(Compiled Code)
        at javax.swing.DefaultListSelectionModel.clear(Compiled Code)
        at javax.swing.DefaultListSelectionModel.setState(Compiled Code)

        at
javax.swing.DefaultListSelectionModel.removeIndexInterval(Compiled Code)

        at
javax.swing.plaf.basic.BasicListUI$ListDataHandler.intervalRemoved(Compiled
Code)
        at javax.swing.AbstractListModel.fireIntervalRemoved(Compiled
Code)
        at javax.swing.DefaultComboBoxModel.removeAllElements(Compiled
Code)
        at javax.swing.JComboBox.removeAllItems(Compiled Code)
        at Fsa.refreshAttrCombo(Compiled Code)
        at Fsa.addAttributes(Compiled Code)
        at Fsa.createComponents(Compiled Code)
        at Question$2.actionPerformed(Compiled Code)
        at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)

        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled
Code)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled
Code)
        at javax.swing.DefaultButtonModel.setPressed(Compiled Code)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Compiled Code)
        at java.awt.Component.processMouseEvent(Compiled Code)
        at java.awt.Component.processEvent(Compiled Code)
        at java.awt.Container.processEvent(Compiled Code)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled
Code)
        at java.awt.LightweightDispatcher.processMouseEvent(Compiled
Code)
        at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Window.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.run(Compiled Code)

Can anybody tell.. do i need to do anything special to make it work
under jdk1.2 or it's a problem with blackdown jdk version.

-Raj


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to