Add left padding to PropertySheetPanel JTable.

This commit is contained in:
Fabian Becker 2014-10-19 20:10:30 +02:00
parent d5f1a9eeee
commit 0a7907f3f6
2 changed files with 1 additions and 3 deletions

View File

@ -47,8 +47,6 @@ public class EvAModuleButtonPanelMaker implements OptimizationStateListener, Ser
moduleAdapter.addOptimizationStateListener(this);
//////////////////////////////////////////////////////////////
runButton = ToolBoxGui.createIconifiedButton("images/Play24.gif", "Start", true);
runButton.setToolTipText("Start the current optimization run.");
@ -67,7 +65,6 @@ public class EvAModuleButtonPanelMaker implements OptimizationStateListener, Ser
stopButton = ToolBoxGui.createIconifiedButton("images/Stop24.gif", "Stop", true);
stopButton.setToolTipText("Stop the current optimization run.");
//stopButton.setBorderPainted(false);
stopButton.addActionListener(new ActionListener() {
@Override

View File

@ -170,6 +170,7 @@ public class PropertySheetPanel extends JPanel implements PropertyChangeListener
propertyTable.setRowHeight(20);
propertyTable.setDragEnabled(false);
propertyTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
propertyTable.setIntercellSpacing(new Dimension(8, 0));
// Close any child windows at this point
removeAll();