wood burning stoves*
The moose likes Java Micro Edition and the fly likes Create a card.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Create a card...." Watch "Create a card...." New topic

Create a card....

kakashi blue

Joined: Mar 27, 2003
Posts: 4
I currently doing a handphone game on Monopoly. Anyone know how to draw a card out with the top portion blue and the lower portion white and witht the text hello. If anyone can help, kindly email me. Or reply here.
p/s:Thanx for any help.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

Well with the "detail" of a Monopoly card, you will probably want to use the Canvas and the Graphics Objects. These will give you the most flexibility.
You can draw a box, fill it with your color. then put your text in there all with the Graphics Object.
Or you can create an Image that is the box background, and place text there.
Or even maybe a TiledLayer to put in that place
I think that there are other possible solutions, but my instinct would go with the Graphics object to draw.
Hope that helps you with some ideas.

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
It is sorta covered in the JavaRanch Style Guide.
subject: Create a card....
Similar Threads
WA #1.....word association
HttpUnit and Jetspeed Portal
Struts Tiles
Card Shuffle Problem
SD card and Micro SD card