I have one java app as client app and one java class as server app, when the
client app instantiates the server app, the server app constructor create
some button and load image files as the button's icon.

I put the image files in sub-directory of the server app but the images wouldn't
load unless I put them in the sub-directory of the client's app, and if I
do this, I have to put the image files in each of my client's apps sub-directory
which I consider inefficient.

How can I overcome this?

BTW,I use JBuilder 6.0 as my tool.