Simplification of the CompositionJPanel class (removes unusefull instruction and siplify all the functions).