Merge branch 'master' of schwann.lupus:/git/java/org.hwo.ui

thobaben_diagram
Harald Wolff 2016-12-02 09:14:30 +01:00
commit c1e2e08f66
2 changed files with 5 additions and 1 deletions

View File

@ -453,7 +453,7 @@ public class TableMapper extends AbstractTableModel
this.sortingEnabled = sortingEnabled;
initializeJTable();
}
public TableMapperColorSourceInterface getColorSourceInterface() {
return colorSourceInterface;
}

View File

@ -33,6 +33,7 @@ public class SerialPortChooser extends JDialog {
{
return execute(null);
}
public static NewSerialPort execute(Component parent,String selectedPortName)
{
SerialPortChooser spc = new SerialPortChooser();
@ -43,6 +44,9 @@ public class SerialPortChooser extends JDialog {
if (selectedPortName != null)
spc.setSelectedSerialPort(selectedPortName);
if (parent != null)
spc.setLocationRelativeTo(parent);
spc.setVisible(true);
return spc.getSelectedSerialPort();