| Author |
Swing based applets don't run in browser !!!
|
Yusuf Ali
Greenhorn
Joined: May 06, 2002
Posts: 4
|
|
whenever i run a swing based applet from the browser (IE 5), the applet is not displayed in it - status bar shows that the class file was not found. The institute where i'm doing my computer course, i use HTMLConverter utility (on jdk1.2) to convert swing based applets into the form which the browser can understand and the applets are displayed there properly. but my real prob is that i cannot find such utility on my jdk 1.3 - is there any other utility in this version to convert swing based applet ? please help me and do let me know thanx
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1503
|
|
Why don't you just use the java plugin tag to download the appropriate classes? Bosun
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 12513
|
|
Your problems are only beginning. I think the "converter" you're referring to the one that converts HTML pages to add tags to cause the Java Plugin to download (about 5 Megabytes) and install. It doesn't do any sort of conversion that lets Swing run under older Javas of the type provided by web browsers. After you get THAT straightened out, you'll discover that unsigned applets are forbidden to use JDBC. And if you sign the applet, a JDBC applet may work for school on a LAN, but in the real world, the database requests will be blocked by one or more firewalls. Java has a way of "encouraging" 3-tier solutions.
|
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
|
 |
Gregg Bolinger
Sheriff
Joined: Jul 11, 2001
Posts: 15040
|
|
Originally posted by Tim Holloway: After you get THAT straightened out, you'll discover that unsigned applets are forbidden to use JDBC.
Ahhh, Bull. I have an unsigned JAR program written in SWING that accesses a database using JDBC on a server. Granted it is in a LAN, however, it is not FORBIDDEN. You just have to know how to do it. Let me know if you need any help with it.
|
My Blog | DZone Articles
|
 |
David O'Meara
Rancher
Joined: Mar 06, 2001
Posts: 13459
|
|
Since we're talking about Applets and browsers and not JDBC, I'm moving this to the Applet forum. Dave
|
[ JavaRanch FAQ ][ Book Promotions ][ DbTamer ][ BumperStickers ][ JavaRanch Badges ]
|
 |
 |
|
|
subject: Swing based applets don't run in browser !!!
|
|
|