Icon (@NotNull Icon main, @NotNull Icon southWest) { LayeredIcon layeredIcon = new LayeredIcon(2); layeredIcon.setIcon(main, 0); layeredIcon.setIcon(southWest, 1, SwingConstants.SOUTH_WEST); return layeredIcon; }