1 | static int centerTopFrame_inset = 20; |
2 | |
3 | static JFrame centerTopFrame(Component c) { |
4 | JFrame f = getFrame(c); |
5 | if (f == null) null; |
6 | centerFrame(f); |
7 | f.setLocation(f.getLocation().x, centerTopFrame_inset); |
8 | ret f; |
9 | } |
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: | 518 / 537 |
Version history: | 3 change(s) |
Referenced in: | [show references] |