Package edu.harvard.wcfia.yoshikoder.ui

Examples of edu.harvard.wcfia.yoshikoder.ui.ComparisonPanel


        super(yk, DictionaryRRDocumentComparisonAction.class.getName());
    }

    public void actionPerformed(ActionEvent e) {
        if (yoshikoder.getProject().getDocumentList().size() > 1){
            ComparisonPanel panel = new ComparisonPanel(yoshikoder);
           
            int ret = JOptionPane.showConfirmDialog(yoshikoder, panel, "Comparison",
                    JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
            if (ret != JOptionPane.OK_OPTION) return;
           
            final YKDocument doc1 = panel.getFirstDocument();
            final YKDocument doc2 = panel.getSecondDocument();
           
            if ((doc1 == null) || (doc2 == null)){
                return;           
            }
           
View Full Code Here

TOP

Related Classes of edu.harvard.wcfia.yoshikoder.ui.ComparisonPanel

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.