Index: applications/editors/josm/plugins/sumoconvert/.classpath
===================================================================
--- applications/editors/josm/plugins/sumoconvert/.classpath	(revision 33920)
+++ applications/editors/josm/plugins/sumoconvert/.classpath	(revision 33921)
@@ -2,11 +2,6 @@
 <classpath>
 	<classpathentry kind="src" path="src"/>
-	<classpathentry kind="src" path="test/src"/>
-	<!-- <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
-	<classpathentry kind="lib" path="/JOSM/dist/josm-custom.jar" sourcepath="/JOSM/src"/>
-	<classpathentry kind="lib" path="/JOSM/test/build" sourcepath="/JOSM/test/functional"/>
-	<classpathentry kind="lib" path="test/config"/>
-	<classpathentry kind="output" path="build"/> -->
+	<classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+	<classpathentry kind="output" path="bin"/>
 </classpath>
Index: applications/editors/josm/plugins/sumoconvert/.project
===================================================================
--- applications/editors/josm/plugins/sumoconvert/.project	(revision 33921)
+++ applications/editors/josm/plugins/sumoconvert/.project	(revision 33921)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>JOSM-SumoConvert</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
Index: applications/editors/josm/plugins/sumoconvert/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- applications/editors/josm/plugins/sumoconvert/.settings/org.eclipse.jdt.core.prefs	(revision 33921)
+++ applications/editors/josm/plugins/sumoconvert/.settings/org.eclipse.jdt.core.prefs	(revision 33921)
@@ -0,0 +1,106 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnull.secondary=
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary=
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.problem.APILeak=warning
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
+org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
+org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
+org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.8
Index: applications/editors/josm/plugins/sumoconvert/README.template
===================================================================
--- applications/editors/josm/plugins/sumoconvert/README.template	(revision 33920)
+++ 	(revision )
@@ -1,95 +1,0 @@
-README 
-======
-
-This is a template project structure for a JOSM plugin.
-
-Layout
-======
-+--- src                                source of your plugin
-  |- images                             images your plugin needs
-  |- resources                          resources your plugin needs
-
-  README                                README for your plugin
-
-  GPL-v2.0.txt                          GPL version 2 license text
-  GPL-v3.0.txt                          GPL version 3 license text
-  
-  README.template                       this file 
-  
-  
-Build
-=====  
-A JOSM plugin is built as a single jar. We use ant to build.
-
-See build.xml in this directory and update the plugin specific properties in the
-configuration section.
-
-To get an command overview run
-    > ant help
-
-To build the plugin run
-    > ant  dist
-
-To install the generated plugin locally (in you default plugin directory) run
-    > ant  install
-
-The generated plugin jar is not automatically available in JOSMs plugin configuration
-dialog. You have to check it in first.
-
-Use the ant target 'publish' to check in the plugin and make it available to other
-JOSM users:
-    set the properties commit.message and plugin.main.version
-and run
-    > ant  publish
-
-Maintaining versions
-====================
-There are two versions maintained with each plugin:
-   1) the main version
-      This is the lowest JOSM version required by this plugin.
-      You have to manually set the plugins main version in the build script.
-      Set the property plugin.main.version in build.xml accordingly. 
-
-   2) the build version
-      The build version is unique for every build of the plugin. It is equal
-      to the SVN revision of your plugin directory. 
-
- Both the main version and the build version are included in properties of the plugins
- manifest:
-    Plugin-Version      the build version
-    Plugin-Mainversion  the main version
-
- JOSM automatically detects whether a plugin needs to be upgraded. It compares the build
- version of the currently installed plugin jar with the build version of the plugin jar in 
- the SVN. The main version is irrelevant for this process.  
- 
- Making your plugin available to JOSM users
- ===========================================
- When a plugin jar is checked into SVN a script updates the plugins list on the JOSM wiki:
-   http://josm.openstreetmap.de/wiki/Plugins
- JOSM retrieves the list of available plugins and their build versions from this list.
-
-            commit      publish               read
-                       meta data              meta data 
-      Build  ==>  SVN  =======>  JOSM Wiki   <======= JOSM 
-                   ^ 
-                   ==================================
-                            fetch current plugin jar 
- 
- Note that you have to manually publish (commit) your plugin jar. There is no nightly build
- in place. Everything else (pulishing meta data, updating plugins in the client) is then handled 
- by automatic processes. 
-
-See also
-========
-* Developing Plugins 
-  http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
-  
-* List of JOSM Plugins
-  http://josm.openstreetmap.de/wiki/Plugins
-  
-  
- 
-     
-
- 
Index: applications/editors/josm/plugins/sumoconvert/build.xml
===================================================================
--- applications/editors/josm/plugins/sumoconvert/build.xml	(revision 33920)
+++ applications/editors/josm/plugins/sumoconvert/build.xml	(revision 33921)
@@ -5,5 +5,5 @@
     <property name="commit.message" value="Commit message"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="10580"/>
