8161354: policytool fails if it needs to show an error dialog before the main window appears
Reviewed-by: mullan
This commit is contained in:
parent
0062a02e07
commit
e883900ac7
@ -1376,10 +1376,6 @@ class ToolWindow extends JFrame {
|
||||
ToolDialog ed = new ToolDialog
|
||||
(PolicyTool.getMessage("Error"), tool, this, true);
|
||||
|
||||
// find where the PolicyTool gui is
|
||||
Point location = ((w == null) ?
|
||||
getLocationOnScreen() : w.getLocationOnScreen());
|
||||
//ed.setBounds(location.x + 50, location.y + 50, 600, 100);
|
||||
ed.setLayout(new GridBagLayout());
|
||||
|
||||
JLabel label = new JLabel(error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user