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

12
LINES

< > BotCompany Repo | #1033803 // setBorder

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (4711L) is out of date.

import javax.swing.border.*;

static <A extends JComponent> A setBorder(Border border, A c) {
  if (c != null) swing { c.setBorder(border); }
  ret c;
}



static <A extends JComponent> A setBorder(A c, Border border) {
  ret setBorder(border, c);
}

Author comment

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: 166 / 233
Version history: 2 change(s)
Referenced in: [show references]