JCombobox can't change selection with ChecBoxTree

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.

JCombobox can't change selection with ChecBoxTree

Postby julien1486 » Wed Dec 30, 2009 2:07 am

Hi everyone !

I'm using a CheckBoxTree in a JDialog in order to display somes permissions on the application for a particular user.
This particular user is selected with a JCombobox which should fire an "itemStateChanged" event when the selection changes.

But most of the time, the JCombobox do not fire event at all, the selection do not change. If I comment the lines related to the CheckBoxTree I don't have the problem anymore.

Is there a conflict between CheckBoxTree and JCombobox ? (Or something else ?)

Thanks a lot for your help
julien1486
 
Posts: 3
Joined: Tue Nov 10, 2009 12:37 am

Re: JCombobox can't change selection with ChecBoxTree

Postby JIDE Support » Wed Dec 30, 2009 7:49 am

So you have a JComboBox and a CheckBoxTree in your dialog. You are expecting that when you choose user in the JComboBox, the selections in CheckBoxTree should be updated accordingly. Am I right? If this is the case, I can't see the possibility of confliction between CheckBoxTree and JComboBox. Would you please share with us a test case?

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 49 guests