Supprimer ancien/src/views/BackgroundPanel.java
This commit is contained in:
parent
482861367e
commit
adbf3e0e86
@ -1,12 +0,0 @@
|
|||||||
package views;
|
|
||||||
import javax.swing.*;
|
|
||||||
import java.awt.*;
|
|
||||||
|
|
||||||
public class BackgroundPanel extends JPanel {
|
|
||||||
@Override
|
|
||||||
protected void paintComponent(Graphics g) {
|
|
||||||
super.paintComponent(g);
|
|
||||||
ImageIcon bg = new ImageIcon("menu.jpg");
|
|
||||||
g.drawImage(bg.getImage(), 0, 0, getWidth(), getHeight(), this);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user