Hi, I solved this problem by loading the java file on notepad and then editing it. Thanks. Zulfi. On Saturday, August 3, 2024 at 12:06:27 PM CDT, Zulfi Khan <zulfi6...@yahoo.com> wrote: How to change thetype of the Event Handler?
I have a handlerassociated with a button for example DELETE as shown in the image. private voidjDelBtnStateChanged(javax.swing.event.ChangeEvent evt) { // TODO addyour handling code here: } I want to change thetype to boolean but Netbeans is not allowing me by generating asound. I tried to deletebut it did not work. I right clicked onthe button and clicked the properties but I can’t see any option tochange or to provide the return type option. I found that thereis a remove option. I clicked it once but it deleted the code and thethe signature of the event handler. Now the remove option is grayed. I found that wecan’t change the signature. https://stackoverflow.com/questions/2665975/how-to-change-method-signature-in-netbeans-form-editor But why I can’tdelete it? Somebody pleaseguide me. I have attached thetwo images. Zulfi.