Codota Logo
JCheckBoxMenuItem.setFont
Code IndexAdd Codota to your IDE (free)

How to use
setFont
method
in
javax.swing.JCheckBoxMenuItem

Best Java code snippets using javax.swing.JCheckBoxMenuItem.setFont (Showing top 8 results out of 315)

  • Common ways to obtain JCheckBoxMenuItem
private void myMethod () {
JCheckBoxMenuItem j =
  • Codota Iconnew JCheckBoxMenuItem()
  • Codota IconString str;new JCheckBoxMenuItem(str)
  • Codota IconAction action;new JCheckBoxMenuItem(action)
  • Smart code suggestions by Codota
}
origin: net.sf.mmax2/mmax2

item.setFont(getStandardFont());
final String temp=name;
item.addActionListener(new ActionListener()
origin: net.sf.mmax2/mmax2

item.setFont(MMAX2.getStandardFont());
outerBox.add(item);
origin: net.sf.mmax2/mmax2

attemptAutoUpdate.setFont(MMAX2.getStandardFont());
oneClickAnnotationMenu.add(attemptAutoUpdate);
oneClickAnnotationMenu.addSeparator();                
toFront.setFont(MMAX2.getStandardFont());        
settingsMenu.add(toFront);
autoApply.setActionCommand("auto-apply");
autoApply.addActionListener(this);
autoApply.setFont(MMAX2.getStandardFont());        
settingsMenu.add(autoApply);
useAnnotationHint.setFont(MMAX2.getStandardFont());        
settingsMenu.add(useAnnotationHint);
hintToFront.setFont(MMAX2.getStandardFont());        
settingsMenu.add(hintToFront);
origin: net.sf.mmax2/mmax2

defaultQueryLevelMenu.setFont(MMAX2.getStandardFont().deriveFont(8));
optimizationMenu.setFont(MMAX2.getStandardFont().deriveFont(8));
lookaheadMenuItem.setFont(MMAX2.getStandardFont().deriveFont(8));
breakMenuItem.setFont(MMAX2.getStandardFont().deriveFont(8));            
origin: net.sf.mmax2/mmax2

fancy = new JCheckBoxMenuItem("Fancy labels");
fancy.setSelected(true);
fancy.setFont(MMAX2.getStandardFont());
fancy.addActionListener(this);
fancy.setActionCommand("fancy");
activeOnly.setFont(MMAX2.getStandardFont());
activeOnly.addActionListener(this);
activeOnly.setActionCommand("activeOnly");
group.setFont(MMAX2.getStandardFont());
group.addActionListener(this);
group.setActionCommand("group");
origin: net.sf.mmax2/mmax2

enableBasedataEditing.setFont(MMAX2.getStandardFont());       
enableBasedataEditing.setEnabled(true);
settingsMenu.add(enableBasedataEditing);
autoReapplyAfterBasedataEditing.setFont(MMAX2.getStandardFont());       
autoReapplyAfterBasedataEditing.setEnabled(true);
autoReapplyAfterBasedataEditing.setSelected(true);        
autorefreshUponPanelActionMenuItem.setFont(MMAX2.getStandardFont());
autorefreshUponPanelActionMenuItem.setSelected(false);
autorefreshUponPanelActionMenuItem.addActionListener(new ActionListener()
highlightHandlesMenuItem.setFont(MMAX2.getStandardFont());
highlightHandlesMenuItem.setSelected(true);
highlightHandlesMenuItem.addActionListener(new ActionListener()
suppressHandlesWhenRenderingMenuItem.setFont(MMAX2.getStandardFont());
suppressHandlesWhenRenderingMenuItem.setSelected(true);
suppressHandlesWhenRenderingMenuItem.addActionListener(new ActionListener()
showMarkablePeerMenuItem.setFont(MMAX2.getStandardFont());
showMarkablePeerMenuItem.setSelected(false);
showMarkablePeerMenuItem.addActionListener(new ActionListener()
createSilentlyMenuItem.setFont(MMAX2.getStandardFont());
createSilentlyMenuItem.setSelected(false);
createSilentlyMenuItem.addActionListener(new ActionListener()
selectAfterCreationMenuItem.setFont(MMAX2.getStandardFont());
origin: org.biojava.thirdparty/forester

void customizeCheckBoxMenuItem( final JCheckBoxMenuItem item, final boolean is_selected ) {
  if ( item != null ) {
    item.setFont( MainFrame.menu_font );
    if ( !getConfiguration().isUseNativeUI() ) {
      item.setBackground( getConfiguration().getGuiMenuBackgroundColor() );
      item.setForeground( getConfiguration().getGuiMenuTextColor() );
    }
    item.setSelected( is_selected );
    item.addActionListener( this );
  }
}
origin: org.biojava.thirdparty/forester

void customizeCheckBoxMenuItem( final JCheckBoxMenuItem item, final boolean is_selected ) {
  if ( item != null ) {
    item.setFont( MainFrame.menu_font );
    if ( !getConfiguration().isUseNativeUI() ) {
      item.setBackground( getConfiguration().getGuiMenuBackgroundColor() );
      item.setForeground( getConfiguration().getGuiMenuTextColor() );
    }
    item.setSelected( is_selected );
    item.addActionListener( this );
  }
}
javax.swingJCheckBoxMenuItemsetFont

Popular methods of JCheckBoxMenuItem

  • <init>
  • setSelected
  • addActionListener
  • isSelected
  • setEnabled
  • setState
  • setText
  • getState
  • addItemListener
  • setMnemonic
  • setToolTipText
  • setActionCommand
  • setToolTipText,
  • setActionCommand,
  • setAccelerator,
  • setAction,
  • getText,
  • setIcon,
  • setName,
  • getModel,
  • addChangeListener,
  • getActionCommand

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • Collectors (java.util.stream)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now