Package org.freeplane.core.ui.components

Examples of org.freeplane.core.ui.components.BitmapImagePreview


    filter.setDescription(TextUtils.getText("bitmaps"));
    final UrlManager urlManager = (UrlManager) modeController.getExtension(UrlManager.class);
    final JFileChooser chooser = urlManager.getFileChooser(null, false);
    chooser.setFileFilter(filter);
    chooser.setAcceptAllFileFilterUsed(false);
    chooser.setAccessory(new BitmapImagePreview(chooser));
    final int returnVal = chooser.showOpenDialog(viewController.getContentPane());
    if (returnVal != JFileChooser.APPROVE_OPTION) {
      return;
    }
    final File input = chooser.getSelectedFile();
View Full Code Here

TOP

Related Classes of org.freeplane.core.ui.components.BitmapImagePreview

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.