kleine Anpassungen zu Icons und dem evaluationDialog (dispose hat nicht ricvhtig funktioniert)
This commit is contained in:
parent
7ac37b6e2a
commit
e31a9258a7
|
@ -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 |
Loading…
Reference in New Issue