This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.
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.