java - JComboBox Multi Choice -


is possible select multiple items in jcombobox if so, how?if not, there way this?

private jcombobox getjcombobox1() {  		if (jcombobox1 == null) {  			jcombobox1 = new jcombobox();  			jcombobox1.setmodel(new defaultcomboboxmodel(new string[] {"a", "b", "c"}));  			jcombobox1.addactionlistener(new actionlistener() {  				public void actionperformed(actionevent arg0) {    				}  			});  			jcombobox1.setfont(new font("verdana", font.italic, 15));  			jcombobox1.setforeground(color.red);			  			jcombobox1.setdoublebuffered(false);  			jcombobox1.setborder(null);  			jcombobox1.setenabled(false);  			jcombobox1.setbounds(314, 181, 176, 25);  		}    		return jcombobox1;  	}


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -