Page 1 of 1

Getting program with installer

Posted: 07 Sep 2007, 16:17
by Worship
Hey guys.

Okay so I have finally finished all my coding for my project in netbeans. However the .exe doesn't display the pictures but when i run the file in netbeans it does. So how would i get the program that i have set up in netbeans to be made an .exe with working pictures and everything? thanks

Posted: 07 Sep 2007, 16:36
by rustypup
how are you referencing the images? absolute or relative URL...

and when you say .exe, was this a c/++ build, or are you referring to a .jar file?...

Posted: 07 Sep 2007, 16:48
by Worship
For the images -

ImageIcon pic15 = new ImageIcon("barcelona.jpg");
JLabel image15 = new JLabel(pic15);
mainPane.add(image15);

And for the .exe all i basically want is a way to take my netbeans coding and use an installer, so that i can install it on any computer via installer

Posted: 08 Sep 2007, 13:32
by Worship
Sorry I was being a bit stupid I figured it out. Thanks anyway