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

9
LINES

< > BotCompany Repo | #1014731 // addFontChangersToTitleMenu

JavaX fragment (include)

static void addFontChangersToTitleMenu(Component c, fO rebuild) {
  final JFrame f = getFrame(c);
  titlePopupMenuItem(f, "Bigger fonts", r {
    swingBiggerFonts(); disposeWindow(f); callF(rebuild);
  });
  titlePopupMenuItem(f, "Smaller fonts", r {
    swingSmallerFonts(); disposeWindow(f); callF(rebuild);
  });
}

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: #1014731
Snippet name: addFontChangersToTitleMenu
Eternal ID of this version: #1014731/2
Text MD5: abd43f3eb8f03816b1046b83da40b060
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-01 14:57:11
Source code size: 325 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 424 / 457
Version history: 1 change(s)
Referenced in: [show references]