Tabnine Logo
L1R2ButtonPanel.setBorder
Code IndexAdd Tabnine to your IDE (free)

How to use
setBorder
method
in
org.jfree.ui.L1R2ButtonPanel

Best Java code snippets using org.jfree.ui.L1R2ButtonPanel.setBorder (Showing top 3 results out of 315)

origin: jfree/jcommon

/**
 * Builds and returns the user interface for the dialog.  This method is
 * shared among the constructors.
 *
 * @return the button panel.
 */
protected JPanel createButtonPanel() {
  final L1R2ButtonPanel buttons = new L1R2ButtonPanel(
      localizationResources.getString("Help"),
      localizationResources.getString("OK"),
      localizationResources.getString("Cancel"));
  final JButton helpButton = buttons.getLeftButton();
  helpButton.setActionCommand("helpButton");
  helpButton.addActionListener(this);
  final JButton okButton = buttons.getRightButton1();
  okButton.setActionCommand("okButton");
  okButton.addActionListener(this);
  final JButton cancelButton = buttons.getRightButton2();
  cancelButton.setActionCommand("cancelButton");
  cancelButton.addActionListener(this);
  buttons.setBorder(BorderFactory.createEmptyBorder(4, 0, 0, 0));
  return buttons;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Builds and returns the user interface for the dialog.  This method is shared among the
 * constructors.
 *
 * @return the button panel.
 */
protected JPanel createButtonPanel() {
  final L1R2ButtonPanel buttons = new L1R2ButtonPanel(localizationResources.getString("Help"),
                         localizationResources.getString("OK"),
                         localizationResources.getString("Cancel"));
  final JButton helpButton = buttons.getLeftButton();
  helpButton.setActionCommand("helpButton");
  helpButton.addActionListener(this);
  final JButton okButton = buttons.getRightButton1();
  okButton.setActionCommand("okButton");
  okButton.addActionListener(this);
  final JButton cancelButton = buttons.getRightButton2();
  cancelButton.setActionCommand("cancelButton");
  cancelButton.addActionListener(this);
  buttons.setBorder(BorderFactory.createEmptyBorder(4, 0, 0, 0));
  return buttons;
}
origin: org.jfree/jcommon

/**
 * Builds and returns the user interface for the dialog.  This method is
 * shared among the constructors.
 *
 * @return the button panel.
 */
protected JPanel createButtonPanel() {
  final L1R2ButtonPanel buttons = new L1R2ButtonPanel(
      localizationResources.getString("Help"),
      localizationResources.getString("OK"),
      localizationResources.getString("Cancel"));
  final JButton helpButton = buttons.getLeftButton();
  helpButton.setActionCommand("helpButton");
  helpButton.addActionListener(this);
  final JButton okButton = buttons.getRightButton1();
  okButton.setActionCommand("okButton");
  okButton.addActionListener(this);
  final JButton cancelButton = buttons.getRightButton2();
  cancelButton.setActionCommand("cancelButton");
  cancelButton.addActionListener(this);
  buttons.setBorder(BorderFactory.createEmptyBorder(4, 0, 0, 0));
  return buttons;
}
org.jfree.uiL1R2ButtonPanelsetBorder

Popular methods of L1R2ButtonPanel

  • <init>
    Standard constructor - creates a three button panel with the specified button labels.
  • add
  • getLeftButton
    Returns a reference to button 1, allowing the caller to set labels, action-listeners etc.
  • getRightButton1
    Returns a reference to button 2, allowing the caller to set labels, action-listeners etc.
  • getRightButton2
    Returns a reference to button 3, allowing the caller to set labels, action-listeners etc.
  • setLayout

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JFrame (javax.swing)
  • From CI to AI: The AI layer in your organization
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