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

5
LINES

< > BotCompany Repo | #1024160 // defaultStyledDocumentFromString

JavaX fragment (include)

static DefaultStyledDocument defaultStyledDocumentFromString(S text) ctex {
  new DefaultStyledDocument doc;
  doc.insertString(0, text, null);
  ret doc;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024160
Snippet name: defaultStyledDocumentFromString
Eternal ID of this version: #1024160/2
Text MD5: 0f0aab907d032acac7314810b2b78bbf
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-23 21:59:52
Source code size: 160 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 312 / 320
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)