|
Java Swing versus Microsoft Visual Basic Argument continues
" whats the best ? ", there are pundits in Trade who tell Microsoft has the Best Operating System in the world, and many Rate Java Too high for its
Applets, Beans and Other things.... , In am not Qualified enough to say which is the best which is not,
If u ask me i personally rate Linux very high as a Server , 5 years and No Crash :) , Windows XP the Best Operating System or as Client
and Java Swing even though difficult to code and Horrible to Understand the Logic, still its free download, if u wanted to write Hello World Application
using Visual Basic i understand its much easy than writing the same in Java Swing, But MS Products comes with a price and u must be able to
offord it, as far as i know Java Swing is just Download, Write Code and Run Application ........
Code By : James Smith
My Email : [email protected]
Original Code : Oct 3, 2002
Updated Date : Nov 23 , 2003
Download the Latest Version from the Download Link Given Below
================== Directory ========================================
Unzip the files in jamesswing.zip file in to any temporary directory then
step 1 : make directory james in c: , that is c:\james
step 2 : place the following files in this directory
a. jamessmith.java d.Andrew.jpg g.Laura.jpg j.Nancy.jpg
b. james.mdb e.James.jpg h.Margaret.jpg k.Robert.jpg
c. sidebar33.jpg f.Janet.jpg i.Micheal.jpg l.Steven.jpg
================== c:\Autoexec.bat ==================================
(assumption u have installed jdk in c:\jdk1.3.1 directory)
(add these lines in c:\Autoexec.bat - Restart your Computer for Settings to take effect)
step 3 : SET classpath=
step 4 : SET PATH=c:\windows;c:\windows\command;c:\jdk1.3.1\bin;c:\
step 5 : SET JAVA_HOME=c:\jdk1.3.1
================== ODBC Settings =====================================
step 6 : click control panel
step 7 : ODBC Data Sources
step 8 : click UserDSN Tab
step 9 : click ADD Button , Select Microsoft Access Driver , Finish
step 10 : Give Datasource Name as "james" , no double quotes
step 11 : use Select and select james.mdb from c:\james\james.mdb
click ok , ok finish
================== Compile ============================================
step 12 : cd c:\james
step 13 : javac jamessmith.java
[My JDK Version is 1.3.1 -> java -version 1.3.1_02-b02]
================= Run =================================================
step 14 : java jamessmith
login 'a' and password 'a' for Accoutant (use this)
login 'p' and password 'p' for Principal
//=====================================================================
DOWNLOAD CODE: jamesswing.zip
|