Gets the layer property for a JComponent, it does not cause any side effects like setLayer(). (painting, add/remove, etc) Normally you should use the instance method getLayer().
Parameters:
c
Returns: an int specifying the component's layer
Diagram: Layers