JMenuItem: how to remove the extra space on the left-side
843806Sep 1 2008 — edited Sep 9 2008Hello all,
this will sound like an old question, but I have browsed thru the forums archive and I did not find an answer (maybe I did not search well...)
Is there a simple way to get rid of the ugly extra space in the left-side of a JMenuItem? I am referring to the space that is used by the descendants JCheckBoxMenuItem and JRadioButtonMenuItem, respectvely to display the [X] and (o) signs. That extra space is "painted" even when the JMenuItem is just a plan JMenuItem, which is very ugly.
This question nas nothing to do with the optional icon that every JMenuItem allows. The extra left space is there regardless of an icon being added or not.
TIA to all volunteers.
de_facto