removed unused private method getCodePanel(int)