Libraryless. Click here for Pure Java version (7877L/44K).
1 | static AutoCloseable tempHideWindow(Component c) swing { |
2 | Window w = getWindow(c); |
3 | if (w == null || !w.isVisible()) null; |
4 | |
5 | w.setVisible(false); |
6 | ret -> w.setVisible(true); |
7 | } |
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: | 189 / 228 |
Referenced in: | [show references] |