Revision 35
revised colonet style
ColonetServerInterface.java | ||
---|---|---|
275 | 275 |
* Display informational message box on the screen. Used for casual communicaton to the user. |
276 | 276 |
* @param text Text to display |
277 | 277 |
*/ |
278 |
private void msg (String text) {
|
|
278 |
public void msg (String text) {
|
|
279 | 279 |
JOptionPane.showMessageDialog(null, text, "Colonet", JOptionPane.INFORMATION_MESSAGE); |
280 | 280 |
} |
281 | 281 |
|
... | ... | |
283 | 283 |
* Display warning message box on the screen. Used for minor alerts or exceptions. |
284 | 284 |
* @param text Text to display |
285 | 285 |
*/ |
286 |
private void warn (String text) {
|
|
286 |
public void warn (String text) {
|
|
287 | 287 |
JOptionPane.showMessageDialog(null, text, "Colonet", JOptionPane.WARNING_MESSAGE); |
288 | 288 |
} |
289 | 289 |
|
... | ... | |
291 | 291 |
* Display error message box on the screen. Used for major errors or exceptions in the program. |
292 | 292 |
* @param text Text to display |
293 | 293 |
*/ |
294 |
private void err (String text) {
|
|
294 |
public void err (String text) {
|
|
295 | 295 |
JOptionPane.showMessageDialog(null, text, "Colonet", JOptionPane.ERROR_MESSAGE); |
296 | 296 |
} |
297 | 297 |
|
Also available in: Unified diff