item or screen appearance

I want to design a component which looks like any other component in any target device.how can I do it?
[117 byte] By [etaa] at [2007-11-26 20:11:48]
# 1
CustomItem ?an object draws with paint() method?
suparenoa at 2007-7-9 23:16:49 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
yes I know CustomItem.my question is : does the graphics object passed to paint method initialized with the device's default graphics or I need to receive them in other ways?Message was edited by: eta
etaa at 2007-7-9 23:16:49 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
Graphics object is always the same... if your draw a pink rounded square of 50 px / 50 px,every device will display a pink round.... except black and white screen, low resolution, ...
suparenoa at 2007-7-9 23:16:49 > top of Java-index,Java Mobility Forums,Java ME Technologies...