How to change default java icon in JFileChooser
问题 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? 回答1: 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