|
Last
revision of this document: |
This
is document contains the code for all classes of the lesson.
For
easy 'cut and paste' ;-)
Class
JS_DBLoad
Class
JS_DBLoad__Action_Handler
Class
JS_DBLoad__Thread
Class JS_DBLoad:package
js_base02.application;
import
javax.awt.*;importimport
javax.awt.event.*;javax.swing.*;
/**
*
* @author kurt@javascout.bizTutorial
how to
*
@date 2006-02-10
*
* @description
*
* - create a GUI using javax.swing components
*
- load parameters for DB-connection from a XML-file*
*
- connect to a database
*
- read SQL-commands from a text-file and perform them
* @change-log
* when who why
*
--------------------------------------------------------
*
*/public
class JS_DBLoadJFrame
extends
{
ActionListener
implements
private
JPanel pnl_Main=;null private
JButton btn_Select=;null private
JButton_Start=btn;null private