Java - Iterating through form controls to create Array of Selected Items from Multiple JLists
-
I want to iterate through the Controls on a form using a For loop to find the JLists then create an array of the selected items on certain JLists by JList name hopefully In vb I would do something like: For each ctrl in me.controls if ctrl.name="abc" then [do something] end if Next
-
I want to iterate through the Controls on a form using a For loop to find the JLists then create an array of the selected items on certain JLists by JList name hopefully In vb I would do something like: For each ctrl in me.controls if ctrl.name="abc" then [do something] end if Next
-
And in Google it would be: iterate controls jform java - Google Search[^].
Thanks, was simpler than I thought. Had tried searching, just should have thought a bit more about what i was searching for, it was a long night.
-
Thanks, was simpler than I thought. Had tried searching, just should have thought a bit more about what i was searching for, it was a long night.
-
Nice comment . I am also done these codes in my work. But it is some difficult for me using in work.Every paper you develop or write should have a main or complete point. Best essay writing service