看板 java 關於我們 聯絡資訊
※ 引述《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)
PsMonkey:XD 07/28 12:43
vcore:謝謝PsMonkey與superlubu 我用第二個方法 可以work了! 07/28 13:35