i'm having a problem setting an icon on a submenu.
when i do so, the right pointing triangle is not rendered.
1: "sendTo" item correctly renders arrow.
File
SendTo |>
2: "SendTo" item displays icon, but no arrow
File
* SendTo
anyone else have this problem? i originally thought the size might be the problem but i tried giving it lots of room and no luck.
i notice the Basic??UI code has a parameter for rendering the arrowIcon but i don't see how setting an icon would affect it. maybe something in the XP??UI code.
code example:
Jmenu menu = new JMenu();
JMenu submenu = new JMenu();
// add some menu items to submenu etc...
submenu.setIcon(icon);