resourcehelper.java

来自「很棒的web服务器源代码」· Java 代码 · 共 35 行

JAVA
35
字号
// ResourceHelper.java// $Id: ResourceHelper.java,v 1.3 1999/03/05 10:35:09 bmahe Exp $// (c) COPYRIGHT MIT and INRIA, 1997.// Please first read the full copyright statement in file COPYRIGHT.htmlpackage org.w3c.jigadmin.editors ;import javax.swing.JOptionPane;import javax.swing.ImageIcon;import org.w3c.jigadmin.gui.Message;abstract public class ResourceHelper     extends org.w3c.jigadm.editors.ResourceHelper {    /**     * Show an error message.     * @param msg the error message.     * @param ex an Exception instance.     */    protected void errorPopup(String msg, Exception ex) {	Message.showErrorMessage(getComponent(), ex, msg);    }    /**     * Show a message.     * @param msg the message.     */    protected void msgPopup(String msg) {	Message.showInformationMessage(getComponent(), msg);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?