cleaning up XQConsoleToggle

This commit is contained in:
Manindra Moharana
2013-08-17 18:39:40 +05:30
parent 314fec83db
commit e51c376038
2 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ import javax.swing.JPanel;
*/
public class XQConsoleToggle extends JPanel implements MouseListener {
public static final String[] text = { "Console", "Errors" };
public static final String CONSOLE = "Console", ERRORSLIST = "Errors" ;
private boolean toggleText = true;
private boolean toggleBG = true;
@@ -101,7 +101,7 @@ public class XQConsoleToggle extends JPanel implements MouseListener {
this.repaint();
try {
editor.toggleView(buttonName);
editor.showProblemListView(buttonName);
} catch (Exception e) {
System.out.println(e);
// e.printStackTrace();