How to use images and text in a java.awt.list control?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Christer_Nordvik
Posted On:   Friday, October 26, 2001 01:48 AM

How do you make the application draw images and text in a list box?


I use PersonalJava to program on WinCE devices and have limited screen size. I need to be able to have a listbox that contains images and text. One image for each line of text. Is this possible? I have seen it done with JList but not using the AWT library.


I guess it is possible to override the paint method of the control but will I be able to draw the images to the left of the text then?



Any help would be greatly appreciated!

About | Sitemap | Contact