×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jan 2011
    Location
    The Heart of India
    Posts
    41

    Thumbs up Is it possible to design custom canvas having images and text field also.

    Hi,
    I am developing a custom canvas having text fields, string items and images with paint(Graphics g) method. Is it possible to design custom canvas having images and text field also with some modification in existing API?

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Is it possible to design custom canvas having images and text field also.

    So you would like to mix high-level LCDUI elements with Canvas (low-level UI)?
    Unfortunately that is not possible, you have to implement all the things you want to place on Canvas yourself. Of course you could try to use some existing 3rd party UI library
    http://wiki.forum.nokia.com/index.ph..._UI_Frameworks

    Hartti

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: Is it possible to design custom canvas having images and text field also.

    Quote Originally Posted by ravi.joshi53 View Post
    Hi,
    I am developing a custom canvas having text fields, string items and images with paint(Graphics g) method. Is it possible to design custom canvas having images and text field also with some modification in existing API?
    Yeah you can develop this kind of GUI using the Canvas. The most important thing is that you have to do all rendering of the components that you wanna develop, have to deal with the screen resolution issues when the same component will be test on the different devices, the event handling of the same to be done by you only,

    As hartti suggested that you can go for the already developed GUI third party GUI library like LWUIT.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  4. #4
    Registered User
    Join Date
    Feb 2011
    Posts
    1

    Re: Is it possible to design custom canvas having images and text field also.

    Thanks .I will find the solution of your query and contact you as soon as posible.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Is it possible to design custom canvas having images and text field also.

    Quote Originally Posted by ravi.joshi53 View Post
    Hi,
    I am developing a custom canvas having text fields, string items and images with paint(Graphics g) method. Is it possible to design custom canvas having images and text field also with some modification in existing API?
    Instead of trying to put TextFields on Canvas, try to put the required Custom Items (where you are free to use a predefined Area of the form as Canvas - overwriting its paint & keyEvents) on the form itself.
    Or try LWUIT - http://java.sun.com/developer/techni...e/lwuit_intro/
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  6. #6
    Registered User
    Join Date
    Jan 2011
    Location
    The Heart of India
    Posts
    41

    Re: Is it possible to design custom canvas having images and text field also.

    Thank you Hartti... i am trying...
    -Ravi Joshi

  7. #7
    Registered User
    Join Date
    Jan 2011
    Location
    The Heart of India
    Posts
    41

    Re: Is it possible to design custom canvas having images and text field also.

    Quote Originally Posted by im2amit View Post
    Instead of trying to put TextFields on Canvas, try to put the required Custom Items (where you are free to use a predefined Area of the form as Canvas - overwriting its paint & keyEvents) on the form itself.
    Or try LWUIT - http://java.sun.com/developer/techni...e/lwuit_intro/
    thank you Amitabh.......thank you very much...
    -Ravi Joshi

Similar Threads

  1. Replies: 7
    Last Post: 2009-09-25, 12:29
  2. is it possible to draw a line over videocontrol in a canvas?
    By byronlilu in forum Mobile Java General
    Replies: 13
    Last Post: 2008-11-28, 11:58
  3. Is it possible to design a WML/XHTML application in color ?
    By ask_expert in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-06-17, 19:06
  4. Several texts and images in a single frame.? Is it possible
    By MessageV in forum General Messaging
    Replies: 2
    Last Post: 2002-06-14, 13:12

Posting Permissions

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