Fixed issue #59. Awt menus cannot show tooltips.
This commit is contained in:
parent
428f39baf1
commit
0a2ffb451d
|
@ -139,13 +139,7 @@ class AwtMenu implements MenuPeer {
|
||||||
@Override
|
@Override
|
||||||
public
|
public
|
||||||
void setTooltip(final MenuItem menuItem) {
|
void setTooltip(final MenuItem menuItem) {
|
||||||
SwingUtil.invokeLater(new Runnable() {
|
// no op. (awt menus cannot show tooltips)
|
||||||
@Override
|
|
||||||
public
|
|
||||||
void run() {
|
|
||||||
_native.setLabel(menuItem.getTooltip());
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user