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  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: 653 / 857
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)