📄 dialogmanager.java
字号:
/*
* Created on Jun 5, 2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package org.GTADS.client;
import javax.swing.JOptionPane;
/**
* @author Administrator
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class DialogManager {
public static void ErrorDialog (String message) {
JOptionPane.showMessageDialog(null,message,"Error Message", JOptionPane.ERROR_MESSAGE);
}
public static void SuccessDialog (String message){
JOptionPane.showMessageDialog(null,message,"GTADS", JOptionPane.INFORMATION_MESSAGE);
}
public static void FeatureNotHere () {
String featureDefunct = "Sorry, this feature is currently not complete yet. We are working \n" +
" hard to incorporate it in our client and it should be in here shortly.\n If you would " +
"like to help GTADS get this feature included feel free to contact us";
JOptionPane.showMessageDialog(null,featureDefunct,"GTADS: Feature Not Working", JOptionPane.WARNING_MESSAGE);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -