Removed unused fields.
Split the constructor by creating createBarRenderer.
Simply always return maxIntensity from getMaxTicIntensity, because the field is initialized to zero.
Small changes: put static fields at the top, made variables and parameters final if possible, changed fields into variables if possible, removed unnecessary null field initializations.