Properties sheet icon

"ortega" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Neil and markiewb, thanks.

Now i see the real problem.

If the application start without the properties window open, and i open with the command: 

TopComponent window = WindowManager.getDefault().findTopComponent("properties");

and set the icon with: 

window.setIcon(Utilities.FEATURE_PROPERTY_IMAGE);

OR

window.setIcon(ImageUtilities.loadImage("/com/jsound/images/music--pencil.png"));

works fine, but if i close the application with the properties open, the platform save and remember to next open, and in this case, the properties window open with the application and show the original icon.  [Shocked]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.