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

7
LINES

< > BotCompany Repo | #1034792 // jnarrowLabel - JLabel with small minimum width

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

Libraryless. Click here for Pure Java version (7201L/40K).

static JLabel jnarrowLabel(int width default 50, S text default "") {
  ret jMinWidth_pure(width, jlabel(text));
}

static JLabel jnarrowLabel(int width default 50, JLabel lbl) {
  ret jMinWidth_pure(width, lbl);
}

Author comment

Began life as a copy of #1004434

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034792
Snippet name: jnarrowLabel - JLabel with small minimum width
Eternal ID of this version: #1034792/5
Text MD5: 82bde746630dc6ed7930f478c9cb02ef
Transpilation MD5: 81141d0c90af93433ed94f24cc382a81
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-10 17:09:16
Source code size: 220 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 149 / 236
Version history: 4 change(s)
Referenced in: [show references]