changed switch

This commit is contained in:
bancika
2011-01-08 15:48:15 +00:00
parent 80fff261bb
commit 90e8f4004b
5 changed files with 8 additions and 12 deletions
@@ -136,25 +136,19 @@ public class StatusBar extends JPanel implements IPlugIn {
gbc.gridx = 1;
gbc.fill = GridBagConstraints.BOTH;
gbc.weightx = 0;
add(new JSeparator(SwingConstants.HORIZONTAL), gbc);
gbc.gridx = 2;
add(getSizeLabel(), gbc);
gbc.gridx = 3;
add(new JSeparator(SwingConstants.HORIZONTAL), gbc);
gbc.gridx = 4;
gbc.gridx = 2;
add(zoomPanel, gbc);
gbc.gridx = 5;
gbc.gridx = 3;
add(getUpdateLabel(), gbc);
gbc.gridx = 6;
gbc.gridx = 4;
gbc.fill = GridBagConstraints.NONE;
add(getMemoryPanel(), gbc);
gbc.gridx = 7;
gbc.gridx = 5;
add(new JPanel(), gbc);
}
@@ -847,6 +847,8 @@ public class Presenter implements IPlugInPort {
.deepClone(currentProject), "Edit");
}
messageDispatcher.dispatchMessage(EventType.REPAINT);
messageDispatcher.dispatchMessage(EventType.SELECTION_SIZE_CHANGED,
calculateSelectionDimension());
}
}