double d1;
Class c;
final List collTypes = Main.getReceiverTypes();
final JPanel msgPane = new JPanel( new SpringLayout() );
final NumberField ggNum = new NumberField( NumberSpace.createIntSpace( 1, 0x10000 ));
final JComboBox ggType = new JComboBox();
for( int i = 0; i < collTypes.size(); i++ ) {
ggType.addItem( collTypes.get( i ));
}
ggNum.setNumber( num );
if( type != null ) ggType.setSelectedItem( type );
msgPane.add( ggNum );
msgPane.add( ggType );
GUIUtil.makeCompactSpringGrid( msgPane, 1, 2, 4, 2, 4, 2 ); // #row #col initx inity padx pady
// HelpGlassPane.setHelp( msgPane, getValue( NAME ).toString() ); // EEE
result = JOptionPane.showOptionDialog( null, msgPane,
AbstractApplication.getApplication().getResourceString( "inputDlgNewReceivers" ),
JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE,
null, queryOptions, queryOptions[ 1 ]);
if( result != 1 ) return;
num = ggNum.getNumber();
type = (StringItem) ggType.getSelectedItem();
numi = num.intValue();
try {
doc.bird.waitExclusive( Session.DOOR_RCV | Session.DOOR_GRP );