BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-01-2008, 09:38 AM   #1
abhsax1978@hotmail.com
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Unhappy in pure J2ME MIDlet Canvas I want to display a Marquee

Please Login to Remove!

just like tickers in the lists, i want to display Marquee on a Canvas. (Only on Blackberry, because in other J2ME supporting devices it runs fine in MIDlet)
I have used Timer-Task , and with some logic I am shifting the position of the string.
I have done it using the repaint() and Thread,sleep();
In Blackberry the string is not moving as in MIDlet. Instead it only moves when the trackerball rolls.
I want the app stop waiting for the trackerball event and just moves on showing marquee.
It seems the app dosn't respond to the repaint() call.
I have just 24 hours left for doing that. Maybe I can borrow some more time but at least today I am in great hurry.
Offline  
Old 08-04-2008, 05:58 AM   #2
abhsax1978@hotmail.com
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Smile

Ok You can use Display.getDisplay(midlet).callSerially()
please check out the JavaDoc for this function.
It surely works out.
You just have to arrange your sprites accurately, and there might not be a need to use (Graphics) g.serviceRepaints() to refresh the Canvas.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Vintage Apple Computer 4” Paper Cube Notepad Macintosh 80s 90s Office White picture

Vintage Apple Computer 4” Paper Cube Notepad Macintosh 80s 90s Office White

$39.95



6502 CPU - Over 100 chips on a vintage 4 inch Silicon wafer picture

6502 CPU - Over 100 chips on a vintage 4 inch Silicon wafer

$275.00



Vintage Post-it Note Pad Apple Magnetic Holder Pince A Notes Unused 1988 NOS picture

Vintage Post-it Note Pad Apple Magnetic Holder Pince A Notes Unused 1988 NOS

$16.99



Vintage Apple Day Planner Zipper Mead Office Products New W/ Tags  picture

Vintage Apple Day Planner Zipper Mead Office Products New W/ Tags

$59.99



Lot of 6 Vintage Apple Drawstring Bags For iPhone, Mac, Apple Watch, iPod picture

Lot of 6 Vintage Apple Drawstring Bags For iPhone, Mac, Apple Watch, iPod

$45.00



Retro 1951 Apple Computer Logo 0.7mm Ballpoint Black Ink Pen Gold Barrel picture

Retro 1951 Apple Computer Logo 0.7mm Ballpoint Black Ink Pen Gold Barrel

$56.41







Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.