![]() |
| ||
| NetBeans protected code The protection on code generated in NetBeans is great. untill it gets it wrong and you have an arbitrary line protected and it totally stuffs up your code and you can not longer work on your project!! Anyone know how to temporarily remove the protection, edit what you want and then put it on again? I am so frustrated right now. private void HVAC_NoBOQFinItemStateChanged(java.awt.event.ItemEvent evt) { try { if (HVAC_NoBOQFin.isSelected()) { HVAC_NoBOQ.setSelected(false); } //this block is Guarded!!!! arrgh. refreshHVAC(); } catch (FileNotFoundException ex) { Logger.getLogger(FeeCalcView.class.getName()).log(Level.SEVERE, null, ex); } catch (IOException ex) { Logger.getLogger(FeeCalcView.class.getName()).log(Level.SEVERE, null, ex); } } |
| ||
| Re: NetBeans protected code Maybe ask at a NetBeans Forum (www.netbeans.org maybe?) |
| ||
| Re: NetBeans protected code nevermind. thanks. |
| ||
| Re: NetBeans protected code Just open the file in a text editor. |
| ||
| Re: NetBeans protected code Thanks.... I actually managed to get it sorted by opening in notpad and moving the tags "//GEN - END methodName" around and that fixed the problem. thanks for the help though, much appreciated. |
| All times are GMT -4. The time now is 3:25 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC