problem regarding dBase c
Regarding: Airline Information system project dBase connectivity.
Initially we made GUIs using swing in 1st Iteration.
we tried different layout, & we are ok with that.
But as project demand is to make Airline System online.
We were left only with two options to make project either in Applet
Because by using swings we can make only applications (standalone-
Sir, will it be possible to make online application using swing?
Secondly we don't have that much time to make AIS in JSP as members
require from learning -to-implement.
So finally we decided to make it in Applet, & for back end we are
using MS-Access or SQL, please suggest us which one will be better to
Now we have all the GUIs in applet, but problem arise at the time of
data base connectivity in applet.
I tried by using following code:
Following code I just made for Demo purpose as application
System DSN is: AIS
Table Name is: Name
public class JDBCDemo
public static void main(String args)
Connection c =
// connecting with AIS.mdb
Statement st =
ResultSet rs =
st.executeQuery("select fName,lName FROM
Name"); // shoot query
System.out.println(" name :"
And this code is absolutely working...
It means there is no problem in connectivity
I have already worked with JDBC by using Swing & SQL, but not by
Now when I use above code after Submit Button performed action.... In
I also tried connection code in different methods in init(), run(),
paint() & still
I got same error as:
Exception in thread "AWT-EventQueue-1"
ess denied (java.lang.RuntimePermission
Is there any security issues regarding applet connectivity with
Please Help & give guide regarding this
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24