Transpiled version (7614L) is out of date.
1 | static JFrame showCenterFrame(S title, int w, int h) { |
2 | ret showCenterFrame(title, w, h, null); |
3 | } |
4 | |
5 | static JFrame showCenterFrame(Pt size, S title default defaultFrameTitle(), Component content) { |
6 | ret showCenterFrame(title, size.x, size.y, content); |
7 | } |
8 | |
9 | static JFrame showCenterFrame(int w, int h, Component content) { |
10 | ret showCenterFrame(defaultFrameTitle(), w, h, content); |
11 | } |
12 | |
13 | static JFrame showCenterFrame(S title, int w, int h, Component content) { |
14 | JFrame frame = makeFrame(title, content); |
15 | setSize(frame, w, h); |
16 | ret centerFrame(frame); |
17 | } |
18 | |
19 | static JFrame showCenterFrame(int w, int h, S title, Component content) { |
20 | ret showCenterFrame(title, w, h, content); |
21 | } |
22 | |
23 | static JFrame showCenterFrame(S title, Component content) { |
24 | ret centerFrame(makeFrame(title, content)); |
25 | } |
26 | |
27 | |
28 | static JFrame showCenterFrame(Component content) { |
29 | ret centerFrame(makeFrame(content)); |
30 | } |
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: | #1003375 |
Snippet name: | showCenterFrame |
Eternal ID of this version: | #1003375/9 |
Text MD5: | 551d53f751aabe715625a39a82a1a653 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-25 20:09:08 |
Source code size: | 905 bytes / 30 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 626 / 663 |
Version history: | 8 change(s) |
Referenced in: | [show references] |