-
please help ^^
i've created a button in netbeans and it calls a method that involves a file IO, o when i want to modify the code inside buttonMouseClicked i can't because it says its guarded !!
private void jButton41MouseClicked(java.awt.event.MouseEvent evt) {
getDefinition(); <==== CAN'T DELETE THIS!
}
how can i solve this please ?
thanks in advance :D
-
Is that auto generated method call or done it by you? If it's auto generated you can see that it's colored in ash.
-
You can always modify the code inside the action methods... try removing the event in design view and then adding again.
-
As far as I know, once added an event cannot remove it from design view. But it's possible to do with form xml file.