1 | static JTextField jCenteredTextField() { |
2 | ret setHorizontalAlignment(JTextField.CENTER, jtextfield()); |
3 | } |
4 | |
5 | static JTextField jCenteredTextField(S text) { |
6 | JTextField tf = jCenteredTextField(); |
7 | setText(tf, text); |
8 | ret tf; |
9 | } |
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: | 551 / 625 |
Version history: | 4 change(s) |
Referenced in: | [show references] |