Results 1 to 4 of 4

Thread: please help ^^

  1. #1
    pheonix is offline Member
    Join Date
    Apr 2008
    Posts
    42
    Rep Power
    0

    Default 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

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,370
    Blog Entries
    1
    Rep Power
    23

    Default

    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.

  3. #3
    MK12's Avatar
    MK12 is offline Senior Member
    Join Date
    Jan 2009
    Posts
    185
    Rep Power
    10

    Default

    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.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,370
    Blog Entries
    1
    Rep Power
    23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •