kevinboey 0 Newbie Poster

Just to check with u guys I got a GUI Menu with few selections e.g. "Monkey" , "Elephant", "ViewList", "Exit" . When i click on "Monkey" a JOptionPane Sub-Menu will pop up and i could add or sell . but when i want to go back to the Gui Menu i could not click on other options e.g. "ViewList" while the JOptionPane Sub-Menu is still open and was force to click cancel to un-run the compiler then i can click on the "ViewList" therefore, the things i have added earlier was gone.

Is there anyway i can switch from GUI menu to sub-Menu and back to GUI Menu without un-run it because if i click cancel to un-run all the things added will be gone ......appreciate if anyone can help me..... Thank u Very much.....

i did read up and search for related topics but i could not understand.

can some 1 teach me how to do it Thank u.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.