ScaleDrawer.draw() modified.
This commit is contained in:
parent
46d43ae4ed
commit
316e6e60ea
@ -14,6 +14,11 @@ public class ScaleDrawer extends ImagePanel implements Drawer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void draw() throws IOException {
|
public void draw() throws IOException {
|
||||||
|
if(scale.hasBox())
|
||||||
|
changeImage("Box.png"); //TODO Picture for Scale with box.
|
||||||
|
else
|
||||||
|
changeImage("Scale.png");
|
||||||
|
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user