• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWING COMPONENTS

 
Neela Sathesh
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello sir,
I have worked with swings.But when i am running the program in the web page,the swing components are not loaded.There is an message in the statusbar showing that the class file is not found.But when i am running over in the applet window that error is not occuring.Kindly co-operate me.
thank u
 
himanshu patel
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which class your program does not find? Is it javax.swing or your own class?
If it is your own class,than check the relative path of .CLASS file in HTML where you are accessing.If you are using JAR file, make sure it is accessible from your web page.
 
Neela Sathesh
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello sir,
 
Neela Sathesh
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello sir,
the class which is not found is my own java class.do i want to set any security option in the internet options?
thank u.
 
himanshu patel
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think your problem is with path as your error states.It would be better if you post sample code snippet of HTML where your access Java class and your directory structure from where you invoke web page.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible that the browser you're using to create the error message is using an old version of Java, perhaps Java 1.1, which is what comes preinstalled with some browsers? It may be that installing a Java 2 plug-in into the browser will clear up the issue. Note that it's possible to specify an Applet tag in the html document that would redirect users without a Java 2 plug-in to Sun's download page for one.
As it seems this topic is very much an Applet related issue, I'm moving this thread to the Applet forum. If you'd like further help on configuring the browser and/or the html Applet tag, try a quick search on the Applet forum, or just ask.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic