Skip to content

Commit 8479e93

Browse files
committed
fixed bug
1 parent f10fc98 commit 8479e93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/script/InterpreterAddLazyJavaClass.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ public class InterpreterAddLazyJavaClass {
1616
public InterpreterAddLazyJavaClass(Tokenizer tokenizer, PaintPanel panel)
1717
throws ExecutionErrorException {
1818
this.panel = panel;
19+
PaintComponent comp = performAddJavaClassAction();
1920
if (tokenizer.hasNext()) {
20-
ComponentMap.map.put(tokenizer.next(), performAddJavaClassAction());
21+
ComponentMap.map.put(tokenizer.next(), comp);
2122
}
2223
}
2324

0 commit comments

Comments
 (0)