Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

javascript

Thread view: 
Ayrton - 28 Jul 2005 16:25 GMT
I've make a simple applet for use javascript  function.
When the browser is IE, no problem, but if the browser is netscape 7,
when ... JSObject.getWindow(this); ... the message is ": at
netscape.javascript.JSObject.getWindow(Unknown Source) ...".
Why ?

Thanks

import netscape.javascript.*;
import java.awt.*;

public class Provajs extends JApplet {

private JSObject window = null;

public void init(){}
public void start(){

window = JSObject.getWindow(this);

String[] message = { "Oggi fa molto caldo!"};
window.call("alert", message);

}

}

Signature

Questa è una firma automatica di MesNews.
Sito: http://www.mesnews.net

Andrew Thompson - 28 Jul 2005 16:52 GMT
> I've make a simple applet ..

URL?

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
Soon To Be A Major Religion

Ayrton - 30 Jul 2005 14:06 GMT
Nel suo scritto precedente, Andrew Thompson ha sostenuto :

>> I've make a simple applet ..
>
> URL?

If I use new URL .....

I've not problem with any kinds of browser, but I need to use JSObject
( JSObject win = (JSObject)JSObject.getWindow(this); ), because I want
read JS variables

Signature

Questa è una firma automatica di MesNews.
Sito: http://www.mesnews.net

Andrew Thompson - 30 Jul 2005 14:43 GMT
> Nel suo scritto precedente, Andrew Thompson ha sostenuto :
>>
[quoted text clipped - 3 lines]
>
> If I use new URL .....

I do not know what you mean by that, but I
will expand on my question.

(What is the) URL (of your broken applet)?
(Where can *we* see it?)

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
Mr Bender's Wardrobe By ROBOTANY 500



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.