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

7
LINES

< > BotCompany Repo | #1035246 // tempHideWindow

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7877L/44K).

static AutoCloseable tempHideWindow(Component c) swing {
  Window w = getWindow(c);
  if (w == null || !w.isVisible()) null;
  
  w.setVisible(false);
  ret -> w.setVisible(true);
}

Author comment

Began life as a copy of #1015171

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035246
Snippet name: tempHideWindow
Eternal ID of this version: #1035246/1
Text MD5: c63385933cbe5d9975f798995e512bc2
Transpilation MD5: 2db76f1d00798301ae8e36d26918f12c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-26 17:47:25
Source code size: 187 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 226
Referenced in: [show references]