// org.eclipse.ui.internal.handlers.WidgetMethodHandler).
// TODO: can this be queried from the L&F?
KeyboardFocusManager kfm = KeyboardFocusManager.getCurrentKeyboardFocusManager();
if (kfm.getDefaultFocusTraversalPolicy().getClass().getName()
== "javax.swing.LegacyGlueFocusTraversalPolicy")
kfm.setDefaultFocusTraversalPolicy(new LayoutFocusTraversalPolicy());
if (frame.getFocusTraversalPolicy() != null
&& frame.getFocusTraversalPolicy().getClass().getName()
== "javax.swing.LegacyGlueFocusTraversalPolicy")
frame.setFocusTraversalPolicy(new LayoutFocusTraversalPolicy());
rootPaneContainer = addRootPaneContainer(frame);
initPopupMenuSupport(rootPaneContainer.getRootPane());
// The color of the frame is visible during redraws. Use the