902903904905906907908909910
JOptionPane.showMessageDialog(this, message, "Error", JOptionPane.ERROR_MESSAGE); } public void setTab(Tab tab) { Tabbable tabbable = getTab(tab); ensureTabIsVisible(tabbable); this.tabbedPane.setSelectedComponent((Component)tabbable); }
720721722723724725726727728729730
sb.append(fieldName); return sb.toString(); } public void addBreakPoint(Breakpoint breakpoint) { Tabbable debugTab = MainWindow.getInstance().getDebugTab(); if (debugTab instanceof DebugTab) { this.breakpoints.add(breakpoint); ((DebugTab)debugTab).addBreakpoint(breakpoint); } }
728729730731732733734735736737738
((DebugTab)debugTab).addBreakpoint(breakpoint); } } public void removeBreakpoint(Breakpoint breakpoint) { Tabbable debugTab = MainWindow.getInstance().getDebugTab(); if (debugTab instanceof DebugTab) { this.breakpoints.remove(breakpoint); ((DebugTab)debugTab).removeBreakpoint(breakpoint); } }