How to upload picture by directory????

I only know picture will be load when I use
ImageIcon c = new ImageIcon("xxx.jpg"); <<<that xxx.jpg must be in the same directory with file.java
but now I want to load picture by directory of that picture
sample : ImageIcon c = new ImageIcon("D:\Eclipse\Project\xxx.jpg");
and It has some problem about compiler, I want to know code that use for upload pic by directory
someone plz help me :'(

OrImageIcon c = new ImageIcon("D:/Eclipse/Project/xxx.jpg");Care should be taken if you think you might want to put the application
into a .jar file. If the image resources are going there too it would be
better to use a relative path rather than an absolute one.

Similar Messages

  • How to upload pictures from laptop to iphone

    Dear friends,
    i have iphone 4 with IO6, could you please help me with tools how to upload pictures from my laptop to my Iphone?
    Best wishes.

    Use iTunes to sync them to your iPhone... http://support.apple.com/kb/HT4236

  • Reportin how to upload picture file

    Dear All,
    in reporting how to upload picture file. any documentation. where is the properties are there in reporting. here i am going start report but my client requirement output in the excel sheet picture output in the screen.. any pdf file for upload pic like .bmp, .jpeg etc
    Thanks in advance
    [email protected]
    please sent to me doucmentation & pdf file
    again Thanks in Advance

    Dear All,
    in reporting how to upload picture file. any documentation. where is the properties are there in reporting. here i am going start report but my client requirement output in the excel sheet picture output in the screen.. any pdf file for upload pic like .bmp, .jpeg etc
    Thanks in advance
    [email protected]
    please sent to me doucmentation & pdf file
    again Thanks in Advance

  • How To Upload Picture And adding sound

    Hi all...
    Anyone if you know how to upload picture in java application and adding sound plz try to help me thx..
    I need the coding for this 2 for my java application urgently//!!! I am currently using JFrame as my GUI.

    Eh
    Upload a picture, to what? Your PDA, an FTP server, what?
    and adding sound to the picture? or just to the application? Do you want a simple "Beep", or more?
    I need the coding for this 2 for my java application urgently
    Thats nice, I can take it then you have read the [url http://java.sun.com/docs/books/tutorial/index.html]tutorials, search google and the forums, and then posted here? It would be much faster.
    I am currently using JFrame as my GUI
    Good for you.

  • How to upload picture from my computer to I phone?

    how to upload picture from my computer to I phone?

    Hi suhail Alabed,
    If you have questions about syncing photos to your iPhone, you may find the following article helpful:
    iTunes: Syncing photos
    http://support.apple.com/kb/ht4236
    Regards,
    - Brenden

  • HELP!!!!! Please can someone tell me how i upload pictures from my laptop straight to my ipad

    Please can someone tell me how i upload pictures from my laptop straight to my ipad..
    i tried coppying the picture and pasting it on the ipad folder but it doesnt paste. Please can someone help me ASAP.

    Another way. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

  • How to upload pictures to Facebook using the Bloggie Software

    If you have any further questions please feel free to ask away. I will do my best to find the answer you are looking for!
    - Patrick

    Sony wants your feedback! http://bit.ly/WcYjMO
    This video will show you how to upload pictures to Facebook using the Bloggie Software.
    If you have any further questions please feel free to ask away. I will do my best to find the answer you are looking for!
    - Patrick

  • How to upload pictures to Ipod nano

    Hi there,
    I feel a little ******** about asking this question but I couldn't figure out how to upload pictures on my Ipod nano.
    I tried drag and drop and it didn;t show the pictures.
    help me please

    One way is to create a folder called "iPod Photos" or something similar in your Pictures folder. Under the photo preferences for the iPod, point iTunes to syncronise from there. Copy any photos you want to see on the iPod to this folder, if you keep a dedicated folder like this, you won't need to edit your normal pictures folder just for the iPod.
    You can also synconise from iPhoto, for more detail on the various methods have a look at the tutorial: Transferring Pictures to Your iPod

  • I cannot find out how to upload pictures from computer to ipad on updated version of itunes.

    I cannot find out how to upload pictures from computer to ipad on updated itunes.

    I've gone through this one. The new version of itunes I have doesn't list the devices on the left side but across the top and there is no place about photos. Also noticed If trying to move docunments from numbers it's no longer at the bottom of the app page as in the past and I have to email docs between computer and ipad.

  • Anyone know how to upload pictures to facebook fro...

    I tried figuring it out but had no luck.  I'm to the point where I may just go get an I-Phone.  Anyone know how to upload pictures or videos to facebook from the N95?

    /discussions/board/message?board.id=smartphones&message.id=152077&query.id=642009#M152077
    /discussions/board/message?board.id=smartphones&message.id=152077&query.id=642009#M152077
    Check my posts in any of the above threads
    Show your appreciation. Hit that kudos button real hard

  • How to upload pictures, contacts, and other things from my old iPhone

    How to upload all my pictures, contacts, and other things from my old iPhone

    If you want everything copied over then you can copy your iTunes downloads over to your computer's iTunes library by connecting it and doing File > Devices > Transfer Purchases and you can then backup up your old phone via File > Devices > Back Up - you can then restore that backup onto your new phone (or iPad as this is the Using iPad forum).
    Backups and restores : http://support.apple.com/kb/HT4079
    Transfer content to a new device : http://support.apple.com/kb/HT2109 (you can also backup/restore via iCloud, but not all iTunes content is redownloadble, so you might not get all items copied over).

  • How to upload pictures

    Please help! I've been trying to upload pictures & ringtones to my phone, and have followed the user guide LOTS of times-exactly as it says.  Each time I get to the "upload" page, my computer says the "internet page has stopped working" and it wont allow me to go any further.  what's going on???

    sophie00 wrote:
    Please help! I've been trying to upload pictures & ringtones to my phone, and have followed the user guide LOTS of times-exactly as it says.  Each time I get to the "upload" page, my computer says the "internet page has stopped working" and it wont allow me to go any further.  what's going on???
    How are you trying to "upload" them to your phone?  Upload page on your computer?  What program are you using to try and upload?
    What phone do you have? Does it support a micro SD card? That is by far the best, simplest way to get pictures to your phone. And if your phone uses an SD card and you do not have one, trying to "upload" via the USB cable normally will not work--you need the card in the phone.
    For ringtones, you need to send them to the phone as a text message and save them from the text message. Use your email program to attach the file and send it to your10-digitphonenumber @vzwpix.com
    And for just a few pictures, you can send an email with the photo attached as well.
    HTH,

  • How to upload pictures from iPad3 to blog

    I just purchased an iPad3 and was trying to upload pictures onto my blog.  Had no problems with my PC and have not found out how to do it with the iPad?

    - If you can use FTP then you can do that with the GoodReader app.
    - Some blog software have apps that allow accessing/modifying their blog.
    How do you do it now on the PC?

  • How to upload picture via facebook app but not resize picture

    Hi
    The facebook for blackberry so good, but one problem when upload picture, the picture capture via mobile very small but facebook when upload to resize very very small and quality of picture so very low in facebook site. I hope deverlop team fix size when upload and resize with minimum width=1200 pixel
    Thanks so much

    I agree with the above!
    I just asked for help about that problem on another discussion.
    My Bold 9900 takes GREAT pictures and it's too sad that when they are uploaded to FB they come up so small, which lowers the quality and the feel of the picture you know ^^
    Can't wait to find the solution!
    Best,
    So.

  • How to upload pictures from my macbook to IPad mini?

    I cant figure out how to put pictures from my Macbook to my IPad. I have the newest version of ITunes, which seems to not have pictues anymore. So I'm trying to do it through IPhoto, but still can't get it to work. Any ideas?

    Connect the iPad Mini to the MacBook. In the upper right corner of itunes, you'll see a button for iPad next to the button for Store. Click on iPad. You'll now see an image of your iPad, and some info about it. The tabs across the top, click on Photos. From here, put a check mark next to 'Sync Photos' and select iPhoto from the dropdown list. The box underneath will light up, allowing you to choose whether you want to sync all photos, or selected albums. Select what you want to sync, then click apply.

Maybe you are looking for

  • Macbook Pro 13" early-2011 Fans at high speed

    Hi guys, I hope you can solve this pussle for me. My Macbook Pro (13", early 2011, Core i5 @ 2.3) started to behave weird, its fan (only the exhaust one, since it's a 13" Macbook Pro with the Intel HD integrated graphics) is running at top speed (620

  • ITunes has DUPLICATED EVERY FILE of my collection

    Hi, I've encountered a problem where every file in my entire collection has been duplicated. Two things happened in a short time frame, so I'm not sure which (or both) caused the problem, and what to do next. I was having a problem with the external

  • Launching Index Tuning Wizard from command prompt

    I have been playing with index tuning wizard and I could not figure how to launch it from command line (Manual says it can be launched via management console or oracle expert). DB2 and SQL Server provide executables which can be launched from command

  • Two Questions in One: Installation and MP3 Player

    OK, so I am working on a flash site and want to drop in a simple, small Flash MP3 player. Someone I worked with said I could do this with components pretty easily (I have no clue, never used them), BUT I can't install Flash CS3 on my machine. I bough

  • Another EARPHONE thread

    i have been reading lots of reviews about earphones / earbuds and i have seemed to have already purchased one of the top ones i keep reading about. The Sony MDR-EX5's .... i have to say this is my st set of ear canal or bud style earphones... they fi