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

7
LINES

< > BotCompany Repo | #1004141 // setConsoleInputFontSize

JavaX fragment (include)

1  
static void setConsoleInputFontSize(int size) {
2  
  JTextField input = consoleInputField();
3  
  if (input != null) {
4  
    input.setFont(sansSerif(size));
5  
    revalidateFrame(input);
6  
  }
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004141
Snippet name: setConsoleInputFontSize
Eternal ID of this version: #1004141/1
Text MD5: 7d8f077841d375f87dda242d5ea386de
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-08 12:57:39
Source code size: 188 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 623 / 605
Referenced in: [show references]