Revision 6575 trunk/libraries/libCorePlugin/src/com/iver/core/preferences/network/NetworkPage.java

View differences:

NetworkPage.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.3  2006-07-03 10:46:01  jaume
46
* Revision 1.4  2006-07-31 10:02:31  jaume
47 47
* *** empty log message ***
48 48
*
49
* Revision 1.3  2006/07/03 10:46:01  jaume
50
* *** empty log message ***
51
*
49 52
* Revision 1.2  2006/06/13 07:43:08  fjp
50 53
* Ajustes sobre los cuadros de dialogos de preferencias
51 54
*
......
107 110
		super();
108 111
		id = this.getClass().getName();
109 112
		icon = new ImageIcon(this.getClass().getClassLoader().getResource("images/network.png"));
113
		lblNetworkStatus = new JLabel();
114
		lblNetworkStatus.setFont(new java.awt.Font("Arial", java.awt.Font.BOLD, 12));
115
		lblNetworkStatus.setText(PluginServices.getText(this, "optinos.network.click_to_test_connection"));
116

  
117
		JPanel aux = new JPanel();
118
		aux.add(lblNetworkStatus);
119
		aux.add(getBtnCheckConnection());
120
		addComponent(PluginServices.getText(this, "options.network.status") + ":", aux	);
110 121
	}
111 122

  
112 123
	private JToolBarButton getBtnCheckConnection() {
......
163 174

  
164 175

  
165 176
	public void initializeValues() {
166
		lblNetworkStatus = new JLabel();
167
		lblNetworkStatus.setFont(new java.awt.Font("Arial", java.awt.Font.BOLD, 12));
168
		lblNetworkStatus.setText(PluginServices.getText(this, "optinos.network.click_to_test_connection"));
169
		JPanel aux = new JPanel();
170
		aux.add(lblNetworkStatus);
171
		aux.add(getBtnCheckConnection());
172
		addComponent(PluginServices.getText(this, "options.network.status") + ":", aux	);
177

  
178

  
173 179
	}
174 180

  
175 181
	public boolean storeValues() {
......
177 183
	}
178 184

  
179 185
	public void initializeDefaults() {
186
		// nothing
187
	}
180 188

  
189
	public void cancelAction() {
190
		// nothing
181 191
	}
182 192

  
183 193
	class ActionHandler implements ActionListener {
......
190 200
		return icon;
191 201
	}
192 202

  
203

  
193 204
}

Also available in: Unified diff