Just a small correction,
getWidth() and getHeight() are inherited methods from 'Displayable'.
---
Ashish Patil
Sr Developer - Java ME
Hungama Mobile
On 3/20/07, Ashish Patil <[EMAIL PROTECTED]> wrote:
Here are the functions you need.
Canvas.getWidth()
Canvas.getHeight()
If you want to run your application center aligned on bigger canvas
handsets, just use proper clipping and shift of origin..
---
Ashish Patil
Sr Developer - Java ME
Hungama Mobile
On 3/20/07, Sergio Ordoño Marín <[EMAIL PROTECTED]> wrote:
>
> I wonder if there are some function or something in the canvas or graph
> classes to know the size of the canvas/screen where the app is running.
> If
> that exist, would made my life much more easy!!, changing only the size
> of
> my grid to ajust to the each screen.
>
> Anyone can throw some help?. Thanks!!
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users