"Changing" from Jframe to JIntertalFrame [closed]

0

I developed the first version of my entire project using Jframes , but in the upgrade I'm doing, I decided to change all of them to a JInternalFrame . I took a look on the internet and saw that it was possible by changing the references of .JAVA and .Form files in the project. But I did not succeed. Is there any way to do this or will I have to redo the screens all on my arm?

    
asked by anonymous 18.08.2017 / 18:40

1 answer

2

The file .form is not generated by java, but by the netbeans tool that creates screens. This file helps the tool organize the display of the screen and the components in it and their settings, so you can view the construction while dragging components without having to run the project.

Unfortunately there is no other way, you will have to do it manually, and if you change these files directly, you will probably lose part (or totally) of the preview in the tool. This is one of the big problems I do not use this netbeans tool, besides creating a "dirty code" and difficult to read and maintain outside the IDE, it makes the code dependent on it.

    
18.08.2017 / 19:03