Tabnine Logo
JCheckBoxMenuItem.setBackground
Code IndexAdd Tabnine to your IDE (free)

How to use
setBackground
method
in
javax.swing.JCheckBoxMenuItem

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: RPTools/maptool

item.setBackground(bgColor);
item.setForeground(fgColor);
origin: SimpleAmazonGlacierUploader/SAGU

viewLog.addActionListener(this);
viewMenu.add(logCheckMenuItem);
logCheckMenuItem.setBackground(WHITE);
logCheckMenuItem.setSelected(true);
viewMenu.addSeparator();
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.swingJCheckBoxMenuItemsetBackground

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

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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