Package org.gvsig.catalog.utils
Class Frames
java.lang.Object
org.gvsig.catalog.utils.Frames
- Author:
- Jorge Piera Llodra (piera_jor@gva.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcenterFrame(JDialog dialog, int width, int height) Sets a JDialog on the screen centerstatic voidcenterFrame(JFrame frame, int width, int height) Sets a JFrame on the screen centerstatic voidsearchDialogPosition(JDialog dialog, int width, int height) Sets a JDialog on the upper rigth corner
-
Constructor Details
-
Frames
public Frames()
-
-
Method Details
-
centerFrame
Sets a JFrame on the screen center- Parameters:
frame- JFramswidth- Frame widthheight- Frame height
-
centerFrame
Sets a JDialog on the screen center- Parameters:
dialog- JDilogwidth- Dilaog widthheight- Dialog height
-
searchDialogPosition
Sets a JDialog on the upper rigth corner- Parameters:
dialog- JDilogwidth- Dilaog widthheight- Dialog height
-