diff -r e795e3ba11f8 -r 7820f232278d jdk/src/solaris/classes/sun/awt/X11/XDialogPeer.java --- a/jdk/src/solaris/classes/sun/awt/X11/XDialogPeer.java Tue Apr 15 14:14:33 2008 +0400 +++ b/jdk/src/solaris/classes/sun/awt/X11/XDialogPeer.java Fri Apr 18 11:38:32 2008 +0400 @@ -80,14 +80,6 @@ super.setVisible(vis); } - protected Insets guessInsets() { - if (isTargetUndecorated()) { - return new Insets(0, 0, 0, 0); - } else { - return super.guessInsets(); - } - } - @Override boolean isTargetUndecorated() { if (undecorated != null) {