Removes getFont override.
@@ -60,11 +60,6 @@ public class Panel extends Canvas implements Receiver<String> {
imageCache = builder.getImageCache();
}
- @Override
- public Font getFont() {
- throw new IllegalStateException("To retrieve the font, do 'panel.getImageCache().getFont().");
- }
-
@Override
public void receive(final String event, final String data) {
if (event.equals("DRAW")) {
