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

4
LINES

< > BotCompany Repo | #1009744 // centerConsoleInput - center-align console input field

JavaX fragment (include)

static void centerConsoleInput() {
  JTextField tf = consoleInputField();
  if (tf != null) tf.setHorizontalAlignment(JTextField.CENTER);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009744
Snippet name: centerConsoleInput - center-align console input field
Eternal ID of this version: #1009744/1
Text MD5: 14969bf82ef6ddf736891d3f1a4edacd
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-15 20:16:39
Source code size: 142 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 469 / 507
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)