Package y.module.io

Examples of y.module.io.GMLOutput


     */
    public void actionPerformed(ActionEvent arg0) {
        JFileChooser fileChooser = new JFileChooser();
        if (fileChooser.showSaveDialog(fGraphPanel) == JFileChooser.APPROVE_OPTION) {
            String fileName = fileChooser.getSelectedFile().getPath();
            GMLOutput outputModule = new GMLOutput();
            try {
                outputModule.setURL(new URL("file://" + fileName));
                outputModule.startAsThread(fGraphPanel.getGraph());
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
    }
View Full Code Here

TOP

Related Classes of y.module.io.GMLOutput

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.