This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Now when the IDE does not run in the default look&feel, the user should have an easy way to create forms that are run with the same look and feel. Applies on JFrame and JApplet only.
As the minimum, the form editor should allow the user to specify the look&feel of created form - and appropriate code would be generated. The form editor could by default choose the same look&feel as the IDE run with. Note this is just about the generated code, the designed form would always be seen in the look&feel of the IDE (as it running in the same JVM). As the second step, the form editor could allow also to switch the designed form to specified look&feel visually - even if it is different from the default (IDE's) one. Than there would be the desired congruence of the designed and executed form, which would eliminate problems like issue 40359. This would apply on all types of forms, not only JFrame and JApplet.
*** Issue 41315 has been marked as a duplicate of this issue. ***
*** Issue 2195 has been marked as a duplicate of this issue. ***
This would really help when working with different L&Fs. Please re-consider Target Milestone. Also consider scanning for custom L&F implementations on project classpath.
It would also be useful to be able to dynamically change the L&F for the form preview inside the editor
It seems that this has been already implemented. Now, you can choose from various L&Fs in Preview Design when designing a form. (tested for 6.1).