java menu字体_Java开发网 - 请问如何让菜单字体变宋体?
Posted by:scottding
Posted on:2003-01-23 12:44
贴出了大部分,你看看想改什么吧。
Font font = new Font("宋体",Font.PLAIN,14);
UIManager.put("Button.font",font);
UIManager.put("ToggleButton.font",font);
UIManager.put("RadioButton.font",font);
UIManager.put("CheckBox.font",font);
UIManager.put("ColorChooser.font",font);
UIManager.put("ToggleButton.font",font);
UIManager.put("ComboBox.font",font);
UIManager.put("ComboBoxItem.font",font);
UIManager.put("InternalFrame.titleFont",font);
UIManager.put("Label.font",font);
UIManager.put("List.font",font);
UIManager.put("MenuBar.font",font);
UIManager.put("Menu.font",font);
UIManager.put("MenuItem.font",font);
UIManager.put("RadioButtonMenuItem.font",font);
UIManager.put("CheckBoxMenuItem.font",font);
UIManager.put("PopupMenu.font",font);
UIManager.put("OptionPane.font",font);
UIManager.put("Panel.font",font);
UIManager.put("ProgressBar.font",font);
UIManager.put("ScrollPane.font",font);
UIManager.put("Viewport",font);
UIManager.put("TabbedPane.font",font);
UIManager.put("TableHeader.font",font);
UIManager.put("TextField.font",font);
UIManager.put("PasswordFiled.font",font);
UIManager.put("TextArea.font",font);
UIManager.put("TextPane.font",font);
UIManager.put("EditorPane.font",font);
UIManager.put("TitledBorder.font",font);
UIManager.put("ToolBar.font",font);
UIManager.put("ToolTip.font",font);
UIManager.put("Tree.font",font);
java menu字体_Java开发网 - 请问如何让菜单字体变宋体?相关推荐
- java 获取网络带宽_Java开发网 - 一个测网络延迟和带宽的程序,发10M的数据有问题...
我的想法是客户端发10M的string给服务器,服务器把收到的数据返回给客户端, 客户端记下发送的时刻和收完数据的时刻,两者相减再除2就是传输用的时间. 发1M没有问题,现在要发10M,就循环10次, ...
- java 句柄无效_Java开发网 - java.io.IOException: 句柄无效???
Posted by:aideliwu Posted on:2004-09-01 21:32 我思考le很久,也查看啦代码很久,可还是百思不得其解, 在Freejava中运行的结果还是: java.io ...
- java swt 布局_Java开发网 - 基于SWT的类XUL实现: SWT-XUI
Posted by:yipsilon Posted on:2005-07-16 15:35 1.0 M1 Build 20050715 .+ 增加dragSource, dropTarget和tran ...
- java jtextarea 显示_Java开发网
做了测试:在同一个面板上(二个按钮,一个JtextArea),通过按钮事件可以在JtextArea中切换显示东西 现在问题是按钮.JTextArea在两个独立的面板类中,我已经用了一个控制类,在两者间 ...
- java工作流 数据库设计_Java开发网
于 2007-12-06 16:10 基于JGRAHP的工作流模型设计器 JWFD v0.9 comsci@163.com QQ: 784092877 群:7428804 简介 JDK1.4以上 运行 ...
- java禁止ie后退_Java开发网 - 【讨论】html页面禁用右键,浏览器后退、刷新,以及相应快捷键...
Posted by:lisliefor Posted on:2006-06-15 21:36 前些天交付一个系统时,客户提出新要求回车等同于Tap键的功能,并能提交表单:禁用鼠标右键:禁用浏览器后退. ...
- java中appletviewer是什么意思_Java开发网 - 请教,appletviewer的问题
Posted by:KOF_Jazz Posted on:2005-04-19 21:56 小弟刚接触java,买的书是java2全方位学习,书上给了个例子,SayHello.java,源码如下: p ...
- java 选中当前,Java开发网 - 请问如何获得SWT中List widget当前选中的项目
估计和事件有关和List没有直接关系 你实现mouseUp就可以了 import org.eclipse.swt.SWT; import org.eclipse.swt.events.*; impor ...
- java有any类型吗_Java开发网 - 一个关于CORBA中any类型的问题
Posted by:an350901450 Posted on:2008-12-30 14:44 请教一个问题 我的IDL文件: module anyM{ interface anyI{ any pr ...
最新文章
- 嵌入式CGI开发之旅——CGI环境变量
- springboot里面logback使用
- 一张图系列——为什么在DllMain里面创建了线程并Wait会卡死
- Icomparer和Icomparable集合排序
- 第二十五天 how can I 坚持
- 解决项目莫名奇妙的报错问题
- 关于cmake从GitHub上下载的源码启动时报错的问题
- unity怎么设置游戏页面_杭州有没有正规的unity游戏开发培训机构?
- 一个人动情之后的表现......
- z-index的取值范围
- 【计算机】数据结构-严蔚敏/清华大学P4
- ADMM算法在神经网络模型剪枝方面的应用
- python对接INVEST和ARCGIS
- 机器学习——图像识别(卷积神经网络)
- Multisim14仿真基本模拟电路之 10.5电压比较器及其应用电路的仿真实验与分析
- linux系统下文件误删除该如何恢复?
- ASP.NET Core (视频)教程汇总
- SSM整合步骤(超详细)
- 网络学习---基础知识
- R语言lowess函数数据平滑实战(Locally Weighted Regression, Loess)