1 | static void showText_fontSize(S title, S text, int fontSize) { |
2 | JTextArea textArea = new JTextArea(text); |
3 | textArea.setFont(new Font(Font.SANS_SERIF, Font.PLAIN, fontSize)); |
4 | makeFrame(title, new JScrollPane(textArea)); |
5 | } |
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: | 714 / 928 |
Referenced in: | [show references] |