Clivant Yeo
My Personal Website
SCJP 1.4, SCJD
"What you don't know, can't help you"
SCJP (81%), SCWCD (81%), SCJD (354/400), SCBCD (85%)
Originally posted by Klaas van Gelder:
only a pity that they do not have some nice icons for the connectLocal and connectRemote actions.
SCJP 1.4, SCJD
Eh? Aren't you supposed to specify that on the command line?
These command lines may only take configuration parameters selected from this list:
DNS name of the server
Port number used by the server
Data file name(s)
java.rmi.server.codebase
security manager policy file
---
The user interface for this assignment must satisfy the following criteria:
....
The user interface should connect to the database using either a local or a network based connection according to user choice.
...
In either case, the program must allow the user to specify the location of the database, and it must also accept an indication that a local database is to be used, in which case, the networking must be bypassed entirely
"What you don't know, can't help you"
SCJP (81%), SCWCD (81%), SCJD (354/400), SCBCD (85%)
SCJP 1.4, SCJD
Clivant Yeo
My Personal Website
Originally posted by Yanxin Zhao:
Hi:
I want to use the pics made by myself too. but I am not sure where should I put the pics? my thinking is that create a directory named pics and put all pics into this directory. I am not sure is that okay?
[ September 14, 2004: Message edited by: Yanxin Zhao ]
Originally posted by Yanxin Zhao:
Hi: thanks for your reply.
That 's a good idea. But I do not know how to got pics form jar file, I only can got pics from directory which I was created. I just want to ask that how to got pics form jar file ?
Clivant Yeo
My Personal Website
Originally posted by Clivant Yeo:
Hi Yanxin,
Maybe you can use the ImageIcon class to get the Image object?
For eg.
If you have a image in the images folder called abc.gif, use the code below:
ImageIcon ii = new ImageIcon(ClassLoader.getSystemResource("images/abc.gif"));
// Get the image object
Image image = ii.getImage();
Hopes it help.
Regards,
Clivant
no wonder he is so sad, he hasn't seen this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|