⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guiutils.java

📁 实现对owl-s描述服务的检索
💻 JAVA
字号:
/* * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -