简体   繁体   中英

text stuck in non-editable line in netbeansIDE

just have a very big problem with my project, i work on a java project on NetBeansIDE 8.2 i'm on Windows8 x86, in netbeans GUI Builder when i changed a component variable_name to another one, the old variable_name have been stuck in the non-editable line of code, i tried search in netbeans community and searchs in web but got nothing, it occurs after i updated my JDK from(JDK 8u191) to (JDK 8u202), tried same operation on some other project and it makes them useless too (stuck code).

my question: is there is a way to fix this? or edit this non-editable lines?

it's like this 无法编辑这些行包含错误

password_showing is old one and cannot be deleted,

there is:

  • copy code inside event
  • delete event
  • recreate event
  • paste code inside

but it's a big project i cannot do this for every single event, is there is a way to solve this? thanks!

Perhaps you changed the name through Property/name , it changes the name but not the name of event methods and auto generated codes. The correct way to rename a control in netbeans is to right click on it and say rename: right click on the control -> change variable name

Update regarding your current issue:

You may fix your current issue withig *.form , *.java and *.xml related files in the project but it's not recommended and you may stuck more and face more issues!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM