本文整理了Java中javax.swing.JDialog.getLayeredPane()
方法的一些代码示例,展示了JDialog.getLayeredPane()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JDialog.getLayeredPane()
方法的具体详情如下:
包路径:javax.swing.JDialog
类名称:JDialog
方法名:getLayeredPane
暂无
代码示例来源:origin: freeplane/freeplane
public JLayeredPane getLayeredPane() {
return dialog.getLayeredPane();
}
代码示例来源:origin: stackoverflow.com
JDialog.setDefaultLookAndFeelDecorated(true);
JDialog dialog = new JDialog(frame, "Test");
dialog.getLayeredPane().getComponent(1).setFont(new Font("Lucida",Font.PLAIN,48));
dialog.setSize(300,100);
dialog.setLocation(400,200);
dialog.setVisible(true);
代码示例来源:origin: stackoverflow.com
label.setSize(label.getPreferredSize());
label.setLocation(0, 0);
dialog.getLayeredPane().add(label, new Integer(1));
代码示例来源:origin: org.bidib.jbidib.com.vldocking/vldocking
} else if(aboveWindow instanceof JDialog) {
JDialog dlg = (JDialog) aboveWindow;
dlg.getLayeredPane().add(heavyShape, JLayeredPane.DRAG_LAYER);
heavyShape.validate();
dlg.getLayeredPane().add(heavyShape.label, JLayeredPane.DRAG_LAYER);
内容来源于网络,如有侵权,请联系作者删除!