public void duplicate() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuCutCopyPasteInterface) ((BuCutCopyPasteInterface) frame).duplicate(); else System.err.println(frame + " doesn't implement BuCutCopyPasteInterface"); }
public void undo() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuUndoRedoInterface) ((BuUndoRedoInterface) frame).undo(); else System.err.println(frame + " doesn't implement BuUndoRedoInterface"); }
public void select() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuSelectFindReplaceInterface) ((BuSelectFindReplaceInterface) frame).select(); else System.err.println(frame + " doesn't implement BuSelectFindReplaceInterface"); }
public void find() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuSelectFindReplaceInterface) ((BuSelectFindReplaceInterface) frame).find(); else System.err.println(frame + " doesn't implement BuSelectFindReplaceInterface"); }
public void replace() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuSelectFindReplaceInterface) ((BuSelectFindReplaceInterface) frame).replace(); else System.err.println(frame + " doesn't implement BuSelectFindReplaceInterface"); }
public void cut() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuCutCopyPasteInterface) ((BuCutCopyPasteInterface) frame).cut(); else System.err.println(frame + " doesn't implement BuCutCopyPasteInterface"); }
public void copy() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuCutCopyPasteInterface) ((BuCutCopyPasteInterface) frame).copy(); else System.err.println(frame + " doesn't implement BuCutCopyPasteInterface"); }
public void paste() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuCutCopyPasteInterface) ((BuCutCopyPasteInterface) frame).paste(); else System.err.println(frame + " doesn't implement BuCutCopyPasteInterface"); }
public void redo() { JInternalFrame frame = getCurrentInternalFrame(); if (frame instanceof BuUndoRedoInterface) ((BuUndoRedoInterface) frame).redo(); else System.err.println(frame + " doesn't implement BuUndoRedoInterface"); }
public void close() { if (isCloseFrameMode()) { JInternalFrame frame = getCurrentInternalFrame(); if (!frame.isClosed() && frame.isClosable()) { try { frame.setClosed(true); } catch (PropertyVetoException ex) {} } } }
JInternalFrame activated = _impl.getCurrentInternalFrame(); final List availableFrame = new ArrayList(frs.length); for (int i = 0; i < frs.length; i++) {
public void fullscreen() { if (!(getApp() instanceof JFrame)) return; final JInternalFrame frame = getCurrentInternalFrame(); if (frame == null) return;