code: public static final Dimension getDimensionFromPercent(int percentWidth, int percentHeight) {
  		Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
  		return calcDimensionFromPercent(screenSize, percentWidth, percentHeight);
  	}
docs: Return a <code>Dimension</code> whose size is defined not in terms of
  pixels, but in terms of a given percent of the screen's width and height.
  
  <P>
  Use to set the preferred size of a component to a certain percentage of
  the screen.
  
  @param percentWidth percentage width of the screen, in range
  <code>1..100</code>.
  @param percentHeight percentage height of the screen, in range
  <code>1..100</code>.