* fix dialog positioning issues
This commit is contained in:
parent
eb545bde6f
commit
d18045a383
|
@ -212,10 +212,10 @@ abstract class SubtitleDropTarget extends JButton {
|
||||||
// initialize window properties
|
// initialize window properties
|
||||||
dialog.setIconImage(getImage(getIcon(DropAction.Accept)));
|
dialog.setIconImage(getImage(getIcon(DropAction.Accept)));
|
||||||
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
|
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
|
||||||
dialog.setSize(1000, 575);
|
dialog.setSize(1000, 600);
|
||||||
|
|
||||||
// show dialog
|
// show dialog
|
||||||
dialog.setLocation(getOffsetLocation(dialog.getOwner()));
|
dialog.setLocationRelativeTo(dialog.getOwner());
|
||||||
dialog.setVisible(true);
|
dialog.setVisible(true);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue