Tabnine Logo
L1R1ButtonPanel
Code IndexAdd Tabnine to your IDE (free)

How to use
L1R1ButtonPanel
in
org.jfree.ui

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

origin: org.jfree/com.springsource.org.jfree

/**
 * Standard constructor - creates a two-button panel with the specified labels.
 *
 * @param leftLabel  the label for the left button.
 * @param rightLabel  the label for the right button.
 */
public L1R1ButtonPanel(final String leftLabel, final String rightLabel) {
  setLayout(new BorderLayout());
  this.left = new JButton(leftLabel);
  this.right = new JButton(rightLabel);
  add(this.left, BorderLayout.WEST);
  add(this.right, BorderLayout.EAST);
}
origin: jfree/jcommon

/**
 * Standard constructor - creates a two-button panel with the specified labels.
 *
 * @param leftLabel  the label for the left button.
 * @param rightLabel  the label for the right button.
 */
public L1R1ButtonPanel(final String leftLabel, final String rightLabel) {
  setLayout(new BorderLayout());
  this.left = new JButton(leftLabel);
  this.right = new JButton(rightLabel);
  add(this.left, BorderLayout.WEST);
  add(this.right, BorderLayout.EAST);
}
origin: org.jfree/jcommon

/**
 * Standard constructor - creates a two-button panel with the specified labels.
 *
 * @param leftLabel  the label for the left button.
 * @param rightLabel  the label for the right button.
 */
public L1R1ButtonPanel(final String leftLabel, final String rightLabel) {
  setLayout(new BorderLayout());
  this.left = new JButton(leftLabel);
  this.right = new JButton(rightLabel);
  add(this.left, BorderLayout.WEST);
  add(this.right, BorderLayout.EAST);
}
org.jfree.uiL1R1ButtonPanel

Javadoc

A 'ready-made' panel that has one button on the left and another button on the right - a layout manager takes care of resizing.

Most used methods

  • add
  • setLayout

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • getSystemService (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JButton (javax.swing)
  • CodeWhisperer alternatives
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