Tabnine Logo
LibraryPanel
Code IndexAdd Tabnine 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)

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

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top plugins for WebStorm
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