/* * FrameSize Control */ public void validate() { Rectangle rect = getBounds(); super.validate(); int width = ViewSettings.getTokuteiLoginFrameWidth(); int height = ViewSettings.getTokuteiLoginFrameHeight(); if (width > rect.width || height > rect.height) { setBounds(rect.x, rect.y, width, height); } }