Package org.jfree.chart.demo
Class ChartTiming3
java.lang.Object
org.jfree.chart.demo.ChartTiming3
- All Implemented Interfaces:
ActionListener
,EventListener
public class ChartTiming3 extends Object implements ActionListener
Draws a scatter plot over and over for 10 seconds. Reports on how many
redraws were achieved.
On my PC (SuSE Linux 8.2, JDK 1.4, 256mb RAM, 2.66ghz Pentium) I get 13-14 charts per second.
-
Constructor Summary
Constructors Constructor Description ChartTiming3()
Creates a new application. -
Method Summary
Modifier and Type Method Description void
actionPerformed(ActionEvent event)
Receives notification of action events (in this case, from the Timer).static void
main(String[] args)
Starting point for the application.void
run()
Runs the test.
-
Constructor Details
-
ChartTiming3
public ChartTiming3()Creates a new application.
-
-
Method Details
-
run
public void run()Runs the test. -
actionPerformed
Receives notification of action events (in this case, from the Timer).- Specified by:
actionPerformed
in interfaceActionListener
- Parameters:
event
- the event.
-
main
Starting point for the application.- Parameters:
args
- ignored.
-