1 | svoid setText_noWait_sync(JTextComponent c, O text) {
|
2 | setText_noWait_sync((O) c, text); |
3 | } |
4 | |
5 | svoid setText_noWait_sync(JLabel c, O text) {
|
6 | setText_noWait_sync((O) c, text); |
7 | } |
8 | |
9 | svoid setText_noWait_sync(JButton c, O text) {
|
10 | setText_noWait_sync((O) c, text); |
11 | } |
12 | |
13 | svoid setText_noWait_sync(fO c, O text) {
|
14 | final S s = str(text); |
15 | awtIfNecessary {
|
16 | call(c, "setText", s); |
17 | Toolkit.getDefaultToolkit().sync(); |
18 | } |
19 | } |
Began life as a copy of #1006756
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: | #1006965 |
| Snippet name: | setText_noWait_sync - syncs with screen |
| Eternal ID of this version: | #1006965/1 |
| Text MD5: | d751cdbd4202d41494b509fcae73e415 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-02-21 13:13:37 |
| Source code size: | 440 bytes / 19 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 692 / 723 |
| Referenced in: | [show references] |