return -1;
Integer layer = (Integer) getClientProperty(JLayeredPane.LAYER_PROPERTY); if (layer != null) return layer.intValue();  return JLayeredPane.DEFAULT_LAYER.intValue();
  public int getLayer()  {    JDesktopPane pane = getDesktopPane();    if (pane != null)      // The cast here forces the call to the instance method getLayer()      // instead of the static method (this would lead to infinite      // recursion).      return pane.getLayer((Component) this);    return -1;  }