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

13
LINES

< > TinyBrain | #1007375 - Try modifying Substance title pane

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

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

!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 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1007375
Snippet name: Try modifying Substance title pane
Eternal ID of this version: #1007375/3
Text MD5: d5b3da6675b3c41c204bea603b18971f
Transpilation MD5: 6a40179d170d95d9f8438a2128540565
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-20 13:54:09
Source code size: 366 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 50 / 45
Version history: 2 change(s)
Referenced in: [show]