In the Source view, On the diagram, click the left margin of the line that contains the breakpoint.
In the Breakpoints window, right-click the breakpoint you want to remove and choose Delete. Choosing Delete All from the pop-up menu removes all breakpoints currently set in the NetBeans IDE.
3. In the Design view, right-click the element that has a red breakpoint mark and choose Toggle Breakpoint.