Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing based applets don't run in browser !!!

 
Yusuf Ali
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you just use the java plugin tag to download the appropriate classes?

Bosun
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18165
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since we're talking about Applets and browsers and not JDBC, I'm moving this to the Applet forum.
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic