Results 1 to 4 of 4
  1. #1
    KarlNorway is offline Member
    Join Date
    Dec 2011
    Posts
    57
    Rep Power
    0

    Default Bildt jar contains no images

    How do I keep the images I have set as shell icon (little pic in top left corner of shell) and one I have to fill in som of the grey area?

    Is it possible to put in to the source folders some where so that the user dont have to hav images in the same folder as the jar?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

    Default Re: Bildt jar contains no images

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    KarlNorway is offline Member
    Join Date
    Dec 2011
    Posts
    57
    Rep Power
    0

    Default Re: Bildt jar contains no images

    Im using SWT sorry for not pointing that out

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

    Default Re: Bildt jar contains no images

    Class#getResource(...) and getResourceAsStream(...) work the same in SWT as in any other Java API.

    Moving to SWT/JFace in case any SWT-specific domain knowledge makes for a simpler solution.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 12-16-2010, 05:14 PM
  2. Replies: 4
    Last Post: 12-16-2010, 04:32 PM
  3. Using images
    By zjames in forum New To Java
    Replies: 8
    Last Post: 11-19-2010, 04:33 PM
  4. images
    By amith in forum AWT / Swing
    Replies: 3
    Last Post: 06-27-2008, 08:38 PM
  5. Images in JSP
    By Daniel in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 06-05-2007, 06:01 AM

Posting Permissions

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