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

7
LINES

< > BotCompany Repo | #1005454 // jcenteredLabel - makes fully centered label

JavaX fragment (include)

static JLabel jcenteredLabel(S text) {
  ret setHorizontalAlignment(JLabel.CENTER, jLabel(text));
}

static JLabel jcenteredLabel() {
  ret jcenteredLabel(" ");
}

Author comment

Began life as a copy of #1005086

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005454
Snippet name: jcenteredLabel - makes fully centered label
Eternal ID of this version: #1005454/6
Text MD5: a47b52848a934d20b2ce18442ad19ea9
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-05 12:17:14
Source code size: 170 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 525 / 587
Version history: 5 change(s)
Referenced in: [show references]