本文整理了Java中javax.swing.JLabel.setInheritsPopupMenu()
方法的一些代码示例,展示了JLabel.setInheritsPopupMenu()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JLabel.setInheritsPopupMenu()
方法的具体详情如下:
包路径:javax.swing.JLabel
类名称:JLabel
方法名:setInheritsPopupMenu
暂无
代码示例来源:origin: magefree/mage
lblCount.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
lblCount.setFocusable(false);
lblCount.setInheritsPopupMenu(false);
lblCount.setRequestFocusEnabled(false);
lblCount.setVerifyInputWhenFocusTarget(false);
lblLandCount.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
lblLandCount.setFocusable(false);
lblLandCount.setInheritsPopupMenu(false);
lblLandCount.setRequestFocusEnabled(false);
lblLandCount.setVerifyInputWhenFocusTarget(false);
lblCreatureCount.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
lblCreatureCount.setFocusable(false);
lblCreatureCount.setInheritsPopupMenu(false);
lblCreatureCount.setRequestFocusEnabled(false);
lblCreatureCount.setVerifyInputWhenFocusTarget(false);
代码示例来源:origin: freeplane/freeplane
@Override
protected void installComponents(JLabel c) {
ScaledHTML.updateRenderer(c, c.getText());
c.setInheritsPopupMenu(true);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-vmd-game
labelName.setText(org.openide.util.NbBundle.getMessage(GameDesignPreviewComponent.class, "GameDesignPreviewComponent.labelName.text")); // NOI18N
labelName.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(163, 184, 215), 1, true));
labelName.setInheritsPopupMenu(false);
代码示例来源:origin: cytoscape/application
availablePluginsLabel.setEnabled(false);
availablePluginsLabel.setFocusable(false);
availablePluginsLabel.setInheritsPopupMenu(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
代码示例来源:origin: org.cytoscape/plugin-impl
availablePluginsLabel.setEnabled(false);
availablePluginsLabel.setFocusable(false);
availablePluginsLabel.setInheritsPopupMenu(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
代码示例来源:origin: com.eas.platypus/platypus-js-forms
public ModelComponentDecorator() {
super();
setLayout(new BorderLayout());
setOpaque(true);
iconLabel.setOpaque(false);
iconLabel.setBorder(null);
iconLabel.setFocusable(false);
iconLabel.setText("");
iconLabel.setInheritsPopupMenu(true);
checkEvents(iconLabel);
//
gapLabel.setOpaque(false);
gapLabel.setBorder(null);
gapLabel.setFocusable(false);
gapLabel.setText("");
gapLabel.setInheritsPopupMenu(true);
checkEvents(gapLabel);
//
extraTools.setBorder(null);
extraTools.setBorderPainted(false);
extraTools.setFloatable(false);
extraTools.setOpaque(false);
extraTools.setFocusable(false);
extraTools.setInheritsPopupMenu(true);
recreateExtraEditingControls();
checkEvents(extraTools);
add(extraTools, BorderLayout.EAST);
//
setBorder(new LineBorder(WDIGETS_BORDER_COLOR));
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-dataconnectivity
message.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1));
message.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
message.setInheritsPopupMenu(false);
内容来源于网络,如有侵权,请联系作者删除!