guiutils.java

来自「实现对owl-s描述服务的检索」· Java 代码 · 共 33 行

JAVA
33
字号
/* * GUIUtils.java * * Created on 11. August 2005, 23:25 * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */package owlsmx.gui.util;import java.awt.Color;import javax.swing.UIManager;/** * * @author B */public class GUIUtils {        public static void makeTransparent(javax.swing.JComponent area){        area.setBackground((Color)UIManager.get("Label.background"));        area.setForeground((Color)UIManager.get("Label.foreground"));        //area.setFont((Font)UIManager.get("Label.font"));     }          public static void makeTransparent(javax.swing.JTextArea area){        area.setBackground((Color)UIManager.get("Label.background"));        area.setForeground((Color)UIManager.get("Label.foreground"));        //area.setFont((Font)UIManager.get("Label.font"));     }        }

⌨️ 快捷键说明

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