Results 1 to 4 of 4
Thread: please help ^^
- 12-21-2008, 10:33 PM #1
Member
- Join Date
- Apr 2008
- Posts
- 42
- Rep Power
- 0
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
- 12-22-2008, 02:02 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 02-07-2009, 06:22 PM #3
You can always modify the code inside the action methods... try removing the event in design view and then adding again.
Tell me if you want a cool Java logo avatar like mine and I'll make you one.
- 02-08-2009, 02:09 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks