Skip to main content

Netbeans Swing Properties

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
encio
Offline
Joined: 2011-09-13

Good day,

I dont know if this is the right thread to ask this question.

When creating a GUI program using Netbeans, where does it stores the code that contains the values of those we set in the "Properties Window".

For example the font ,size or color of a JLabel

Thank you!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bhobiger
Offline
Joined: 2012-06-22

Netbeans creates a form file for every frame, dialog, panel...

If you create a JFrame called MyJFrame, the code you write is in MyJFrame.java and your UI data are in MyJFrame.form

You should never attempt to edit a form file yourself, always use Netbeans' UI editor.