1 | import javax.swing.plaf.synth.SynthLookAndFeel; |
2 | |
3 | svoid useSynthLAF(File zipFile) { |
4 | new SynthLookAndFeel lookAndFeel; |
5 | |
6 | pcall { |
7 | URL url = new URL("jar:file:" + f2s(zipFile)); |
8 | print(url); |
9 | lookAndFeel.load(url); |
10 | UIManager.setLookAndFeel(lookAndFeel); |
11 | } |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018994 |
Snippet name: | useSynthLAF |
Eternal ID of this version: | #1018994/3 |
Text MD5: | 5e1cac20a1ab45c5a2c4534a28c6faac |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-19 21:02:16 |
Source code size: | 285 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 417 / 427 |
Version history: | 2 change(s) |
Referenced in: | [show references] |