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

13
LINES

< > TinyBrain | #1007375 - Try modifying Substance title pane (show heap status widget, OK)

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

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

!7

import org.pushingpixels.substance.api.SubstanceConstants.SubstanceWidgetType;

p-substance {
  JFrame f = showFrame();
  JComponent title = getTitlePaneComponent(f);
  assertNotNull("no title", title);
  printComponentTree(title);
  
  SubstanceLookAndFeel.setWidgetVisible(f.getRootPane(), true,
      SubstanceWidgetType.TITLE_PANE_HEAP_STATUS);
}

download  show line numbers  debug dex   

Travelled to 4 computer(s): cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, tvejysmllsmz

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: 102 / 115
Version history: 3 change(s)
Referenced in: [show]