1 | static void centerConsoleInput() { |
2 | JTextField tf = consoleInputField(); |
3 | if (tf != null) tf.setHorizontalAlignment(JTextField.CENTER); |
4 | } |
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: | 470 / 508 |
Referenced in: | [show references] |