I m using Netbeans IDE, I need to get the icon from the title bar of the JFrame and set it in the JButton. Is there any way to get the Icon image from the JFrame, there is no getIconImage() method i tried getIconImages() but it doesnt works.
Share
Frame(the superclass ofJFrame) hasFrame.getIconImage. You should be able to use that.