com.jrefinery.chart.demo.jdbc.swing
Class swingdemo.RefreshChartDataThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.jrefinery.chart.demo.jdbc.swing.swingdemo.RefreshChartDataThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
swingdemo

protected class swingdemo.RefreshChartDataThread
extends java.lang.Thread

A seperate thread which is used to query the database and update the chart data. This allows the GUI components to respond (actually just repaint) while a query is being executed.


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected swingdemo.RefreshChartDataThread()
           
 
Method Summary
 void run()
          Main processing method for the RefreshChartDataThread object
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

swingdemo.RefreshChartDataThread

protected swingdemo.RefreshChartDataThread()
Method Detail

run

public void run()
Main processing method for the RefreshChartDataThread object
Overrides:
run in class java.lang.Thread