hi, Is there any method by which i can change the standard java icon i.e; a cup with steams which is present at the top left corner of any JFrame? I want that my application should hv the icon which i hv designed.
posted 14 years ago
Yes you can use Frame1.setIconImage(Toolkit.getDefaultToolkit().getImage("images"+File.separator+"title.gif")); or Frame1.setIconImage(Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource("images/Title.gif")));
Vandana Welcome to Javaranch. We follow some rules pertaining to User names. The rules are specified at here Your User name does not follow these conventions. It is recommended that you immediately register under a name conforming to the conventions. Also since this topic is not relevant to the Threads and Synchronization area I am transfering it to an apporpriate forum. Thanks.