Codota Logo
LibraryPanel
Code IndexAdd Codota to your IDE (free)

How to use
LibraryPanel
in
org.jfree.ui.about

Best Java code snippets using org.jfree.ui.about.LibraryPanel (Showing top 18 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Constructs a LibraryPanel.
 *
 * @param libraries  a list of libraries (represented by Library objects).
 */
public LibraryPanel(final List libraries) {
  setLayout(new BorderLayout());
  this.model = new LibraryTableModel(libraries);
  this.table = new JTable(this.model);
  add(new JScrollPane(this.table));
}
origin: jfree/jcommon

private static List getLibraries (final ProjectInfo info) {
  if (info == null) {
    return new ArrayList();
  }
  final ArrayList libs = new ArrayList();
  collectLibraries(info, libs);
  return libs;
}
origin: jfree/jcommon

/**
 * Creates a new library panel for the specified project.
 *
 * @param projectInfo  the project information.
 */
public LibraryPanel(final ProjectInfo projectInfo) {
  this(getLibraries(projectInfo));
}
origin: org.jfree/com.springsource.org.jfree

final JPanel librariesPanel = new LibraryPanel(project);
librariesPanel.setBorder(AboutFrame.STANDARD_BORDER);
final String librariesTab = this.resources.getString("about-frame.tab.libraries");
origin: org.jfree/com.springsource.org.jfree

final JPanel librariesPanel = new LibraryPanel(info);
librariesPanel.setBorder(AboutDialog.STANDARD_BORDER);
final String librariesTab = this.resources.getString("about-frame.tab.libraries");
origin: jfree/jcommon

/**
 * Constructs a LibraryPanel.
 *
 * @param libraries  a list of libraries (represented by Library objects).
 */
public LibraryPanel(final List libraries) {
  setLayout(new BorderLayout());
  this.model = new LibraryTableModel(libraries);
  this.table = new JTable(this.model);
  add(new JScrollPane(this.table));
}
origin: org.jfree/jcommon

private static List getLibraries (final ProjectInfo info) {
  if (info == null) {
    return new ArrayList();
  }
  final ArrayList libs = new ArrayList();
  collectLibraries(info, libs);
  return libs;
}
origin: jfree/jcommon

final JPanel librariesPanel = new LibraryPanel(project);
librariesPanel.setBorder(AboutFrame.STANDARD_BORDER);
final String librariesTab = this.resources.getString(
origin: org.jfree/jcommon

/**
 * Creates a new library panel for the specified project.
 *
 * @param projectInfo  the project information.
 */
public LibraryPanel(final ProjectInfo projectInfo) {
  this(getLibraries(projectInfo));
}
origin: org.jfree/jcommon

/**
 * Constructs a LibraryPanel.
 *
 * @param libraries  a list of libraries (represented by Library objects).
 */
public LibraryPanel(final List libraries) {
  setLayout(new BorderLayout());
  this.model = new LibraryTableModel(libraries);
  this.table = new JTable(this.model);
  add(new JScrollPane(this.table));
}
origin: org.jfree/com.springsource.org.jfree

private static List getLibraries (final ProjectInfo info) {
  if (info == null) {
    return new ArrayList();
  }
  final ArrayList libs = new ArrayList();
  collectLibraries(info, libs);
  return libs;
}
origin: jfree/jcommon

final JPanel librariesPanel = new LibraryPanel(info);
librariesPanel.setBorder(AboutDialog.STANDARD_BORDER);
final String librariesTab = this.resources.getString(
origin: org.jfree/com.springsource.org.jfree

public LibraryPanel(final ProjectInfo projectInfo) {
  this(getLibraries(projectInfo));
}
origin: jfree/jcommon

private static void collectLibraries (final ProjectInfo info,
                   final List list) {
  org.jfree.base.Library[] libs = info.getLibraries();
  for (int i = 0; i < libs.length; i++) {
    final org.jfree.base.Library lib = libs[i];
    if (list.contains(lib) == false) {
      // prevent duplicates, they look ugly ..
      list.add(lib);
      if (lib instanceof ProjectInfo) {
        collectLibraries((ProjectInfo) lib, list);
      }
    }
  }
  libs = info.getOptionalLibraries();
  for (int i = 0; i < libs.length; i++) {
    final org.jfree.base.Library lib = libs[i];
    if (list.contains(lib) == false) {
      // prevent duplicates, they look ugly ..
      list.add(lib);
      if (lib instanceof ProjectInfo) {
        collectLibraries((ProjectInfo) lib, list);
      }
    }
  }
}
origin: org.jfree/jcommon

final JPanel librariesPanel = new LibraryPanel(info);
librariesPanel.setBorder(AboutDialog.STANDARD_BORDER);
final String librariesTab = this.resources.getString(
origin: org.jfree/jcommon

private static void collectLibraries (final ProjectInfo info,
                   final List list) {
  org.jfree.base.Library[] libs = info.getLibraries();
  for (int i = 0; i < libs.length; i++) {
    final org.jfree.base.Library lib = libs[i];
    if (list.contains(lib) == false) {
      // prevent duplicates, they look ugly ..
      list.add(lib);
      if (lib instanceof ProjectInfo) {
        collectLibraries((ProjectInfo) lib, list);
      }
    }
  }
  libs = info.getOptionalLibraries();
  for (int i = 0; i < libs.length; i++) {
    final org.jfree.base.Library lib = libs[i];
    if (list.contains(lib) == false) {
      // prevent duplicates, they look ugly ..
      list.add(lib);
      if (lib instanceof ProjectInfo) {
        collectLibraries((ProjectInfo) lib, list);
      }
    }
  }
}
origin: org.jfree/jcommon

final JPanel librariesPanel = new LibraryPanel(project);
librariesPanel.setBorder(AboutFrame.STANDARD_BORDER);
final String librariesTab = this.resources.getString(
origin: org.jfree/com.springsource.org.jfree

private static void collectLibraries (final ProjectInfo info,
                   final List list) {
  org.jfree.base.Library[] libs = info.getLibraries();
  for (int i = 0; i < libs.length; i++) {
    final org.jfree.base.Library lib = libs[i];
    if (list.contains(lib) == false) {
      // prevent duplicates, they look ugly ..
      list.add(lib);
      if (lib instanceof ProjectInfo) {
        collectLibraries((ProjectInfo) lib, list);
      }
    }
  }
  libs = info.getOptionalLibraries();
  for (int i = 0; i < libs.length; i++) {
    final org.jfree.base.Library lib = libs[i];
    if (list.contains(lib) == false) {
      // prevent duplicates, they look ugly ..
      list.add(lib);
      if (lib instanceof ProjectInfo) {
        collectLibraries((ProjectInfo) lib, list);
      }
    }
  }
}
org.jfree.ui.aboutLibraryPanel

Javadoc

A panel containing a table that lists the libraries used in a project.

Used in the AboutFrame class.

Most used methods

  • <init>
    Creates a new library panel for the specified project.
  • add
  • collectLibraries
  • getLibraries
  • setLayout

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now