17 package com.generalrobotix.ui.util;
23 @SuppressWarnings(
"serial")
28 super(owner, caption, JOptionPane.QUESTION_MESSAGE, OK_CANCEL_TYPE);
29 setTitle(
"InputDialog");
36 combo_ =
new JComboBox(
item);
37 setInputAreaWidth(300);
47 int res = showModalDialog();
49 return combo_.getSelectedItem();