Any changes done to the selectNone() method of CheckBoxList

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Any changes done to the selectNone() method of CheckBoxList

Postby RajaRajeswari_V » Tue May 12, 2009 6:23 am

Hi

In my code i have used the Objects of CheckBoxlist and use the code in the following way

diagramsOtherLinksCheckBoxList.selectNone(); this is using the old jide jars

Now i am using the latest evaluation version of Jide. using the latest jars, the code compiles well but in Run time it is giving the following error

Exception occurred during event dispatching:
java.lang.IndexOutOfBoundsException: bitIndex < 0: -1
at java.util.BitSet.get(Unknown Source)
at javax.swing.DefaultListSelectionModel.clear(Unknown Source)
at javax.swing.DefaultListSelectionModel.setState(Unknown Source)
at javax.swing.DefaultListSelectionModel.removeIndexInterval(Unknown Source)
at com.jidesoft.swing.CheckBoxList.selectNone(Unknown Source)

i wanted to know if there is any implementation differnce in the selectNone() method of CheckBoxList and an alternate way to deal with this.The java doc supplied doesnt mention anything about it though.


Thanks
Rajeswari
RajaRajeswari_V
 
Posts: 25
Joined: Tue Apr 28, 2009 8:33 pm

Re: Any changes done to the selectNone() method of CheckBoxList

Postby JIDE Support » Tue May 12, 2009 9:03 am

Please check if the size of the model is 0. We will add a validation check here in next release.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: Any changes done to the selectNone() method of CheckBoxList

Postby JIDE Support » Sat May 16, 2009 6:01 pm

Just so you know, this is fixed in 2.6.3 which was just released.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 30 guests

cron