guidefaults.java

来自「java ftp 操作代码,程序可以直接运行」· Java 代码 · 共 45 行

JAVA
45
字号
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. */package net.sf.jftp.gui.framework;import java.awt.*;public class GUIDefaults{    public static Color mainBack = Color.lightGray;    public static Color back = new Color(230, 230, 230);    public static Color sizeBack = new Color(255, 200, 0);    public static Color front = new Color(0, 0, 0);    public static Color white = new Color(255, 255, 255);    public static Color red = new Color(255, 0, 0);    public static Color blue = new Color(0, 255, 0);    public static Color green = new Color(0, 0, 255);    public static Color activeColor = new Color(100, 190, 240);    public static Color activatedColor = new Color(0, 0, 255);    public static Color cdColor = new Color(230, 230, 230);    public static Color deniedColor = new Color(140, 0, 0);    public static Color writableColor = new Color(0, 140, 0);    public static Color defaultColor = new Color(0, 0, 0);    public static Color light = new Color(233, 233, 233);    public static final Font small = new Font("Arial", Font.PLAIN, 10);    public static final Font font = new Font("monospaced", Font.PLAIN, 12);    public static final Font active = new Font("Arial", Font.PLAIN, 14);    public static final Font menuFont = new Font("Arial", Font.PLAIN, 12);    public static final Font status = new Font("Arial", Font.BOLD, 12);    public static final Font monospaced = font;}

⌨️ 快捷键说明

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