本文整理了Java中javax.swing.JDesktopPane.setVisible()
方法的一些代码示例,展示了JDesktopPane.setVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JDesktopPane.setVisible()
方法的具体详情如下:
包路径:javax.swing.JDesktopPane
类名称:JDesktopPane
方法名:setVisible
暂无
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction
@Override
public void setVisible(boolean aValue) {
super.setVisible(aValue);
}
代码示例来源:origin: com.numdata/numdata-swing
public void internalFrameClosed( final InternalFrameEvent e )
{
removeWindow( e.getInternalFrame() );
if ( getVisibleWindowCount() == 0 )
{
_desktop.setVisible( false );
}
for ( final InternalFrameListener listener : _listeners )
{
listener.internalFrameClosed( e );
}
}
代码示例来源:origin: stackoverflow.com
JInternalFrame frmUpdateData = null;
frmUpdateData = new JInternalFrame("Test", true, true);
frmUpdateData.setBounds(0, 0, 200, 200);
JDesktopPane desktopPane = new JDesktopPane();
desktopPane.setBounds(0, 0, 600, 600);
desktopPane.add(frmUpdateData);
desktopPane.setVisible(true);
frmUpdateData.setVisible(true);
JFrame frame = new JFrame();
frame.setBounds(0, 0, 600, 600);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().add(desktopPane);
frame.setVisible(true);
while (frmUpdateData != null && !frmUpdateData.isClosed()) {
try {
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
JOptionPane.showMessageDialog(null, "Done");
代码示例来源:origin: cytoscape/application
Cytoscape.getDesktop().getNetworkViewManager().getDesktopPane().setVisible(false);
for (CyNetwork network : networks) {
getNetworkMap().put(network.getIdentifier(), network);
Cytoscape.getDesktop().getNetworkViewManager().getDesktopPane().setVisible(true);
代码示例来源:origin: com.numdata/numdata-swing
_desktop.setVisible( true );
内容来源于网络,如有侵权,请联系作者删除!