Commit cbeac0ff authored by Gwenael Cattez's avatar Gwenael Cattez
Browse files

Add repaint function to GUI

parent c92dd3f2
......@@ -127,6 +127,7 @@ public abstract class SwOnOffDevice extends JFrame implements IOnOffDevice
status=true;
setStatusButton.setText(offText);
imageStatusLabel.setIcon(onIcon);
repaint();
return onAction();
}
......@@ -149,6 +150,7 @@ public abstract class SwOnOffDevice extends JFrame implements IOnOffDevice
status=false;
setStatusButton.setText(onText);
imageStatusLabel.setIcon(offIcon);
repaint();
return offAction();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment