set name of JFrame in Netbeans
807580Aug 27 2009 — edited Aug 27 2009Hi,
I am using the GUI builder in netbeans to create my application.
This means that all the components are created in InitComponents() and I cannot access these components to change them.
What I need to be able to do is to give my JFrame a name so that I can set properties on the Frame.
Ultimately what I want to be able to do is to change the IconImage on top left.( I do not want to use the properties window to do this)
I want to be able to say something like frame.iconImage("icon.gif");
So how do I set the name of the JFrame in Netbeans?
Thanks in Advance.