Code:
new JPanel(){
public void paintComponent( Graphics g ){
super.paintComponent(g);
g.drawImage( background, 0, 0, this );
g.drawImage( logo, 0, 0, this );
}
};
Code:
private static Image background = java.awt.Toolkit.getDefaultToolkit().getImage(Pfad);