static void showText_fontSize(S title, S text, int fontSize) { JTextArea textArea = new JTextArea(text); textArea.setFont(new Font(Font.SANS_SERIF, Font.PLAIN, fontSize)); makeFrame(title, new JScrollPane(textArea)); }
Began life as a copy of #1001106
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: | #1001142 |
Snippet name: | showText_fontSize function |
Eternal ID of this version: | #1001142/1 |
Text MD5: | 77b97d898b811b42829bc6e1b56f9f95 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-09-24 17:55:23 |
Source code size: | 228 bytes / 5 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 712 / 925 |
Referenced in: | [show references] |