Package bdsup2sub.gui.move

Examples of bdsup2sub.gui.move.MoveDialog


    private class MoveAllMenuItemActionListener implements ActionListener {
        @Override
        public void actionPerformed(ActionEvent event) {
            if (Core.isReady()) {
                MoveDialog moveDialog = new MoveDialog(view);
                moveDialog.setCurrentSubtitleIndex(model.getSubIndex());
                moveDialog.setVisible(true);
                if (model.getMoveCaptions()) {
                    try {
                        Core.moveAllThreaded(view);
                    } catch (CoreException ex) {
                        view.error(ex.getMessage());
                    } catch (Exception ex) {
                        ToolBox.showException(ex);
                        view.exit(4);
                    }
                }
                model.setSubIndex(moveDialog.getCurrentSubtitleIndex());
                view.setLayoutPaneAspectRatio(moveDialog.getTrgRatio());
                try {
                    int subIndex = model.getSubIndex();
                    Core.convertSup(subIndex, subIndex + 1, Core.getNumFrames());
                    view.refreshSrcFrame(subIndex);
                    view.refreshTrgFrame(subIndex);
View Full Code Here

TOP

Related Classes of bdsup2sub.gui.move.MoveDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.