8990919293949596979899
public ToolUI getUI() { return new ToolUI() { public JPanel getPropertiesBar(Tool tool) { nodePencilPanel = new NodePencilPanel(); nodePencilPanel.setColor(color); nodePencilPanel.setNodeSize(size); return nodePencilPanel; }
114115116117118119120121122123124
@Override public ToolUI getUI() { return new ToolUI() { @Override public JPanel getPropertiesBar(Tool tool) { nodePencilPanel = new NodePencilPanel(); nodePencilPanel.setColor(color); nodePencilPanel.setNodeSize(size); return nodePencilPanel; }