Click here to Skip to main content
15,903,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<b>Actually I am new to j2me n java I have a button and i wish to set text and image on that but i wish that text is displayed at center and image displyed at right alignment this is necessary please tell me the method very soon

thanks n regards </b>
Posted

1 solution

- make a button
- apply a text
- apply an image

that's it. the push button (which you're probably going for) is capable to have a text and an image.

How to Use Buttons, Check Boxes, and Radio Buttons @ the java tutorials on oracle.com[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900