Libraryless. Click here for Pure Java version (2361L/16K/55K).
1 | !752 |
2 | |
3 | p { |
4 | JTextPane pane = new JTextPane(); |
5 | appendColoredText(pane, Color.green, "Hello! \n"); |
6 | appendColoredText(pane, Color.blue, "World :)\n"); |
7 | showFrame("Courier?", pane); |
8 | } |
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: | 694 / 693 |
Referenced in: | [show references] |