aspose file tools*
The moose likes Beginning Java and the fly likes create dynamic checkboxes! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

create dynamic checkboxes!

Gopu Akraju
Ranch Hand

Joined: Jan 13, 2008
Posts: 242
Hi,
I am trying to create dynamic checkboxes as below. It works. But how do I check the status of each checkboxes. My exact doubt is how do I refer to dynamically created checkboxes. Please see my code below: I want to modify so that I can refer to each dynamically created checkboxes.
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1

Hi,

Why dont you save the references in a List inside the loop where you are creating the individual check boxes?

Does this answer your query?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
 
subject: create dynamic checkboxes!