276 |
for (JComponent b : toolAndActionButtons.values()) |
for (JComponent b : toolAndActionButtons.values()) |
277 |
add(b); |
add(b); |
278 |
|
|
|
repaint(); |
|
|
|
|
279 |
if (!toolAndActionButtons.containsKey(selectedTool)) { |
if (!toolAndActionButtons.containsKey(selectedTool)) { |
280 |
/** |
/** |
281 |
* This might be a bit specific, but IF selection buttons are |
* This might be a bit specific, but IF selection buttons are |
292 |
} |
} |
293 |
|
|
294 |
} |
} |
295 |
|
|
296 |
|
revalidate(); |
297 |
} |
} |
298 |
|
|
299 |
// Space between tool buttons and action buttons |
// Space between tool buttons and action buttons |