static int centerTopFrame_inset = 20; static JFrame centerTopFrame(Component c) { JFrame f = getFrame(c); if (f == null) null; centerFrame(f); f.setLocation(f.getLocation().x, centerTopFrame_inset); ret f; }
Began life as a copy of #1001308
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: | #1006701 |
Snippet name: | centerTopFrame - center, move to top of screen |
Eternal ID of this version: | #1006701/4 |
Text MD5: | 03510e2a67c83a60754a303cccea8692 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-03 18:26:08 |
Source code size: | 226 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 499 / 516 |
Version history: | 3 change(s) |
Referenced in: | [show references] |