Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2009

    Smile How to update / Refresh Image

    Hi to all,
    How can i change/refresh/update an image in J2ME ?
    I use on Image object and I add it whit the append method in my Form


  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Deva, Romania

    Re: How to update / Refresh Image


    As I understand your requirement, you can create the Image object again from a new image file (or the same for refreshing), remove it from the form using the delete method and add the new version of it using the append method. It migth be easier if you used ImageItem though, since it has the setImage method which is handy in situations like this.
    Last edited by bogdan.galiceanu; 2009-05-29 at 15:26. Reason: Slight misunderstanding

Similar Threads

  1. Image attribute in Bluetooth ServiceRecord
    By lampz in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2008-02-18, 20:30
  2. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  3. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  4. image failed to load
    By killarkai in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2003-07-25, 13:07
  5. image transparency gets lost with DirectUtils.createImage
    By rawpsycho in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2003-05-28, 08:36

Posting Permissions

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