> i want to render an image into my window created using java
You probably mean the ImageIcon class, not an imageIcon method. Look into its API documentation: http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/ImageIcon.html
Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...