java - How to see what a use has chosen from a JList? -


recently, have been working on java jukebox program. far in program, user selects song jlist, , hits "play" jbutton. need have program find out choice chosen list , launch corresponding constructor. suggestions on how that?

-john

take @ jlist's getselected methods, in particular getselectedvalue() , getselectedvalues().


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -