How to modify code to the initComponents() method on Net Beans? [closed]

落爺英雄遲暮 提交于 2020-01-10 06:11:09

问题


I know this question is similar to another question in stackoverflow. But it doesnt same. I want to modify initcomponents method because I have old version source code of my jar file , and I have my new jar file(source code is deleted by mistakenly) I decompile my new jar and I got source but I didnot paste it on old version. Because it does not give permission. And the other problem is my .java class has form page too. And when I decompile my jar file I didnot see the myclass.form file.How can I get it back by decompile the code and how can I paste it my old source code.

Thanks.


回答1:


Because you are using NetBeans, the deleted file may yet be under local version control.

  • Create a new file having the same name and location.

  • Right click on the file's tab and select History.

  • Click on the arrows to restore the missing content.

  • Learn layouts and free your inner GUI designer.



来源:https://stackoverflow.com/questions/19714659/how-to-modify-code-to-the-initcomponents-method-on-net-beans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!