@@ -0,0 +1,838 @@
+package de.craften.ui.swingmaterial;%0A%0Aimport javax.swing.*;%0Aimport javax.swing.border.EmptyBorder;%0Aimport java.awt.*;%0A%0A/**%0A * A material panel with a z index.%0A */%0Apublic class MaterialPanel extends JPanel %7B%0A    private final ElevationEffect elevation;%0A%0A    public MaterialPanel() %7B%0A        elevation = ElevationEffect.applyTo(this, 1);%0A        setBorder(new EmptyBorder(MaterialShadow.OFFSET_TOP, MaterialShadow.OFFSET_LEFT, MaterialShadow.OFFSET_BOTTOM, MaterialShadow.OFFSET_RIGHT));%0A    %7D%0A%0A    public int getElevation() %7B%0A        return elevation.getLevel();%0A    %7D%0A%0A    public void setElevation(int elevation) %7B%0A        this.elevation.setLevel(elevation);%0A    %7D%0A%0A    @Override%0A    protected void paintComponent(Graphics g) %7B%0A        Graphics2D g2 = (Graphics2D) g;%0A        elevation.paint(g);%0A        super.paintComponent(g2);%0A    %7D%0A%7D%0A

Add a material panel.