Package com.vividsolutions.jtstest.testbuilder.ui.dnd

Examples of com.vividsolutions.jtstest.testbuilder.ui.dnd.FileDrop


    private void initFileDrop(Component comp, int index)
    {
      final int geomIndex = index;
     
      new FileDrop(comp, new FileDrop.Listener() {
        public void filesDropped(java.io.File[] files) {
          try {
            tbModel.loadMultipleGeometriesFromFile(geomIndex, files[0].getCanonicalPath());
            //(textArea).setText(FileUtil.readText(files[0]));
          } catch (Exception ex) {
View Full Code Here


      e.printStackTrace();
    }
  }

  private void initFileDrop(Component comp) {
    new FileDrop(comp, new FileDrop.Listener() {
      public void filesDropped(java.io.File[] files) {
        try {
          openXmlFilesAndDirectories(files);
        } catch (Exception ex) {
          SwingUtil.reportException(null, ex);
View Full Code Here

TOP

Related Classes of com.vividsolutions.jtstest.testbuilder.ui.dnd.FileDrop

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.