How do I recreate the NetBeans Matisse form file?

1.8k Views Asked by At

I have swing code that was generated using NetBeans Matisse. Over time, the form file got lost. How do I recreate the Matisse form file?

2

There are 2 best solutions below

1
On

I don't think you can reverse engineer/recreate the .form file

0
On

See Netbeans: using GUI Builder on regular Java class file

There is a FormGenerator utility that can usually regenerate a .form file from the .java file. It should work as long as the guarded blocks are largely unchanged