String[] test = {"Java", "Swing", "RCP"};
JOptionPane.showInputDialog(this, "Select Technology", "OptionPaneTitle", JOptionPane.INFORMATION_MESSAGE, icon, test, "Java");
This should bring you an input dialog and the return type would be the selected object...
No comments:
Post a Comment