1
My idea was to make a Jcombobox whose values were updated according to the previous Combobox options.
I’m using several Arraylists.
For example, a Combobox with January and February option... If you choose January in the first Combobox, the second will only have January events.
My canvas:
What languages are you using? You can put the code you already have here?
– Sergio
Java (using Eclipse).
– user
Check out the guide [Ask]. You are free to [Edit] the question and add more details, add tags, etc.
– brasofilo
The code I didn’t put in because I don’t know how to proceed to do what I have in mind. I’ve been told it would have to be with. toArray() but I don’t know how. The graphic part is: https://dl.dropboxusercontent.com/u/38051425/Captura%20de%20tela%202014-06-17%2010.49.22.png and the idea was to make this application with the theme Animal Shop. I have several arraylists. When choosing the category 'dog' instead of cat, for example, in specimens, only the species of dog would appear... and so on.
– user
Where will you get the list of events for the chosen month? Is everything already loaded in variables or will you access the comic book? How you reference events depending on the month you choose?
– Math
I just gave an example applied to months > events. My project is a Pet Shop. With categories (dog, cat, rodent, etc.), species of these categories (Iamese, etc.) and names of animals available with the chosen category and species.
– user
@user had not seen his answer, I advise using the @ + "user name" so that the user can receive a notification that has been answered. Is your doubt still there? I think I understand your problem now. If you still want an answer let me know (with :P this time)
– Math