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

12
LINES

< > BotCompany Repo | #1003464 // getTitlePaneComponent

JavaX fragment (include)

1  
static JComponent getTitlePaneComponent(RootPaneContainer window) {
2  
  if (window instanceof JInternalFrame)
3  
	  ret getInternalFrameTitlePaneComponent((JInternalFrame) window);
4  
	  
5  
  if (!substanceLookAndFeelEnabled() || window == null) ret null;
6  
	JRootPane rootPane = window.getRootPane();
7  
	if (rootPane != null) {
8  
		O /*SubstanceRootPaneUI*/ ui = rootPane.getUI();
9  
		return (JComponent) call(ui, "getTitlePane");
10  
	}
11  
	return null;
12  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003464
Snippet name: getTitlePaneComponent
Eternal ID of this version: #1003464/5
Text MD5: 1a3df515a61b36033a7fd23fc96a26da
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-06 13:20:52
Source code size: 443 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 622 / 729
Version history: 4 change(s)
Referenced in: [show references]