static S substanceLAF_defaultSkin = "Creme"; static void substanceLAF() { substanceLAF(null); } static void substanceLAF(S skinName) { pcall { enableSubstance_impl(or2(skinName, substanceLAF_defaultSkin)); } }
Now also makes frames LAF-decorated (nicer, and makes title bar modifiable!) Skins: http://insubstantial.github.io/insubstantial/substance/docs/skins/toneddown.html http://insubstantial.github.io/insubstantial/substance/docs/skins/dark.html http://insubstantial.github.io/insubstantial/substance/learn.html
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003450 |
| Snippet name: | substanceLAF - enable Substance look and feel (idempotent) |
| Eternal ID of this version: | #1003450/4 |
| Text MD5: | 1396e8ebffbab090ec496c187a77d3c5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-02-02 03:04:33 |
| Source code size: | 231 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 903 / 1340 |
| Version history: | 3 change(s) |
| Referenced in: | #1003671 - substance - short for substanceLAF #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1006704 - substanceLAF_external - enable Substance look and feel using hotwired program (idempotent) |