src/main/java/com/spinyowl/legui/component/Frame.java
public void addLayer(Layer layer) {
    if (layer == null ||
        layer == tooltipLayer ||
        layer == componentLayer) {
      return;
    }
    if (!containsLayer(layer) && layers.add(layer)) {
      changeFrame(layer);
    }
  }
/**
   * Used to add layer to frame. <span style="color:red;">NOTE: layers processed in reverse order -
   * from top to bottom.</span>
   *
   * @param layer layer to add.
   */
Used to add layer to frame. NOTE: layers processed in reverse order
from top to bottom.

@param layer layer to add.
Used to add layer to frame . NOTE : layers processed in reverse order from top to bottom . @param layer layer to add .
public void addLayer(Layer layer) {
    if (layer == null ||
        layer == tooltipLayer ||
        layer == componentLayer) {
      return;
    }
    if (!containsLayer(layer) && layers.add(layer)) {
      changeFrame(layer);
    }
  }
public void addLayer ( Layer layer ) { if ( layer == null || layer == tooltipLayer || layer == componentLayer ) { return ; } if ( ! containsLayer ( layer ) && layers . add ( layer ) ) { changeFrame ( layer ) ; } }
Used to add layer to frame.
Used to add layer to frame .