return false;
}
Rectangle getContainerPopupArea(GraphicsConfiguration gc) {
Rectangle screenBounds;
Toolkit toolkit = Toolkit.getDefaultToolkit();
Insets insets;
if (gc != null) {
// If we have GraphicsConfiguration use it
// to get screen bounds
screenBounds = gc.getBounds();
insets = toolkit.getScreenInsets(gc);
} else {
// If we don't have GraphicsConfiguration use primary screen
screenBounds = new Rectangle(toolkit.getScreenSize());
insets = new Insets(0, 0, 0, 0);
}
// Take insets into account
screenBounds.x += insets.left;
screenBounds.y += insets.top;