Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » help with open pics to jbutton in jar
help with open pics to jbutton in jar [message #208095] Sun, 29 April 2007 07:51
Eclipse UserFriend
Originally posted by: Emrah.Mutlu.stud.iu.hio.no

i have made a folder in my project called pictures,it`s in the same folder
as src,bin,.classpath,.project.when i makeing a fat jar(Buil Fat jar),i
find the main class,under Class path the 2 checkbox is checked and i click
next,Select Files for fat jar,all classes i checked but not my picture
folder,so i click Add Dir..i found my pictures folder and add it to fat
jar,at last i click finished.and the fat jar is created.when i import it
in eclipse 3.2 i can see that the pictures are in the fat jar.but it not
showing the pictures on my jbutton.
ImageIcon iconNew = new ImageIcon("pictures/connection.jpg");
button = new JButton(iconNew);
can anyone please help me??i need fat jar because i am using easyIO.jar in
my project,and with fat jar i can add other jars.or is it any other jar
program that ake the same thing?
Previous Topic:Rails for DLTK?
Next Topic:What do those little Update Manager Symbols mean?
Goto Forum:
  


Current Time: Thu Apr 25 06:39:19 GMT 2024

Powered by FUDForum. Page generated in 0.07986 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top