static bool isInForeground(Component c) { JFrame f = getFrame(c); ret f != null && (f.isFocused() || f.isAlwaysOnTop()); }
Began life as a copy of #1006682
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: | #1006684 |
Snippet name: | isInForeground - maps to JFrame.isFocused() || isAlwaysOnTop() |
Eternal ID of this version: | #1006684/1 |
Text MD5: | 9ce7b5d37aa5077c8dcb79b5d1078e63 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-31 03:57:06 |
Source code size: | 129 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 553 / 603 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |