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

9
LINES

< > BotCompany Repo | #1005321 // jCenteredTextField - now with undo

JavaX fragment (include)

static JTextField jCenteredTextField() {
  ret setHorizontalAlignment(JTextField.CENTER, jtextfield());
}

static JTextField jCenteredTextField(S text) {
  JTextField tf = jCenteredTextField();
  setText(tf, text);
  ret tf;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005321
Snippet name: jCenteredTextField - now with undo
Eternal ID of this version: #1005321/5
Text MD5: 5c3c975fd51383fafa11f90143396e01
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-02 17:59:31
Source code size: 234 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 548 / 621
Version history: 4 change(s)
Referenced in: [show references]