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

9
LINES

< > BotCompany Repo | #1005103 // consoleInputFont - set font of console input field

JavaX fragment (include)

static void consoleInputFont(final Font f) {
  swing {
    JTextField input = consoleInputField();
    if (input != null) {
      input.setFont(f);
      revalidateFrame(input);
    }
  }
}

Author comment

Began life as a copy of #1004141

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: #1005103
Snippet name: consoleInputFont - set font of console input field
Eternal ID of this version: #1005103/3
Text MD5: a095fc6ddf639164b3efc07d5af99efb
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-02 19:19:46
Source code size: 197 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 499 / 477
Version history: 2 change(s)
Referenced in: [show references]