×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    20

    Background Image on a form using MIDlets

    Hi All..........

    I'm new to J2ME development............Actually I'm trying to display Background Image on a mobile Display.
    I'm able to display using Canvas class but I want the same to be displayed using forms. Can
    any one suggest a method are any sample code relating to the same will help me to get ride of this
    problem.

    Thanks in advance..............

  2. #2
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: Background Image on a form using MIDlets

    using the standard MIDP High level GUI Items (like Form) you simply cannot set a background Image...
    So one of the doable options you already tried (using a Canvas), the other option would be to use a 3rd party GUI Library lie LWUIT or J2ME Polish which offer more elaborated GUI items (like forms, lists etc)...
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  3. #3
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Background Image on a form using MIDlets

    Can
    any one suggest a method are any sample code relating to the same will help me to get ride of this
    problem.
    It's true.
    As Tiger told you that you cannot set a Background Image for a standard MIDP Form.

    But you can set the background image in LWUIT, Because it supports.

    You need a code for it just check this : http://today.java.net/article/2008/0...painters-lwuit

  4. #4
    Registered User
    Join Date
    Aug 2010
    Posts
    20

    Re: Background Image on a form using MIDlets

    Hi dude thank you very much for ur reply.............it is really useful

Similar Threads

  1. image background form NOKIA
    By GGelec in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2010-05-02, 05:22
  2. image background form
    By GGelec in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2010-04-30, 21:35
  3. Can we set background image for Form?
    By manojkumar.m in forum Mobile Java General
    Replies: 1
    Last Post: 2008-06-13, 15:01
  4. Can I set image at form background ?
    By ravinikam in forum Mobile Java General
    Replies: 2
    Last Post: 2007-04-27, 10:42
  5. Background image for form
    By idmanari in forum Mobile Java General
    Replies: 1
    Last Post: 2003-02-20, 08:19

Posting Permissions

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