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

9
LINES

< > BotCompany Repo | #1009737 // Try putting an image in JTextPane [WORKS]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (2829L/20K).

!7

p-substance {
  JTextPane pane = jtextpane("Fett ", style_bold());
  pane.insertIcon(imageIcon(#1009667));
  appendToTextPane(pane, " Schräg.", style_italic());
  textPane_paragraphAttributes(pane, style_center());
  showFrame(pane);
}

Author comment

Began life as a copy of #1000992

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: #1009737
Snippet name: Try putting an image in JTextPane [WORKS]
Eternal ID of this version: #1009737/5
Text MD5: 36599c5660136afe5ea78506f8411ad4
Transpilation MD5: 557efb66341b701347a4bef499685bb8
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-15 18:59:47
Source code size: 248 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 490 / 1096
Version history: 4 change(s)
Referenced in: