本文整理了Java中javax.swing.JDesktopPane.putClientProperty()
方法的一些代码示例,展示了JDesktopPane.putClientProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JDesktopPane.putClientProperty()
方法的具体详情如下:
包路径:javax.swing.JDesktopPane
类名称:JDesktopPane
方法名:putClientProperty
暂无
代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql
public void putClientProperty(String key, String value)
{
super.putClientProperty(key, value);
}
代码示例来源:origin: realXuJiang/bigtable-sql
public void putClientProperty(String key, String value)
{
super.putClientProperty(key, value);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/skinlf
/**
* Constructor for the InternalTest object
*/
InternalTest() {
setLayout(new BorderLayout());
JDesktopPane desk = new JDesktopPane();
add("Center", new JScrollPane(desk));
desk.putClientProperty("JDesktopPane.backgroundEnabled", Boolean.TRUE);
JInternalFrame frame = new JInternalFrame("A Frame", true, true, true, true);
frame.getContentPane().add(new JButton("Ola"));
frame.setVisible(true);
frame.setSize(200, 100);
desk.add(frame);
frame = new JInternalFrame("An other Frame", true, true, true, true);
frame.getContentPane().add(new JButton("Hello"));
frame.setMaximizable(false);
frame.setVisible(true);
frame.setSize(200, 200);
frame.setLocation(50, 50);
desk.add(frame);
}
}
内容来源于网络,如有侵权,请联系作者删除!