Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

set the content of a Jlist from an other Jlist (Swing)

DeafaultListModel m = new DeafaultListModel(); // the content of the Jlist is set in a a "model" 
// to select from a List
String data=Jlist.GetSelectedValue.toString() ;
m.add(data); 
JlistNum2.setModel(m) ; 


 
PREVIOUS NEXT
Tagged: #set #content #Jlist #Jlist
ADD COMMENT
Topic
Name
3+9 =