8283848586878889909192
public ToolUI getUI() { return new ToolUI() { public JPanel getPropertiesBar(Tool tool) { painterPanel = new PainterPanel(); painterPanel.setColor(new Color(color[0], color[1], color[2])); return painterPanel; } public String getName() {
108109110111112113114115116117118
@Override public ToolUI getUI() { return new ToolUI() { @Override public JPanel getPropertiesBar(Tool tool) { painterPanel = new PainterPanel(); painterPanel.setColor(new Color(color[0], color[1], color[2])); return painterPanel; } @Override