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开发网 - 请问如何让菜单字体变宋体?相关推荐

  1. java 获取网络带宽_Java开发网 - 一个测网络延迟和带宽的程序,发10M的数据有问题...

    我的想法是客户端发10M的string给服务器,服务器把收到的数据返回给客户端, 客户端记下发送的时刻和收完数据的时刻,两者相减再除2就是传输用的时间. 发1M没有问题,现在要发10M,就循环10次, ...

  2. java 句柄无效_Java开发网 - java.io.IOException: 句柄无效???

    Posted by:aideliwu Posted on:2004-09-01 21:32 我思考le很久,也查看啦代码很久,可还是百思不得其解, 在Freejava中运行的结果还是: java.io ...

  3. 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 ...

  4. java jtextarea 显示_Java开发网

    做了测试:在同一个面板上(二个按钮,一个JtextArea),通过按钮事件可以在JtextArea中切换显示东西 现在问题是按钮.JTextArea在两个独立的面板类中,我已经用了一个控制类,在两者间 ...

  5. java工作流 数据库设计_Java开发网

    于 2007-12-06 16:10 基于JGRAHP的工作流模型设计器 JWFD v0.9 comsci@163.com QQ: 784092877 群:7428804 简介 JDK1.4以上 运行 ...

  6. java禁止ie后退_Java开发网 - 【讨论】html页面禁用右键,浏览器后退、刷新,以及相应快捷键...

    Posted by:lisliefor Posted on:2006-06-15 21:36 前些天交付一个系统时,客户提出新要求回车等同于Tap键的功能,并能提交表单:禁用鼠标右键:禁用浏览器后退. ...

  7. java中appletviewer是什么意思_Java开发网 - 请教,appletviewer的问题

    Posted by:KOF_Jazz Posted on:2005-04-19 21:56 小弟刚接触java,买的书是java2全方位学习,书上给了个例子,SayHello.java,源码如下: p ...

  8. java 选中当前,Java开发网 - 请问如何获得SWT中List widget当前选中的项目

    估计和事件有关和List没有直接关系 你实现mouseUp就可以了 import org.eclipse.swt.SWT; import org.eclipse.swt.events.*; impor ...

  9. java有any类型吗_Java开发网 - 一个关于CORBA中any类型的问题

    Posted by:an350901450 Posted on:2008-12-30 14:44 请教一个问题 我的IDL文件: module anyM{ interface anyI{ any pr ...

最新文章

  1. 嵌入式CGI开发之旅——CGI环境变量
  2. springboot里面logback使用
  3. 一张图系列——为什么在DllMain里面创建了线程并Wait会卡死
  4. Icomparer和Icomparable集合排序
  5. 第二十五天 how can I 坚持
  6. 解决项目莫名奇妙的报错问题
  7. 关于cmake从GitHub上下载的源码启动时报错的问题
  8. unity怎么设置游戏页面_杭州有没有正规的unity游戏开发培训机构?
  9. 一个人动情之后的表现......
  10. z-index的取值范围
  11. 【计算机】数据结构-严蔚敏/清华大学P4
  12. ADMM算法在神经网络模型剪枝方面的应用
  13. python对接INVEST和ARCGIS
  14. 机器学习——图像识别(卷积神经网络)
  15. Multisim14仿真基本模拟电路之 10.5电压比较器及其应用电路的仿真实验与分析
  16. linux系统下文件误删除该如何恢复?
  17. ASP.NET Core (视频)教程汇总
  18. SSM整合步骤(超详细)
  19. 网络学习---基础知识
  20. R语言lowess函数数据平滑实战(Locally Weighted Regression, Loess)

热门文章

  1. linux特殊权限位之setuid、setgid和sticky
  2. c mysql日期时间格式_mysql日期和时间类型
  3. matlab里插入行和列
  4. 汽车电子专业知识篇(一)-汽车行业质量人必知的41个体系术语
  5. 建议收藏,详细篇 PyCharm 完美教程
  6. Python应用实战-Python爬取4000+股票数据,并用plotly绘制了树状热力图(treemap)
  7. mysql mycat 路由规则_Mycat分库路由规则
  8. 《01》ECMAScript 6 简介
  9. mpvue小程序以及微信直播踩坑总结
  10. css常用属性总结:颜色和单位