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

13
LINES

< > BotCompany Repo | #1007375 // Try modifying Substance title pane (show heap status widget, OK)

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

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

1  
!7
2  
3  
import org.pushingpixels.substance.api.SubstanceConstants.SubstanceWidgetType;
4  
5  
p-substance {
6  
  JFrame f = showFrame();
7  
  JComponent title = getTitlePaneComponent(f);
8  
  assertNotNull("no title", title);
9  
  printComponentTree(title);
10  
  
11  
  SubstanceLookAndFeel.setWidgetVisible(f.getRootPane(), true,
12  
      SubstanceWidgetType.TITLE_PANE_HEAP_STATUS);
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: #1007375
Snippet name: Try modifying Substance title pane (show heap status widget, OK)
Eternal ID of this version: #1007375/4
Text MD5: d5b3da6675b3c41c204bea603b18971f
Transpilation MD5: 7e7c1b0f0f8bb5f75f06db57ef5942af
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-07 13:22:21
Source code size: 366 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 708 / 1215
Version history: 3 change(s)
Referenced in: [show references]