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

9
LINES

< > BotCompany Repo | #1014731 // addFontChangersToTitleMenu

JavaX fragment (include)

1  
static void addFontChangersToTitleMenu(Component c, fO rebuild) {
2  
  final JFrame f = getFrame(c);
3  
  titlePopupMenuItem(f, "Bigger fonts", r {
4  
    swingBiggerFonts(); disposeWindow(f); callF(rebuild);
5  
  });
6  
  titlePopupMenuItem(f, "Smaller fonts", r {
7  
    swingSmallerFonts(); disposeWindow(f); callF(rebuild);
8  
  });
9  
}

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: 426 / 460
Version history: 1 change(s)
Referenced in: [show references]