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

4
LINES

< > BotCompany Repo | #1006684 // isInForeground - maps to JFrame.isFocused() || isAlwaysOnTop()

JavaX fragment (include)

static bool isInForeground(Component c) {
  JFrame f = getFrame(c);
  ret f != null && (f.isFocused() || f.isAlwaysOnTop());
}

Author comment

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: 551 / 602
Referenced in: [show references]