1 | static <A extends JTextComponent> A setBlinkRate(final int ms, final A a) { |
2 | if (a != null) swing { a.getCaret().setBlinkRate(ms); } |
3 | ret a; |
4 | } |
5 | |
6 | static <A extends JTextComponent> A setBlinkRate(final A a, final int ms) { |
7 | ret setBlinkRate(ms, a); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020968 |
Snippet name: | setBlinkRate |
Eternal ID of this version: | #1020968/3 |
Text MD5: | ae6687cbcec91656cf3e029c8ab61410 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-13 22:31:37 |
Source code size: | 253 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 302 / 343 |
Version history: | 2 change(s) |
Referenced in: | [show references] |