--- a/jdk/src/share/classes/sun/awt/AWTAccessor.java Wed Mar 25 13:37:08 2009 +0300
+++ b/jdk/src/share/classes/sun/awt/AWTAccessor.java Thu Mar 26 14:38:46 2009 +0300
@@ -92,6 +92,12 @@
* Determines if the component can gain focus.
*/
boolean canBeFocusOwner(Component comp);
+
+ /**
+ * Returns whether the component is visible without invoking
+ * any client code.
+ */
+ boolean isVisible_NoClientCode(Component comp);
}
/*
@@ -127,6 +133,26 @@
* Update the image of a non-opaque (translucent) window.
*/
void updateWindow(Window window, BufferedImage backBuffer);
+
+ /** Get the size of the security warning.
+ */
+ Dimension getSecurityWarningSize(Window w);
+
+ /**
+ * Set the size of the security warning.
+ */
+ void setSecurityWarningSize(Window w, int width, int height);
+
+ /** Set the position of the security warning.
+ */
+ void setSecurityWarningPosition(Window w, Point2D point,
+ float alignmentX, float alignmentY);
+
+ /** Request to recalculate the new position of the security warning for
+ * the given window size/location as reported by the native system.
+ */
+ Point2D calculateSecurityWarningPosition(Window window,
+ double x, double y, double w, double h);
}
/*