This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi All I am trying to load an image to display in JLabel. I am doing it in the following way. ImageIcon icon = ClassLoader.getSystemResource("images/logo.gif"); JLabel title = new JLabel(" Commingled Funds Trade Entry ",icon,JLABEL.Left) my gif file is in c:/images/logo.gif; i am running this from c:/ as java com.chase.impb.tokyo.matrix2.cfunds.CFTradeEntry its worknig fine. when i make a jar file for this class file and copy into d:/test and run the jar file from d:/test its not able to locate the image file. Can somebody help me. Do i need to pur the image also inside jar??? Regards Radha [ September 09, 2003: Message edited by: Radha MahaLakshmi ]