Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23
  1. #21
    L-dog is offline Member
    Join Date
    Sep 2008
    Posts
    12
    Rep Power
    0

    Default

    Hey

    Sorry what library do you have to import to run this code?

    java.awt.Desktop.getDesktop().mail(new java.net.URI("mailto:L-Dog@DE.com"));


    THANKS

  2. #22
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    7

    Default

    none if you use that code.

    Desktop is in java.awt and URI in java.net ....
    I die a little on the inside...
    Every time I get shot.

  3. #23
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,562
    Rep Power
    25

    Default

    What happens when you try to compile it?
    If you get error messages, copy and paste them here.
    To find what packages to import, read the API doc for the class named in the error message. It will show which package the class is in.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. array problems need your help ASAP!
    By notherand in forum New To Java
    Replies: 1
    Last Post: 06-29-2008, 08:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •