|
-
Jul 3rd, 2005, 11:51 PM
#1
Thread Starter
Addicted Member
Bundling images in a JAR file and speed problems
I'm trying to deploy an application I've written in a JAR file. Part of the application loads in images to use as button icons. However, when I specify the path to the images I have to specify some kind of absolute path like c:\images\image.gif or /images/image.gif. That isn't an option for the JAR file version where the image files are inside of it. I tried using images/image.gif but it didn't work.
Also, my application is producing a PDF file after reading data through an ODBC connection. If I run the application by itself then all is well. If I run it after it's been put in the JAR file, the application works but takes about ten times as long to run.
Any ideas?
Last edited by Holywhippet; Jul 4th, 2005 at 12:07 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|