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

9
LINES

< > BotCompany Repo | #1003667 - hideFrameOnMinimize

JavaX fragment (include)

static void hideFrameOnMinimize(final JFrame f) {
  if (f != null) swing {
    f.addWindowListener(new WindowAdapter {
      public void windowIconified(WindowEvent we) {
        f.setVisible(false);
      }
    });
  }
}

download  show line numbers  debug dex   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1003667
Snippet name: hideFrameOnMinimize
Eternal ID of this version: #1003667/2
Text MD5: 9cdee255426dc39cabca788998e895de
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-27 18:51:14
Source code size: 229 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 426 / 428
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003667 & http://1003667.tinybrain.de