×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    8

    adding png file in Netbeans 4.0

    Hi,

    I am trying to include a .png file in my java app using netbeans 4.0 (with the mobility add-in installed). I can't find anywhere in the program to add the image and if i just make the "res" folder and stick it in there it does not seem to be added to the jar file when compiled. Does anyone know how to do this?

    Cheers

    Netpunkz

  2. #2
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    165
    You can do it like this...

    Right click on your project (in the projects or files tab window on the left). Then select properties.

    On the window that opens expand the 'Build' property item (if it isn't already expanded). Then click on Libraries and Resources, from here click add folder.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    8
    Ah i see...
    Cheers

Posting Permissions

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