debug.java

来自「fortran并行计算包」· Java 代码 · 共 47 行

JAVA
47
字号
/* *  (C) 2001 by Argonne National Laboratory *      See COPYRIGHT in top-level directory. *//* *  @author  Anthony Chan */package viewer.zoomable;public class Debug{    private static Diagnosis msg = new Diagnosis();    public static void initTextArea()    {        msg.initTextArea( "Debugging Output" );    }    public static void setActive( boolean is_active )    {        msg.setActive( is_active );    }    public static boolean isActive()    {        return msg.isActive();    }    public static void setFilename( String in_name )    throws java.io.IOException    {        msg.setFilename( in_name );    }    public static void print( String str )    {        msg.print( str );    }    public static void println( String str )    {        msg.println( str );    }}

⌨️ 快捷键说明

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