code
This commit is contained in:
parent
eb98053b94
commit
1b85cd6132
1 changed files with 1 additions and 7 deletions
|
@ -11,17 +11,11 @@ public class Elements {
|
||||||
private JPanel panel = new JPanel();
|
private JPanel panel = new JPanel();
|
||||||
|
|
||||||
public JPanel infopanel() {
|
public JPanel infopanel() {
|
||||||
|
|
||||||
if(lock == 0) {
|
if(lock == 0) {
|
||||||
lock = 1;
|
lock = 1;
|
||||||
|
|
||||||
System.out.println("sdfadsf");
|
|
||||||
|
|
||||||
|
|
||||||
panel.setBackground(Color.LIGHT_GRAY);
|
panel.setBackground(Color.LIGHT_GRAY);
|
||||||
panel.setLayout(null);
|
panel.setLayout(null);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return panel;
|
return panel;
|
||||||
|
|
Loading…
Reference in a new issue