private void calcInnerBounds(){
  final Insets INSETS=getInsets();
  final int SIZE=(getWidth() - INSETS.left - INSETS.right) <= (getHeight() - INSETS.top - INSETS.bottom) ? (getWidth() - INSETS.left - INSETS.right) : (getHeight() - INSETS.top - INSETS.bottom);
  INNER_BOUNDS.setBounds(INSETS.left,INSETS.top,SIZE,SIZE);
}

private void calcInnerBounds ( ) { final Insets INSETS = getInsets ( ) ; final int SIZE = ( getWidth ( ) - INSETS . left - INSETS . right ) <= ( getHeight ( ) - INSETS . top - INSETS . bottom ) ? ( getWidth ( ) - INSETS . left - INSETS . right ) : ( getHeight ( ) - INSETS . top - INSETS . bottom ) ; INNER_BOUNDS . setBounds ( INSETS . left , INSETS . top , SIZE , SIZE ) ; }
calculates the rectangle that specifies the area that is available for painting the gauge . this means that if the component has insets that are larger than 0 , these will be taken into account .
