How do u view a swing app.........

S

Steve Burrus

Hello all, I was just wondering about how you view a swing applet in
your favorite web browser??!!! I have posted to this group before, a
long time ago, about this same problem, but alas, have not gotten a
successfull resolution to this problem! You see, I always get the error
message from the Java Console referring to a
"javax.security.AccessControlException" exception. Can someone help me?
Thanx.
 
A

Andrew Thompson

1) Do not post to newsgroups in HTML format.
----- Original Message -----
From: Steve Burrus .....
Hello all, I was just wondering about how you view a swing applet in your
favorite web browser??!!! I have posted to this group before, a long time
ago, about this same problem, but alas, have not gotten a successfull
resolution to this problem!

You probably gave as little detail of the actual
problem as you have now.

2) Provide these details for applet problems..
What browser, OS are you using?
What is your URL?
Where is your short, self-contained, compileable code example?
You see, I always get the error message from the
Java Console referring to a "javax.security.AccessControlException"
exception.

3) Read some documentation before asking questions,
start with these two..
http://developer.java.sun.com/developer/onlineTraining/Security/
http://java.sun.com/j2se/1.4.2/docs/guide/jws/
Can someone help me?

Probably not, but we live in hope.

No worries.

Andrew Thompson
http://www.AThompson.info/
http://www.PhySci.org/
http://www.1point1C.org/
 
S

Steve Burrus

Hi Andrew, this is steve Burrus, and first off, I will take your admonition of
me to NOT post to the group in the old HTML format, and have only a text-based
posting!

And then secondly, to answer yer little question no. 2:

"2) Provide these details for applet problems..
What browser, OS are you using?
What is your URL?
Where is your short, self-contained, compileable code example?"

1: My personal web browser is Netscape Communicator v. 4.9.
2: I am using the Microsoft Windows XP Home platform.
3: The URL is "file:///C|/MyDownloads/chapters/20/1/test.html"

Hope to God that this answers ALL of your various questions of me at this
time!!

And finally, I really do "appreciate" [sic] your little bit of unwanted and
unsolicited sarcasm directed my way:

"> Can someone help me?

Probably not, but we live in hope."



*****************************************************************
 
B

Bjorn Abelli

...
1: My personal web browser is Netscape Communicator v. 4.9.

Well, that could be it...

Such old browsers don't support Java later than 1.1 by default.

Have you downloaded the Java-plugin and configured your browser?

http://www.java.com/en/download/help/enable_browser.jsp
2: I am using the Microsoft Windows XP Home platform.

No problem...
3: The URL is "file:///C|/MyDownloads/chapters/20/1/test.html"

Well, we can't test that for errors in our browsers, unless you give us
access to your computer...

// Bjorn A
 
S

Steve Burrus

In direct response to your posting, Bjorn, even though my MAIN browser is
Communicator, let me tell u that i happen to have 4 others, i.e., the other
Netscape web browser, Netscape 7.1, Internet Explorer, Opera 7.1, and even
the Netscape Mozilla!!! So, I don't think that it is a browser "issue" at
all!!! And, I will also tell you that I am now currently using the very
latest version of the J2SDK with the lastest version of the Java Plugin,
namely v. 1.4.2_02!! I have and am now using the HTML Converter to make
quite sure/certain that I can "get it right" with Swing applet execution!
And, to sum up, I will announce that I dumbly "lucked out" and got this
particular swing applet, that has been problemmatic recently, to execute
beautifully earlier, so I will dispense with sending you any of the
applet's code, for now.

*****************************************************************************************
 
B

Bjorn Abelli

"Steve Burrus" ...
In direct response to your posting, Bjorn, even though
my MAIN browser is Communicator, let me tell u that i
happen to have 4 others, i.e., the other Netscape web
browser, Netscape 7.1, Internet Explorer, Opera 7.1,
and even the Netscape Mozilla!!!

Good for you! :)

It would have been easier for us to pinpoint your problem if you had told us
that in the first place.
So, I don't think that it is a browser "issue" at all!

To eliminate any such problems, you should always try to run it through the
"appletviewer" as the first choice. If and when you get it to work there,
you can try it in the browsers.

// Bjorn A
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top