Getting program with installer

Get help on programming - C++, Java, Delphi, etc.
Post Reply
Worship
Registered User
Posts: 505
Joined: 28 Jan 2006, 02:00
Location: Johannesburg

Getting program with installer

Post 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
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Post 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?...
Most people would sooner die than think; in fact, they do so - Bertrand Russel
Worship
Registered User
Posts: 505
Joined: 28 Jan 2006, 02:00
Location: Johannesburg

Post 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
Worship
Registered User
Posts: 505
Joined: 28 Jan 2006, 02:00
Location: Johannesburg

Post by Worship »

Sorry I was being a bit stupid I figured it out. Thanks anyway
Post Reply