Revision 9033 trunk/libraries/libUI/src-test/org/gvsig/gui/beans/comboBoxItemsSeeker/programmerTests/TestJComboBoxItemsSeekerConfigurable.java

View differences:

TestJComboBoxItemsSeekerConfigurable.java
5 5
import javax.swing.JFrame;
6 6
import javax.swing.JOptionPane;
7 7

  
8
import org.gvsig.gui.beans.Messages;
8 9
import org.gvsig.gui.beans.comboBoxItemsSeeker.Item;
9 10
import org.gvsig.gui.beans.comboBoxItemsSeeker.JComboBoxItemsSeekerConfigurable;
10 11

  
11
import com.iver.andami.PluginServices;
12 12

  
13 13
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
14 14
 *
......
370 370
			    jF.setVisible(true);	
371 371
			}
372 372
			else
373
				JOptionPane.showMessageDialog(null, PluginServices.getText(null, "errorMessageJComboBoxItemsSeekerConfigurable"), PluginServices.getText(null, "testJComboBoxItemsSeekerErrorTitle"), JOptionPane.ERROR_MESSAGE);
373
				JOptionPane.showMessageDialog(null, Messages.getText("errorMessageJComboBoxItemsSeekerConfigurable"), Messages.getText("testJComboBoxItemsSeekerErrorTitle"), JOptionPane.ERROR_MESSAGE);
374 374
		}
375 375
		catch(Exception e)
376 376
		{
377 377
			e.printStackTrace();
378
			JOptionPane.showMessageDialog(null, PluginServices.getText(null, "testJComboBoxItemsSeekerErrorMessage"), PluginServices.getText(null, "testJComboBoxItemsSeekerErrorTitle"), JOptionPane.ERROR_MESSAGE);
378
			JOptionPane.showMessageDialog(null, Messages.getText("testJComboBoxItemsSeekerErrorMessage"), Messages.getText("testJComboBoxItemsSeekerErrorTitle"), JOptionPane.ERROR_MESSAGE);
379 379
		}
380 380
	}
381 381
}

Also available in: Unified diff