+    <property name="plugin.main.version" value="12643"/>
 
     <!-- Configure these properties (replace "..." accordingly).
Index: applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/ExportTask.java
===================================================================
--- applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/ExportTask.java	(revision 33920)
+++ applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/ExportTask.java	(revision 33921)
@@ -4,5 +4,4 @@
 package org.openstreetmap.josm.plugins.sumoconvert;
 
-import java.io.File;
 import java.io.IOException;
 import java.util.Properties;
@@ -16,5 +15,4 @@
  *
  */
-
 public class ExportTask extends PleaseWaitRunnable {
 
@@ -30,29 +28,16 @@
 	}
 
-	/* (non-Javadoc)
-	 * @see org.openstreetmap.josm.gui.PleaseWaitRunnable#cancel()
-	 */
 	@Override
 	protected void cancel() {
 		// TODO Auto-generated method stub
-
 	}
 
-	/* (non-Javadoc)
-	 * @see org.openstreetmap.josm.gui.PleaseWaitRunnable#finish()
-	 */
 	@Override
 	protected void finish() {
 		// TODO Auto-generated method stub
-
 	}
 
-	/* (non-Javadoc)
-	 * @see org.openstreetmap.josm.gui.PleaseWaitRunnable#realRun()
-	 */
 	@Override
-	protected void realRun() throws SAXException, IOException,
-			OsmTransferException {
-		
+	protected void realRun() throws SAXException, IOException, OsmTransferException {
 		try {
 			Runtime.getRuntime().exec(sumoConvertProperties.getProperty("resources") +
@@ -61,10 +46,9 @@
 									  sumoConvertProperties.getProperty("netconvert.plainoutput"),
 									  null, 
-									  null//new File("C:\\Users\\ignacio_palermo\\AppData\\Roaming\\JOSM\\plugins\\sumoconvert")//resources
+									  null
 			); 			
 		} catch (IOException e) {
-		     e.printStackTrace();
-		    }
+		    e.printStackTrace();
+		}
 	}
-
 }
Index: applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/SumoConvertPlugin.java
===================================================================
--- applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/SumoConvertPlugin.java	(revision 33920)
+++ applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/SumoConvertPlugin.java	(revision 33921)
@@ -1,15 +1,7 @@
 package org.openstreetmap.josm.plugins.sumoconvert;
 
-import java.util.ArrayList;
-
-import org.openstreetmap.josm.Main;
-import org.openstreetmap.josm.data.osm.Relation;
-import org.openstreetmap.josm.gui.MapFrame;
-import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
+import org.openstreetmap.josm.gui.MainApplication;
 import org.openstreetmap.josm.plugins.Plugin;
 import org.openstreetmap.josm.plugins.PluginInformation;
-import org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsListDialog;
-import org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceEditor;
-import org.openstreetmap.josm.plugins.turnrestrictions.*;
 
 /**
@@ -19,5 +11,4 @@
 public class SumoConvertPlugin extends Plugin{
     
-	private final ArrayList<Relation> turnrestrictions = new ArrayList<Relation>();
 	private SumoExportAction exportAction;
 	
@@ -25,25 +16,5 @@
         super(info);
         exportAction = new SumoExportAction();
-        Main.main.menu.toolsMenu.add(exportAction);
-        System.out.println(getPluginDir());
-    }
-    
-    /**
-     * Called when the JOSM map frame is created or destroyed. 
-     */
-    @Override
-    public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {             
-        if (oldFrame == null && newFrame != null) { // map frame added
-        	
-            //TurnRestrictionsListDialog dialog  = new TurnRestrictionsListDialog();
-            //add the dialog
-            //newFrame.addToggleDialog(dialog);
-            //CreateOrEditTurnRestrictionAction.getInstance();
-        }
-    }
-
-    @Override
-    public PreferenceSetting getPreferenceSetting() {
-        return new PreferenceEditor();
+        MainApplication.getMenu().toolsMenu.add(exportAction);
     }
 }
Index: applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/SumoExportAction.java
===================================================================
--- applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/SumoExportAction.java	(revision 33920)
+++ applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/SumoExportAction.java	(revision 33921)
@@ -9,11 +9,7 @@
 import java.awt.event.KeyEvent;
 
-import javax.swing.JDialog;
-import javax.swing.JOptionPane;
-
-import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.actions.JosmAction;
+import org.openstreetmap.josm.gui.MainApplication;
 import org.openstreetmap.josm.tools.Shortcut;
-
 
 /**
@@ -30,20 +26,7 @@
     }
 
-	/* (non-Javadoc)
-	 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
-	 */
 	@Override
