×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    158

    images in netbeans

    in which folder i have to add my images for icons and form images......

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: images in netbeans

    In the src folder of your Netbeans project.

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    158

    Re: images in netbeans

    ya...thanks
    how to set the icons in netbeans

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: images in netbeans

    This article explains how to add an icon to a midlet.

    There are also 2 known issues that you should be aware of:
    http://wiki.forum.nokia.com/index.ph..._a_MIDlet_icon
    http://wiki.forum.nokia.com/index.ph...he_MIDlet_icon

  5. #5
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    158

    Re: images in netbeans

    sucessfully i created icons....but not able to add images in form....

  6. #6
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: images in netbeans

    To add images in a form you could do something like this:
    Code:
    Form form=new Form("Image form");
    //Now open the image and append it to the form
    try {
        Image img=Image.createImage("/src/picture.jpg");
        form.append(img);
    }
    catch (Exception e) {
    
    }
    Note that this simply places the image on the form. There is another way of putting images into the form with a few extra options:
    http://www.forum.nokia.com/document/...E742BC6C3.html

Similar Threads

  1. Images in Menus, S40, Netbeans
    By upcork in forum Mobile Java General
    Replies: 2
    Last Post: 2006-09-29, 14:08
  2. integration Carbide.j 1.0 and Netbeans 5.0
    By ovjo12 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-02-16, 07:48
  3. NetBeans 4.1 Early Access Release Now Available
    By rdemmer in forum Mobile Java General
    Replies: 0
    Last Post: 2004-10-22, 14:52
  4. Replies: 0
    Last Post: 2004-08-25, 11:42

Posting Permissions

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