I want to change the inbuilt java icon from JFileChooser. JFrame class has a setIconImage() method for set icon.But I couldn’t find anything like that for JFileChooser. Without changing that coffee cup anyone can easily recognize that my software is made with java. Can anyone can help me to avoid this?
I want to change the inbuilt java icon from JFileChooser . JFrame class has
Share
IIRC the icon for the JFileChooser is taken from the jFrame that is passed in. By changing the icon for the JFrame, you should also get the reflected icon change in the JFileChooser.
the code:
The icon that is used is the icon from the parent.