本文整理了Java中javax.swing.JInternalFrame.setName()
方法的一些代码示例,展示了JInternalFrame.setName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JInternalFrame.setName()
方法的具体详情如下:
包路径:javax.swing.JInternalFrame
类名称:JInternalFrame
方法名:setName
暂无
代码示例来源:origin: net.sourceforge.ondex.apps/ovtk2
@Override
public void setName(String s) {
super.setName(s);
WindowRegister.getInstance().update();
}
代码示例来源:origin: stackoverflow.com
internalFrame.add(tx);
i+=1;
internalFrame.setName("Document"+i);
internalFrame.setTitle(fileName);
tp.add(internalFrame);
代码示例来源:origin: net.sourceforge.ondex.apps/ovtk2
/**
* Creates a <code>JInternalFrame</code> with the specified title,
* resizability, closability, maximizability, and iconifiability. All
* <code>JInternalFrame</code> constructors use this one.
*
* @param name
* the name of this frame
* @param group
* the group this frame belongs to
* @param title
* the <code>String</code> to display in the title bar
* @param resizable
* if <code>true</code>, the internal frame can be resized
* @param closable
* if <code>true</code>, the internal frame can be closed
* @param maximizable
* if <code>true</code>, the internal frame can be maximized
* @param iconifiable
* if <code>true</code>, the internal frame can be iconified
*/
public RegisteredJInternalFrame(String name, String group, String title, boolean resizable, boolean closable, boolean maximizable, boolean iconifiable) {
super(title, resizable, closable, maximizable, iconifiable);
super.setName(name);
this.group = group;
WindowRegister.getInstance().registerInternalFrame(this);
this.addInternalFrameListener(this);
}
代码示例来源:origin: stackoverflow.com
final String filePath=file.getAbsolutePath();
i++;
internalFrame.setName("Doc "+i);
tx=new JTextArea();
internalFrame.setTitle(filename);
代码示例来源:origin: stackoverflow.com
text.setFont(new java.awt.Font("Miriam Fixed", 0, 13));
i += 1;
internalFrame.setName("Doc " + i);
JScrollPane scrollpane = new JScrollPane(text);
internalFrame.setTitle(title);
代码示例来源:origin: stackoverflow.com
final JInternalFrame internalFrame = new JInternalFrame("");
i++;
internalFrame.setName("Document"+i);
internalFrame.setClosable(true);
internalFrame.setAutoscrolls(true);
代码示例来源:origin: net.java.dev.designgridlayout/designgridlayout
frame.setName("INTERNAL");
frame.setLocation(30, 30);
内容来源于网络,如有侵权,请联系作者删除!