1 | static JTextArea wrappedTextArea(final JTextArea ta) { |
2 | enableWordWrapForTextArea(ta); |
3 | ret ta; |
4 | } |
5 | |
6 | static JTextArea wrappedTextArea() { |
7 | ret wrappedTextArea(jtextarea()); |
8 | } |
9 | |
10 | static JTextArea wrappedTextArea(S text) { |
11 | JTextArea ta = wrappedTextArea(); |
12 | setText(ta, text); |
13 | ret ta; |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003427 |
Snippet name: | wrappedTextArea - JTextArea with word wrapping |
Eternal ID of this version: | #1003427/6 |
Text MD5: | 08a4646806f642b17993efe6bc2ebdd3 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-02 21:16:51 |
Source code size: | 301 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 701 / 853 |
Version history: | 5 change(s) |
Referenced in: | [show references] |