Libraryless. Click here for Pure Java version (17055L/104K).
1 | static ImageSurface swingDemoFont(Font font) { |
2 | ret showImage("Font Demo: " + font, renderText(font, lowerAndUpperCaseAlphabet())); |
3 | } |
4 | |
5 | static ImageSurface swingDemoFont(S fontSnippetID) { |
6 | ret showImage("Font Demo: " + fontSnippetID, renderText(loadFont_cached(fontSnippetID), lowerAndUpperCaseAlphabet())); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009047 |
Snippet name: | swingDemoFont - demo a font in a Swing window |
Eternal ID of this version: | #1009047/4 |
Text MD5: | f60025d306e0df0a2e1d73e6402f734d |
Transpilation MD5: | f5e5aef7ac8526ec623f433cbc91a101 |
Author: | stefan |
Category: | javax / desktop |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-20 19:46:40 |
Source code size: | 317 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 536 / 611 |
Version history: | 3 change(s) |
Referenced in: | [show references] |