Results 1 to 4 of 4
Thread: Applet Image location
- 06-28-2008, 01:26 PM #1
Member
- Join Date
- Jun 2008
- Location
- us
- Posts
- 47
- Rep Power
- 0
Applet Image location
i want the help regarding on Netbeanswith Applet.
actually i am creating one applet in that i am going to call one image
i dont know how and where i can place this image ( i means in which folder or which Dir.)
so at a time of runnning appet it will get display properly.
hope u clear my point ...
- 06-29-2008, 08:40 AM #2
Member
- Join Date
- Jun 2008
- Location
- us
- Posts
- 47
- Rep Power
- 0
plz reply my dear friends as soon as possible
- 06-29-2008, 10:12 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Place it in your project folder. In that case you can directly refer the image. But the best thing is place all images in a seperate folder. May be in a new folder name images. In that case you have to refer it as images/image_name. Not only that you can place your image anywhere in your PC, but have to refer it with the full path name. It's not best choice, because if you wants to move the project into another place, you have to make some changes in your code too.
- 06-30-2008, 07:37 AM #4
Member
- Join Date
- Jun 2008
- Location
- us
- Posts
- 47
- Rep Power
- 0
Similar Threads
-
Image upload applet 2.0
By jfileupload in forum Java SoftwareReplies: 0Last Post: 03-24-2008, 04:15 PM -
Converting multiple banded image into single banded image... Image enhancement
By archanajathan in forum Advanced JavaReplies: 0Last Post: 01-08-2008, 05:29 PM -
how to get the location of some button
By mary in forum Java 2DReplies: 2Last Post: 08-05-2007, 04:02 AM -
how to place an image in an applet
By paty in forum Java AppletsReplies: 2Last Post: 08-04-2007, 05:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks