Is there a way to render control like list box,combo box from groundup using graphic object and its methods ?
All I get is, public void paint( Graphics g);
Can you point me to any prior work which I can use.
To give you more background info,
It is for a mobile framework (Custom j2me, pretty old) where default control rendering is very primitive.
So, inorder to make controls more userfriendly some of the controls I need to render manually.
This message was edited 1 time. Last update was at by Pratap koritala
Pratap koritala
Ranch Hand
Joined: Sep 27, 2006
Posts: 243
posted
0
Is there a way to render control like list box,combo box from groundup using graphic object and its methods ?
If you are considering AWT/Swing components "off the shelf" then you will find this thread interesting.
Check out LWUIT I personally have found its UI more appealing than the "standard j2me" version.
Thanks for reply, I would be checking LWUIT source if I can have it as reference.
can you answer, Is it possible to render all the control with plain graphic object and its methods ?
So, I can put more efforts into it. I'll also be checking LWUIT source to have conclusion myself.
BTW, It is DOCOMO DOJA Framework (Similar in classes and methods with j2me/awt with different packages, but doesn't comply with J2ME) and UI needs customization.
I will be using code of any graphic libraries like LWUIT as reference, which renders controls from Graphics Object and event listeners.
Is there such more libraries ( Better if it is not mature, LOC will be less)?
In addition much of the advanced UI functionality is not accessible in LCDUI and requires the developer to write very low level "paint" type code. The Lightweight UI Toolkit was developed to address these issues
I can able to find lot of j2me gui libraries, but not "requires the developer to write very low level "paint" type code"
This message was edited 1 time. Last update was at by Pratap koritala
subject: custom control rendering with Graphic object