get toolbar working

This commit is contained in:
benfry
2011-01-26 03:28:12 +00:00
parent a6f0f1ef99
commit 26b98b8e6a
3 changed files with 24 additions and 3 deletions

View File

@@ -54,7 +54,10 @@ public class JavaToolbar extends EditorToolbar {
public JavaToolbar(Editor editor, Base base) {
super(editor, base);
}
public void init() {
Image[][] images = loadImages();
for (int i = 0; i < 6; i++) {
addButton(getTitle(i, false), getTitle(i, true), images[i], i == NEW);