can u help me,i have designed a login button by drawRect().i want to put some event on this button is not clicking also.so can u suggest me some idea about this.
Message was edited by: ajay_kumar
From your question it appears that you are still quite new to Java ME.
It is possible to create a button with a drawRect() and then capture the "pointer pressed" events - but that not the recommended way of implementing a button.
I would suggest you want to get started with the basics of MIDP programming before you attempt to implement something like this. Check out the "Getting Started" section of our wiki:
Hope this helps,
thank u very much yar.....
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.