kleine Anpassungen zu Icons und dem evaluationDialog (dispose hat nicht ricvhtig funktioniert)

This commit is contained in:
Armin Wolf 2017-08-04 09:58:16 +02:00
parent 7ac37b6e2a
commit e31a9258a7
4 changed files with 5 additions and 3 deletions

View File

@ -136,7 +136,7 @@ public class MainFrame extends JFrame {
}
public void showEvauluationDialog(){
if (evaluationPanel == null){
if (evaluationDialog == null){
SwingUtilities.invokeLater(() -> {
evaluationDialog = new JDialog();
evaluationDialog.setTitle("Evaluation");
@ -150,7 +150,7 @@ public class MainFrame extends JFrame {
});
} else {
SwingUtilities.invokeLater(()->{
evaluationPanel.setVisible(true);
evaluationDialog.setVisible(true);
});
}
@ -216,8 +216,10 @@ public class MainFrame extends JFrame {
}
private void setDimensions() {
this.setMinimumSize(new Dimension(1024,700));
this.setExtendedState(JFrame.MAXIMIZED_BOTH);
this.setResizable(false);
GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
this.setMaximizedBounds(env.getMaximumWindowBounds());
lmsPanel.setMinimumSize(new Dimension(400, 500));
rmPanel.setMinimumSize(new Dimension(400, 500));
tsPanel.setMinimumSize(new Dimension(400, 500));

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 764 B

After

Width:  |  Height:  |  Size: 1.1 KiB