"Changing" from Jframe to Jintertalframe

Asked

Viewed 67 times

0

I developed the first version of my entire project using Jframes, but in the upgrade I’m doing I decided to change all to one JInternalFrame. I looked through the internet and saw that it was possible, changing the references of the files .JAVA and .Form present in the project. But I did not succeed. There is some way to do this or I will have to redo all the screens on the arm ?

1 answer

2

The archive .form is not generated by java, but by the netbeans tool that creates screens. This file helps the tool to organize the display of the screen and components in it and its settings, so that you can view the construction while dragging the 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 issues why I don’t use this netbeans tool, in addition to creating "dirty code" and difficult to read and maintain outside the IDE, it makes code dependent on it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.