Example Code #2 – JOptionPane JCombobox
December 21st, 2008
No comments
This code shows how to add ComboBox property to JOptionPane.showInputDialog. And the class is able to take an input from this combobox
import javax.swing.JOptionPane;
public class Options {
public Options() {
String smallList[] = {"Sunday", "Monday", "Tuesday", "Wednesday",
"Thrusday", "Friday", "Saturday" };
Tweet

Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the

Recent Comments