congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ApplicationFrame.setVisible
Code IndexAdd Tabnine to your IDE (free)

How to use
setVisible
method
in
org.jfree.ui.ApplicationFrame

Best Java code snippets using org.jfree.ui.ApplicationFrame.setVisible (Showing top 10 results out of 315)

origin: ExpediaDotCom/adaptive-alerting

public static void showChartFrame(ApplicationFrame chartFrame) {
  chartFrame.pack();
  RefineryUtilities.positionFrameRandomly(chartFrame);
  chartFrame.setVisible(true);
}

origin: openimaj/openimaj

frame.setContentPane(chartPanel);
frame.pack();
frame.setVisible(true);
origin: org.openimaj/sandbox

frame.setContentPane(chartPanel);
frame.pack();
frame.setVisible(true);
origin: mdeverdelhan/ta4j-origins

/**
 * Displays a chart in a frame.
 * @param chart the chart to be displayed
 */
private static void displayChart(JFreeChart chart) {
  // Chart panel
  ChartPanel panel = new ChartPanel(chart);
  panel.setFillZoomRectangle(true);
  panel.setMouseWheelEnabled(true);
  panel.setPreferredSize(new Dimension(1024, 400));
  // Application frame
  ApplicationFrame frame = new ApplicationFrame("Ta4j example - Buy and sell signals to chart");
  frame.setContentPane(panel);
  frame.pack();
  RefineryUtilities.centerFrameOnScreen(frame);
  frame.setVisible(true);
}
origin: mdeverdelhan/ta4j-origins

/**
 * Displays a chart in a frame.
 * @param chart the chart to be displayed
 */
private static void displayChart(JFreeChart chart) {
  // Chart panel
  ChartPanel panel = new ChartPanel(chart);
  panel.setFillZoomRectangle(true);
  panel.setMouseWheelEnabled(true);
  panel.setPreferredSize(new java.awt.Dimension(740, 300));
  // Application frame
  ApplicationFrame frame = new ApplicationFrame("Ta4j example - Candlestick chart");
  frame.setContentPane(panel);
  frame.pack();
  RefineryUtilities.centerFrameOnScreen(frame);
  frame.setVisible(true);
}

origin: mdeverdelhan/ta4j-origins

/**
 * Displays a chart in a frame.
 * @param chart the chart to be displayed
 */
private static void displayChart(JFreeChart chart) {
  // Chart panel
  ChartPanel panel = new ChartPanel(chart);
  panel.setFillZoomRectangle(true);
  panel.setMouseWheelEnabled(true);
  panel.setPreferredSize(new java.awt.Dimension(500, 270));
  // Application frame
  ApplicationFrame frame = new ApplicationFrame("Ta4j example - Indicators to chart");
  frame.setContentPane(panel);
  frame.pack();
  RefineryUtilities.centerFrameOnScreen(frame);
  frame.setVisible(true);
}
origin: mdeverdelhan/ta4j-origins

/**
 * Displays a chart in a frame.
 * @param chart the chart to be displayed
 */
private static void displayChart(JFreeChart chart) {
  // Chart panel
  ChartPanel panel = new ChartPanel(chart);
  panel.setFillZoomRectangle(true);
  panel.setMouseWheelEnabled(true);
  panel.setPreferredSize(new Dimension(1024, 400));
  // Application frame
  ApplicationFrame frame = new ApplicationFrame("Ta4j example - Cash flow to chart");
  frame.setContentPane(panel);
  frame.pack();
  RefineryUtilities.centerFrameOnScreen(frame);
  frame.setVisible(true);
}
origin: jnidzwetzki/crypto-bot

/**
 * Displays a chart in a frame.
 * 
 * @param chart
 *            the chart to be displayed
 */
private static void displayChart(JFreeChart chart) {
  // Chart panel
  ChartPanel panel = new ChartPanel(chart);
  panel.setFillZoomRectangle(true);
  panel.setMouseWheelEnabled(true);
  panel.setPreferredSize(new Dimension(1024, 400));
  // Application frame
  ApplicationFrame frame = new ApplicationFrame("Ta4j example - Buy and sell signals to chart");
  frame.setContentPane(panel);
  frame.pack();
  RefineryUtilities.centerFrameOnScreen(frame);
  frame.setVisible(true);
}

origin: improbable-research/keanu

private static void display(JFreeChart chart, String title) {
  ApplicationFrame frame = new ApplicationFrame(title);
  final ChartPanel chartPanel = new ChartPanel(chart);
  chartPanel.setPreferredSize(new java.awt.Dimension(500, 270));
  frame.setContentPane(chartPanel);
  frame.pack();
  RefineryUtilities.centerFrameOnScreen(frame);
  frame.setVisible(true);
}
origin: stackoverflow.com

frame.setContentPane(chartPanel);
frame.pack();
frame.setVisible(true);
org.jfree.uiApplicationFramesetVisible

Popular methods of ApplicationFrame

  • <init>
    Constructs a new application frame.
  • pack
  • setContentPane
  • addWindowListener
  • dispose

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Best IntelliJ 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