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

11
LINES

< > BotCompany Repo | #1009949 // nimbus - enable nimbus look&feel

JavaX fragment (include)

1  
static bool nimbus() {
2  
  ret swing(func -> Bool {
3  
    for (final UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels())
4  
      if (eq("Nimbus", info.getName())) {
5  
        UIManager.setLookAndFeel(info.getClassName());
6  
        updateLookAndFeelOnAllWindows_noRenew();
7  
        true;
8  
      }
9  
    false;
10  
  });
11  
}

Author comment

Began life as a copy of #1009811

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: #1009949
Snippet name: nimbus - enable nimbus look&feel
Eternal ID of this version: #1009949/1
Text MD5: b6251d94e193ff60ff917e15a8101407
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-27 04:19:42
Source code size: 332 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 528
Referenced in: [show references]