Skip to content

Commit

Permalink
empty
Browse files Browse the repository at this point in the history
  • Loading branch information
rjolly committed Apr 27, 2018
1 parent 1cc3afc commit 380c8ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/linoleum/DesktopPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private void update() {
}

@Override
public Component add(final Component comp) {
public void addImpl(final Component comp, Object constraints, int index) {
if (comp instanceof Background) {
bkg = (Background) comp;
} else if (comp instanceof Frame) {
Expand Down Expand Up @@ -237,8 +237,7 @@ public void internalFrameIconified(final InternalFrameEvent e) {
}
});
}
addImpl(comp, DEFAULT_LAYER, -1);
return comp;
super.addImpl(comp, constraints == null?DEFAULT_LAYER:constraints, index);
}

public int getLayer(final Component c) {
Expand Down

0 comments on commit 380c8ea

Please sign in to comment.