| From | Sent On | Attachments |
|---|---|---|
| Sachin S. Siddhaye | Apr 11, 2007 8:30 am | |
| Michel Graciano | Apr 11, 2007 6:53 pm | |
| Sachin S. Siddhaye | Apr 12, 2007 9:04 am | |
| Michael Nascimento | Apr 13, 2007 7:28 am |
| Subject: | Re: [genesis-users] checkboxes binding bug in Swing? | |
|---|---|---|
| From: | Michel Graciano (mich...@gmail.com) | |
| Date: | Apr 11, 2007 6:53:34 pm | |
| List: | net.java.dev.genesis.users | |
Hi,
I try simulate your problem, without success. You can send more details about your problem? You try this on the RC1 too? I try simulate in both, but for me all things works fine.
Regards.
On 4/11/07, Sachin S. Siddhaye <ss...@cfdrc.com> wrote:
hello,
are there any known issues with using Genesis 3.0EA5 Swing version with checkboxes. *Background* Specifically, I have created a BeanForm which is bound to a BeanView which has one checkbox, one textfield and one combobox in it. I instantiate this view multiple times in a parent panel. I bind a boolean variable in BeanForm to the checkbox in BeanView and initiate it to false in both constructors. Hence, when a view of the BeanForm is created, the checkbox should initially be unselected. Now... *Problem Statement* If I have a parent panel with three rows of BeanForm views, then the desired behavior for checkboxes is observed for all rows except the first one. The checkbox in the first row always shows selected. NOTE however that this is purely a visual anomaly. For instance, when I ran the code in debug and checked and unchecked the checkbox in the first row, the boolean variable to which it was bound was correctly updated, however, on the screen the checkbox always showed as selected. Do you think this is a genesis issue? *Possible solutions tried but did not work are:-* The reason I say that is because earlier I thought it was a bug in my code, but since all other rows show desired behavior except that first row and since all rows are objects of the same class, I don't think there is a bug in my code. Secondly, I tested to see if it was an L&F painting issue. I used the default Java L&F as well as JGoodies Plastic theme, both L&F show the same anomaly for the first row. Is there anything else I can try as far as genesis is concerned? Any help will be truly appreciated. thanks, Sachin
-- thanks, Sachin
************************************************************* Sachin S. Siddhaye Senior Software Engineer, Computational Medicine and Biology (CMB), CFD Research Corp. Ph: 256-726-4994
215 Wynn Dr., CFD Research Corp., 5th Floor, Huntsville, AL 35805
*************************************************************
-- Atenciosamente,
Michel Graciano Summa Technologies Inc. http://www.jroller.com/page/hmichel http://translatedfiles.netbeans.org/index_pt_BR.html https://copypastehistory.dev.java.net/ https://jae.dev.java.net/





