code: protected void componentWasResized(int newTop, int newLeft, int newWidth, int newHeight)
  	{
  		rampDownValue = (float)getDesiredFPS()/1000F;
  		maxPeakLevelRampDownDelay = rampDownValue/100f;
  		maxPeakLevelRampDownValue = 0;
  
  		myAnzLines = newHeight>>1;
  		
  		color = new Color[myAnzLines];
  		colorLow = new Color[myAnzLines];
  		for (int i=0; i<myAnzLines; i++)
  		{
  			int color1 = i*255/myAnzLines;
  			int color2 = 255-color1;
  			color[i] = new Color(color1, color2, 0);
  			colorLow[i] = new Color(color1>>1, color2>>1, 0);
  		}
  	}
docs: Is called when the component is resized
  @see de.quippy.javamod.main.gui.components.MeterPanelBase#componentWasResized()