×

Discussion Board

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

    Thumbs up how to add cursor in midlet canvas

    hi, i am developing a canvas having multiple buttons. to click on those buttons, it would be very easy to use cursor. is there any method in canvas class to add cursor??? i have Nokia 2730 classic mobile phone (series 60 5th edition). Basically i need multiple buttons in my application. so i thought to develop a canvas on which i can easily add image as buttons, but to click on those images, i need cursor...

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: how to add cursor in midlet canvas

    The method is "drawImage()". If you want a cursor, you will have to draw it, and move it around when you receive keyPressed() events;

    Graham.

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

    Re: how to add cursor in midlet canvas

    Thank you.... i will try this.. but whenever i find any button, i have to switch a new image of cursor, indicating that there is a button behind the cursor..... so i have to draw two cursor....

Similar Threads

  1. how to add textbox in canvas?
    By yatibawri in forum Mobile Java General
    Replies: 11
    Last Post: 2010-01-11, 10:42
  2. How to Add a List in CANVAS?
    By Johnnyman in forum Mobile Java Games
    Replies: 5
    Last Post: 2009-08-24, 06:56
  3. How to add a list in a Canvas??
    By Rodrigo82 in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-21, 00:35
  4. how to add canvas in form in midlet
    By mathi77in in forum Mobile Java General
    Replies: 1
    Last Post: 2005-07-13, 07:50

Posting Permissions

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