Tabnine Logo
TabbedDialog.setJMenuBar
Code IndexAdd Tabnine to your IDE (free)

How to use
setJMenuBar
method
in
org.jfree.ui.tabbedui.TabbedDialog

Best Java code snippets using org.jfree.ui.tabbedui.TabbedDialog.setJMenuBar (Showing top 6 results out of 315)

origin: jfree/jcommon

  /**
   * This method gets called when a bound property is changed.
   *
   * @param evt A PropertyChangeEvent object describing the event source
   *            and the property that has changed.
   */
  public void propertyChange(final PropertyChangeEvent evt) {
    if (evt.getPropertyName().equals(AbstractTabbedUI.JMENUBAR_PROPERTY)) {
      setJMenuBar(getTabbedUI().getJMenuBar());
    }
  }
}
origin: org.jfree/com.springsource.org.jfree

  /**
   * This method gets called when a bound property is changed.
   *
   * @param evt A PropertyChangeEvent object describing the event source
   *            and the property that has changed.
   */
  public void propertyChange(final PropertyChangeEvent evt) {
    if (evt.getPropertyName().equals(AbstractTabbedUI.JMENUBAR_PROPERTY)) {
      setJMenuBar(getTabbedUI().getJMenuBar());
    }
  }
}
origin: org.jfree/jcommon

  /**
   * This method gets called when a bound property is changed.
   *
   * @param evt A PropertyChangeEvent object describing the event source
   *            and the property that has changed.
   */
  public void propertyChange(final PropertyChangeEvent evt) {
    if (evt.getPropertyName().equals(AbstractTabbedUI.JMENUBAR_PROPERTY)) {
      setJMenuBar(getTabbedUI().getJMenuBar());
    }
  }
}
origin: org.jfree/jcommon

/**
 * Initialises the dialog.
 *
 * @param tabbedUI  the UI that controls the dialog.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener
    (AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener());
  addWindowListener(new WindowAdapter() {
    public void windowClosing(final WindowEvent e) {
      getTabbedUI().getCloseAction().actionPerformed
        (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
    }
  });
  final JPanel panel = new JPanel();
  panel.setLayout(new BorderLayout());
  panel.add(tabbedUI, BorderLayout.CENTER);
  setContentPane(panel);
  setJMenuBar(tabbedUI.getJMenuBar());
}
origin: jfree/jcommon

/**
 * Initialises the dialog.
 *
 * @param tabbedUI  the UI that controls the dialog.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener
    (AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener());
  addWindowListener(new WindowAdapter() {
    public void windowClosing(final WindowEvent e) {
      getTabbedUI().getCloseAction().actionPerformed
        (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
    }
  });
  final JPanel panel = new JPanel();
  panel.setLayout(new BorderLayout());
  panel.add(tabbedUI, BorderLayout.CENTER);
  setContentPane(panel);
  setJMenuBar(tabbedUI.getJMenuBar());
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Initialises the dialog.
 *
 * @param tabbedUI  the UI that controls the dialog.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener
    (AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener());
  addWindowListener(new WindowAdapter() {
    public void windowClosing(final WindowEvent e) {
      getTabbedUI().getCloseAction().actionPerformed
        (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
    }
  });
  final JPanel panel = new JPanel();
  panel.setLayout(new BorderLayout());
  panel.add(tabbedUI, BorderLayout.CENTER);
  setContentPane(panel);
  setJMenuBar(tabbedUI.getJMenuBar());
}
org.jfree.ui.tabbeduiTabbedDialogsetJMenuBar

Popular methods of TabbedDialog

  • addWindowListener
  • getTabbedUI
    Returns the UI implementation for the dialog.
  • setContentPane

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • 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