Transpiled version (4711L) is out of date.
1 | import javax.swing.border.*; |
2 | |
3 | static <A extends JComponent> A setBorder(Border border, A c) { |
4 | if (c != null) swing { c.setBorder(border); } |
5 | ret c; |
6 | } |
7 | |
8 | |
9 | |
10 | static <A extends JComponent> A setBorder(A c, Border border) { |
11 | ret setBorder(border, c); |
12 | } |
Began life as a copy of #1033802
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033803 |
Snippet name: | setBorder |
Eternal ID of this version: | #1033803/3 |
Text MD5: | 1b8f238537515104b804d3fa0bac1a42 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-25 20:24:09 |
Source code size: | 256 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 167 / 234 |
Version history: | 2 change(s) |
Referenced in: | [show references] |