Package jsynoptic.plugins.svg

Examples of jsynoptic.plugins.svg.SvgImagePreview


                    // Add a custom file filter and disable the default
                    fileChooser.setAcceptAllFileFilterUsed(false);
                    // add the optionnal (Accept All) file filter.
                    fileChooser.addChoosableFileFilter(new SvgFileFilter());
                    // Add the preview pane.
                    fileChooser.setAccessory(svgPreview = new SvgImagePreview(fileChooser));
                    File svgDirectory = ((defaultDirectory != null) && defaultDirectory.exists()) ? defaultDirectory
                            : CurrentPathProvider.currentPathProvider.getCurrentPath();
                    fileChooser.setCurrentDirectory(svgDirectory);
                }
                fileChooser.setSelectedFile(currentFile);
View Full Code Here

TOP

Related Classes of jsynoptic.plugins.svg.SvgImagePreview

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.