Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

23
LINES

< > BotCompany Repo | #1005653 // Enable Substance Look-And-Feel (latest build)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (1597L/11K/43K).

!752

static S skinName =
  //"Magellan"; // blue background is kind of hard to read
  "Creme";

p {
  enableSubstance_impl(skinName);
}

// Bug fixing

static JFrame newJFrame() { ret new JFrame; }

static void bug_showFullScreen(JFrame window) {
  GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment()
    .getDefaultScreenDevice();
  gd.setFullScreenWindow(window);
}

static void bug_showFullScreenImage() {
  showFullScreenImage_disposeOnClick("#1005640");
}

Author comment

Began life as a copy of #1003448

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005653
Snippet name: Enable Substance Look-And-Feel (latest build)
Eternal ID of this version: #1005653/1
Text MD5: 7317890af7ab755384d773a64541ef49
Transpilation MD5: 8103090e26a37af70f8f9d0061ef7359
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-20 17:34:57
Source code size: 501 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 515 / 1604
Referenced in: #1005646 - Test showFullScreenImage_disposeOnClick with Substance (BUG FIXED)
#1005654 - Test latest Substance L&F
#1005671 - Test showFullScreenImage_disposeOnClick with Substance (BUG test 2)
#1006318 - Print name of Substance field
#1006595 - Test showFullScreenImage_disposeOnClick with Substance (BUG reproduction 3)
#1006704 - substanceLAF_external - enable Substance look and feel using hotwired program (idempotent)