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

13
LINES

< > BotCompany Repo | #1015902 // Try JInternalFrame with larger title font (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7089L/47K).

1  
!7
2  
3  
p-noconsole {
4  
  JDesktopPane desktop = jDesktopPane();
5  
  showFrame(desktop);
6  
  
7  
  for (int size : ll(20, 40, 60)) {
8  
    JInternalFrame f = addInternalFrame(desktop, "Hello " + size);
9  
    JComponent title = getInternalFrameTitlePaneComponent(f);
10  
    setFontSize(title, size);
11  
    internalFrameIcon(f, null);
12  
  }
13  
}

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: #1015902
Snippet name: Try JInternalFrame with larger title font (OK)
Eternal ID of this version: #1015902/6
Text MD5: 8d271bdceb93a5c51acf4d57bc888440
Transpilation MD5: 12d0606ed8c124a2cc8261fde75a1c82
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-29 23:07:27
Source code size: 328 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 664 / 1410
Version history: 5 change(s)
Referenced in: [show references]