This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
public CloneableEditor(CloneableEditorSupport support, boolean associateLookup) {
super();
this.support = support;
setReference( (CloneableTopComponent.Ref)support.getLock() );
updateName();
_setCloseOperation();
setMinimumSize(new Dimension(10, 10));
return false;
}
// close everything and do not ask
synchronized (CLOSE_LAST_LOCK) {
if (CLOSE_LAST_LOCK[0]) {
support.notifyClosed();
if (support.getLastSelected() == this) {
support.setLastSelected(null);
CloneableTopComponent editor = createCloneableTopComponent();
editor.setReference(allEditors);
// editor.setReference(allEditors);
editor.open();
msg = messageOpened();