removed unused private method getCodePanel(int)

Only the other overload with a `JClass` parameter was used. It compiled cleanly on my box.