Libraryless. Click here for Pure Java version (2361L/16K/55K).
!752 p { JTextPane pane = new JTextPane(); appendColoredText(pane, Color.green, "Hello! \n"); appendColoredText(pane, Color.blue, "World :)\n"); showFrame("Courier?", pane); }
Began life as a copy of #1001521
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001522 |
Snippet name: | Swing: Courier font, two colors, bigger and bolder (size 14) |
Eternal ID of this version: | #1001522/1 |
Text MD5: | f7a6f48e8cfa5badef682971d1a38cf4 |
Transpilation MD5: | c0418b29a6134066619e6da1bec1c9cb |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-09-13 06:10:02 |
Source code size: | 193 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 693 / 691 |
Referenced in: | #1001523 - showColoredText #1001526 - Swing: Courier New? #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |