void function ( Frame arg0 ) { Dimension loc0 = arg0 . getToolkit ( ) . getScreenSize ( ) ; Rectangle loc1 = arg0 . getBounds ( ) ; loc1 . width = arg0 . getWidth ( ) ; loc1 . height = arg0 . getHeight ( ) ; loc1 . x = ( loc0 . width - loc1 . width ) / 2 ; loc1 . y = ( loc0 . height - loc1 . height ) / 2 ; arg0 . setBounds ( loc1 ) ; }
centers a frame on the screen based on its current size concode_field_sep PlaceHolder placeHolder concode_field_sep void addGap concode_elem_sep void addGap concode_elem_sep T getChoiceOptional concode_elem_sep ImageIcon getIconFromFile concode_elem_sep T getChoice concode_elem_sep List<T> getChoicesOptional concode_elem_sep ImageIcon getResizedIcon concode_elem_sep ImageIcon getEmptyIcon concode_elem_sep List<T> getChoices concode_elem_sep List<T> getChoices concode_elem_sep void setWidthToMax concode_elem_sep void addExpandingHorizontalSpace concode_elem_sep void addExpandingVerticalSpace concode_elem_sep void setFontSize