Uses 3874K of libraries. Click here for Pure Java version (2421L/17K/58K).
!752 lib 1005652 // Substance lib 1003441 // Trident (required by Substance) import org.pushingpixels.substance.api.*; import org.pushingpixels.substance.api.skin.*; static JFrame showFullScreen(JComponent c) { GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice(); if (!gd.isFullScreenSupported()) fail("No full-screen mode supported!"); final new JFrame window; // Trying to fix bug window.setUndecorated(false); registerEscape(window, r { window.dispose() }); window.add(wrap(c)); gd.setFullScreenWindow(window); ret window; } p-awt { /* ClassLoader cl = main.class.getClassLoader(); UIManager.getDefaults().put("ClassLoader", cl); Thread.currentThread().setContextClassLoader(cl); S skinName = "Creme"; S skinClassName = "org.pushingpixels.substance.api.skin." + addSuffix(skinName, "Skin"); SubstanceSkin skin = (SubstanceSkin) nuObject(cl.loadClass(skinClassName)); SubstanceLookAndFeel.setSkin(skin); updateLookAndFeelOnAllWindows();*/ substanceLAF_version = "#1005653"; substanceLAF(); showFullScreenImage_disposeOnClick("#1005640"); }
Began life as a copy of #1005670
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005671 |
Snippet name: | Test showFullScreenImage_disposeOnClick with Substance (BUG test 2) |
Eternal ID of this version: | #1005671/1 |
Text MD5: | c739bf87dfc5ec8b89bbbb510afa66aa |
Transpilation MD5: | 7e396ab7fed957372f7d257180c5e9fc |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-02 16:27:44 |
Source code size: | 1190 bytes / 40 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 492 / 614 |
Referenced in: | [show references] |