Hi How to set the icon on the title bar on a JDialog box? Also, in Windows, when you hold down Alt+Tab, you will see some ICONs that you can choose from and activate the corresponding program. (default is the coffee icon) Is there a method to set these ICONs for the JDialog box? Thanks all, Kawaii
posted 15 years ago
It will pick up the icon from it's parent frame or dialog. You pass this parent into the JDialog via the constructor. In that parent frame you would use the public void setIconImage(Image image) method to set it's icon.
For a good Prime, call:<br />29819592777931214269172453467810429868925511217482600306406141434158089