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

4
LINES

< > BotCompany Repo | #1006682 // isActiveFrame - maps to JFrame.isFocused()

JavaX fragment (include)

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

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: #1006682
Snippet name: isActiveFrame - maps to JFrame.isFocused()
Eternal ID of this version: #1006682/1
Text MD5: ce3ef655c82553f5d6df4ffdb5db50d4
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:50:31
Source code size: 105 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 515 / 558
Referenced in: [show references]