Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1003427 // wrappedTextArea - JTextArea with word wrapping

JavaX fragment (include)

static JTextArea wrappedTextArea(final JTextArea ta) {
  enableWordWrapForTextArea(ta);
  ret ta;
}

static JTextArea wrappedTextArea() {
  ret wrappedTextArea(jtextarea());
}

static JTextArea wrappedTextArea(S text) {
  JTextArea ta = wrappedTextArea();
  setText(ta, text);
  ret ta;
}

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: 602 / 754
Version history: 5 change(s)
Referenced in: [show references]