作者superlubu (叔叔你人真好)
看板java
标题Re: [问题] GUI使用Substance的library
时间Mon Jul 28 12:08:59 2008
※ 引述《PsMonkey (痞子军团团长)》之铭言:
: 先去把基础打好、看好那个什麽 Substance 的 API
: 再不然把错误讯息丢去 google
: http://www.lslnet.com/linux/f/docs1/i63/big5410955.htm
: =====
: 甭说 Substance 了,我连 swing 都很久没写了... [远目]
其实也不能全怪原 PO...
因为 Substance 自己的 "Learn" 都...
https://substance.dev.java.net/learn.html
Overview
If you are new to Swing, start with the general Swing tutorial. If you are new
to look-and-feels, read the getting started first.
The main class is org.jvnet.substance.SubstanceLookAndFeel. In order to use Su
bstance look and feel in your application, you can use one of the following:
* UIManager.setLookAndFeel(new SubstanceLookAndFeel());
* UIManager.setLookAndFeel("org.jvnet.substance.SubstanceLookAndFeel");
* Start your VM with -Dswing.defaultlaf=org.jvnet.substance.SubstanceLookA
ndFeel
或者原 PO 试着用第二或第三个方法吧?
(不知後果如何 XD)
--
《为了要得到真相,就要向原 PO 伸图》
那就是伸图魔人的没图没真相原则,那时我们坚信那就是逼逼死的真实
靠么,图咧?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 147.8.127.102
※ 编辑: superlubu 来自: 147.8.127.102 (07/28 12:14)
1F:推 PsMonkey:XD 07/28 12:43
2F:推 vcore:谢谢PsMonkey与superlubu 我用第二个方法 可以work了! 07/28 13:35