Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1001142 - showText_fontSize function

JavaX fragment (include)

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));
}

Author comment

Began life as a copy of #1001106

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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: 490 / 602
Referenced in: [show references]

Formerly at http://tinybrain.de/1001142 & http://1001142.tinybrain.de