public static boolean isUiAcceptable(final MenuItemUI ui) { return ui instanceof BasicMenuUI && GtkPaintingUtil.isSynthUI(ui); }