Libraryless. Click here for Pure Java version (9895L/55K).
static <A extends JTextField> A rightAlignTextField(A tf) { if (tf != null) swing { tf.setHorizontalAlignment(JTextField.RIGHT); } ret tf; }
Began life as a copy of #1007806
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036398 |
Snippet name: | rightAlignTextField |
Eternal ID of this version: | #1036398/1 |
Text MD5: | dba03745023f8a7d863d7d8d9784ee9b |
Transpilation MD5: | 21e6d9fa091b11e54a8e231fb202274f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-12-06 20:19:08 |
Source code size: | 147 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 128 / 181 |
Referenced in: | [show references] |