Java Swing to Cuba

I have a Java Swing application and would like to recreate it in CUBA as a desktop application. Is there an easy way to do that? The GUI was built using the NetBeans Swing GUI Builder. Do I have to recreate the GUI using CUBA studio so that there’s an XML descriptor and that the class inherits one of your classes, or is there a way to just copy the files somewhere to make it work. Looking for guidance.

Unfortunately, there is no way to migrate NetBeans Swing GUI Builder screens to CUBA. You have to recreate them from scratch.