-	public void actionPerformed(ActionEvent arg0) {
-		SumoExportDialog dialog = new SumoExportDialog();
-        JOptionPane pane = new JOptionPane(dialog, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
-        JDialog dlg = pane.createDialog(Main.parent, tr("Export"));
-        dialog.setOptionPane(pane);
-        dlg.setVisible(true);
-        if(((Integer)pane.getValue()) == JOptionPane.OK_OPTION){
-            ExportTask task = new ExportTask();
-            Main.worker.execute(task);
-        }
-        dlg.dispose();
+	public void actionPerformed(ActionEvent e) {
+        MainApplication.worker.execute(new ExportTask());
 	}
-
 }
Index: applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/SumoExportDialog.java
===================================================================
--- applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/SumoExportDialog.java	(revision 33920)
+++ 	(revision )
@@ -1,131 +1,0 @@
-/**
- * 
- */
-package org.openstreetmap.josm.plugins.sumoconvert;
-
-import static org.openstreetmap.josm.tools.I18n.tr;
-
-import java.awt.GridBagConstraints;
-import java.awt.GridBagLayout;
-import java.awt.Insets;
-import java.awt.event.ActionListener;
-import java.util.Enumeration;
-import java.util.LinkedList;
-import java.util.List;
-
-import javax.swing.JButton;
-import javax.swing.JCheckBox;
-import javax.swing.JComboBox;
-import javax.swing.JDialog;
-import javax.swing.JLabel;
-import javax.swing.JList;
-import javax.swing.JOptionPane;
-import javax.swing.JPanel;
-import javax.swing.ListCellRenderer;
-
-import org.openstreetmap.josm.Main;
-
-/**
- * Main export dialog
- * @author ignacio_palermo
- *
- */
-public class SumoExportDialog extends JPanel {
-	// the JOptionPane that contains this dialog. required for the closeDialog() method.
-    private JOptionPane optionPane;
-    private JCheckBox delete;
-    private JComboBox portCombo;
-    
-
-    public SumoExportDialog() {
-        GridBagConstraints c = new GridBagConstraints();
-        JButton refreshBtn, configBtn;
-
-        setLayout(new GridBagLayout());
-
-        portCombo = new JComboBox();
-        
-        refreshPorts();
-        c.insets = new Insets(4,4,4,4);
-        c.gridwidth = 1;
-        c.weightx = 0.8;
-        c.fill = GridBagConstraints.HORIZONTAL;
-        c.gridx = 0;
-        c.gridy = 0;
-        add(new JLabel(tr("Port:")), c);
-
-        c.gridwidth = 1;
-        c.gridx = 1;
-        c.gridy = 0;
-        c.weightx = 1.5;
-        add(portCombo, c);
-
-        refreshBtn = new JButton(tr("Refresh"));
-        refreshBtn.addActionListener(new ActionListener(){
-                public void actionPerformed(java.awt.event.ActionEvent e){
-                    refreshPorts();
-                }
-            });
-        refreshBtn.setToolTipText(tr("refresh the port list"));
-        c.gridwidth = 1;
-        c.weightx = 1.0;
-        c.fill = GridBagConstraints.HORIZONTAL;
-        c.gridx = 2;
-        c.gridy = 0;
-        add(refreshBtn, c);
-
-        configBtn = new JButton(tr("Configure"));
-        configBtn.addActionListener(new ActionListener(){
-                public void actionPerformed(java.awt.event.ActionEvent e){
-                    System.out.println("configureing the device");
-                    try{
-
-                       
-                       
-                      
-
-                    }catch(Exception ex){
-                        JOptionPane.showMessageDialog(Main.parent, tr("Connection Error.") + " " + ex.toString());
-                    }
-                    System.out.println("configureing the device finised");
-                }
-            });
-        configBtn.setToolTipText(tr("configure the connected DG100"));
-        c.gridwidth = 1;
-        c.weightx = 1.0;
-        c.fill = GridBagConstraints.HORIZONTAL;
-        c.gridx = 2;
-        c.gridy = 1;
-        add(configBtn, c);
-
-
-        delete = new JCheckBox(tr("delete data after import"));
-        delete.setSelected(Main.pref.getBoolean("globalsat.deleteAfterDownload", false));
-
-        c.gridwidth = 3;
-        c.fill = GridBagConstraints.HORIZONTAL;
-        c.gridx = 0;
-        c.gridy = 2;
-        add(delete, c);
-    }
-
-    public void refreshPorts(){
-        String sel = Main.pref.get("globalsat.portIdentifier");
-        portCombo.setVisible(false);
-        portCombo.removeAllItems();
-        portCombo.setVisible(true);
-
-    }
-
-    public boolean deleteFilesAfterDownload(){
-        return delete.isSelected();
-    }
-
-    /**
-     * Has to be called after this dialog has been added to a JOptionPane.
-     * @param optionPane
-     */
-    public void setOptionPane(JOptionPane optionPane) {
-        this.optionPane = optionPane;
-    }
-}
