Revision 8514

View differences:

trunk/libraries/libUI/src/org/gvsig/gui/beans/AcceptCancelPanel.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.4  2006-09-14 08:31:58  cesar
46
* Revision 1.5  2006-11-06 07:29:04  jaume
47
* *** empty log message ***
48
*
49
* Revision 1.4  2006/09/14 08:31:58  cesar
47 50
* Replace PluginServices.getText by the new Messages bridge class from libUI
48 51
*
49 52
* Revision 1.3.2.1  2006/09/13 13:13:19  cesar
......
123 126
		if (btnOk == null) {
124 127
			btnOk = new JButton();
125 128
			btnOk.setText(Messages.getText("ok" ));
129
			btnOk.setActionCommand("OK");
126 130
			if (okAction != null)
127 131
				btnOk.addActionListener(okAction);
128 132
		}
......
138 142
		if (btnCancel == null) {
139 143
			btnCancel = new JButton();
140 144
			btnCancel.setText(Messages.getText("cancel" ));
145
			btnCancel.setActionCommand("CANCEL");
141 146
			if (cancelAction != null)
142 147
				btnCancel.addActionListener(cancelAction);
143 148
		}

Also available in: Unified diff