I am developing a user interface. Basically the user will have a scroll list from which they select gender and from there i have another frame which gives the user a further option. For example in this i want first the user to select their gender and then once selected another frame to provide a list in which they can select their size. I need it to run asynchronously.
When the user selects a gender from the list, the genderSelector (class name) is going to have to supply the corresponding object. Also i need to make sure the user can only select one item from the list hence i need to use SINGLE_SELECTION.
I need to use something like callback but my java knowledge is limited would appreciate some help.
Can someone help provide me with a simple example of this method and i could expand on it?
When the user selects a gender from the list, the genderSelector (class name) is going to have to supply the corresponding object. Also i need to make sure the user can only select one item from the list hence i need to use SINGLE_SELECTION.
I need to use something like callback but my java knowledge is limited would appreciate some help.
Can someone help provide me with a simple example of this method and i could expand on it?