// root chain - application menu button,
// taskbar panel components and task toggle buttons
KeyTipChain root = new KeyTipChain(ribbon);
// application menu button
final JRibbonApplicationMenuButton appMenuButton = FlamingoUtilities
.getApplicationMenuButton(ribbonFrame);
if ((appMenuButton != null)
&& (ribbon.getApplicationMenuKeyTip() != null)) {
final KeyTipLink appMenuButtonLink = new KeyTipLink();
appMenuButtonLink.comp = appMenuButton;
appMenuButtonLink.keyTipString = ribbon.getApplicationMenuKeyTip();
appMenuButtonLink.prefAnchorPoint = appMenuButton.getUI()
.getKeyTipAnchorCenterPoint();
appMenuButtonLink.onActivated = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
appMenuButton.doPopupClick();
}
};
appMenuButtonLink.enabled = true;
appMenuButtonLink.traversal = new KeyTipLinkTraversal() {
@Override