Fixed null check for rootpane border.
--- a/src/sun/awt/peer/cacio/CacioWindowPeer.java Tue Feb 03 22:39:32 2009 +0100
+++ b/src/sun/awt/peer/cacio/CacioWindowPeer.java Tue Feb 03 22:47:57 2009 +0100
@@ -303,10 +303,10 @@ class CacioWindowPeer extends CacioConta
int top = cpBounds.y + lpLoc.y;
int left = cpBounds.x + lpLoc.x;
Border b = rp.getBorder();
- Insets bi = b.getBorderInsets(rp);
int bottom;
int right;
if (b != null) {
+ Insets bi = b.getBorderInsets(rp);
bottom = bi.bottom;
right = bi.right;
} else {