Tabnine Logo
JCheckBoxMenuItem.setFont
Code IndexAdd Tabnine 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)

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

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Option (scala)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now