Remember photo window positions
This commit is contained in:
parent
0e637bac10
commit
fc0e3853c8
@ -73,6 +73,7 @@ public class PhotoFrame extends JFrame {
|
|||||||
|
|
||||||
GUIUtil.rememberWindowSize(this);
|
GUIUtil.rememberWindowSize(this);
|
||||||
this.setLocationByPlatform(true);
|
this.setLocationByPlatform(true);
|
||||||
|
GUIUtil.rememberWindowPosition(this);
|
||||||
GUIUtil.setWindowIcons(this);
|
GUIUtil.setWindowIcons(this);
|
||||||
|
|
||||||
settings = new JDialog(this, "Settings") {
|
settings = new JDialog(this, "Settings") {
|
||||||
@ -80,6 +81,8 @@ public class PhotoFrame extends JFrame {
|
|||||||
setContentPane(new PhotoSettingsConfig(photoPanel.getSettings()));
|
setContentPane(new PhotoSettingsConfig(photoPanel.getSettings()));
|
||||||
pack();
|
pack();
|
||||||
this.setLocationByPlatform(true);
|
this.setLocationByPlatform(true);
|
||||||
|
GUIUtil.rememberWindowSize(this);
|
||||||
|
GUIUtil.rememberWindowPosition(this);
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user