svoid setText_noWait_sync(JTextComponent c, O text) { setText_noWait_sync((O) c, text); } svoid setText_noWait_sync(JLabel c, O text) { setText_noWait_sync((O) c, text); } svoid setText_noWait_sync(JButton c, O text) { setText_noWait_sync((O) c, text); } svoid setText_noWait_sync(fO c, O text) { final S s = str(text); awtIfNecessary { call(c, "setText", s); Toolkit.getDefaultToolkit().sync(); } }
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: | 466 / 494 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |