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
Post a Comment