Trying to avoid Swing - Images in PopupMenu?
I'm coding a Java applet that will be used as a browser based IRC client. I'm working on the toolbar right now and I want to have PopupMenus appear under the emoticon button and the font colour button.
I already made a custom ImageButton class for making buttons that display images, but there is no paint() method in the PopupMenu class or inherited, so I'm unsure if it's possible to make a popup menu that displays images (ie emoticons) as the options instead of text.
I'm trying to avoid Swing like the plague as I've had compatibility nightmares in the past using them in applets.
Any advice on how to write my own PopupMenu class that would allow image menu items that extends PopupMenu or any ideas how I'd go about writing a custom one from scratch or extending another class like Panel or Component perhaps?
Thanks for reading
How much C could a C++ if a C+ could + C?