reciter
Nov 4 2004, 01:04 PM
| | Hi.There is a matter to know.
I studied how to call the public method of a JAVA applet from javascript on the other day.(Within javascript, this is possible, if it carries out like document.applets[0]. method ();.) I want to have come to know then suddenly,it is contrary to this, Is it possible to call functions of javascript from a JAVA applet?
Please tell me this.  |
Reply
rovertos
Nov 22 2004, 03:58 PM
Applets need to import netscape.javascript.* package to make calls to JavaScript. The typical form for an Applet to JavaScript call is JSObject win = JSObject.getWindow(this); String[] args = {formTextField.getText()}; Object stringObject = win.call("setFormTextEntry", args); Where setFormTextEntry is the name of a JavaScript method in the web page and args represents the parameter list for the setFormTextEntry function.
Reply
jordanliuhao
Jan 30 2005, 06:17 AM
From my experience, java script can call applet and applet can call java script, but it is better don't mix these two technology in your web site. In my previous project, call from applet to java script may cause ie in windows xp home version dead lock, although all the other version work fine, including windows 98, windows 2000, windows xp professional. So I believe the support of java in microsoft is not critical. You can play it, but don't consider it in your job. QUOTE(reciter @ Nov 4 2004, 08:04 AM) Hi.There is a matter to know. I studied how to call the public method of a JAVA applet from javascript on the other day.(Within javascript, this is possible, if it carries out like document.applets[0]. method ();.) I want to have come to know then suddenly,it is contrary to this, Is it possible to call functions of javascript from a JAVA applet?Please tell me this. 
Reply
Recent Queries:--
firefox jsobject "close window" - 312.39 hr back. (1)
-
document.applets firefox-3 - 592.63 hr back. (1)
Similar Topics
Keywords : call, functions, javascript, java, applet
- Telemarketing Block List - Canada
DO NOT CALL List coming to Canada (1)
Need Help With Javascript Drag And Drop Script
Having trouble with javascript drag and drop script. (2) hi, i have been trying to create a drag and drop menu for my new website, so that the navigation
menu can be moved around the site. This is the code i have: CODE <html> <head>
<title>Test run - Right click menu</title> <script
type="text/javascript"> function coordinates(event) { if
(event.button==2) { var x=event.x; var y=event.y; }
document.getElementById("element").style.left=x;
document.getElementById("element").style.top=y;
document.getElementById("eleme....
Validating Javascript
at the w3c (2) I have added a javascript behaviour to a small sample script and need to know how to get the
javascript approved at the W3C. Here are the test results:
http://validator.w3.org/check?uri=http%3A%...lidator%2F1.591 The validator doesn't like the
onblur and onfocus events added to the input fileds for the script. Any ideas?....
Fun In Sun (java)
(2) Recently one of my friends sent me a link from a Java forum. Link below.
http://forums.sun.com/thread.jspa?trange=3...26&tstart=0 Very nice one. Had to laugh like anything
reading the thread. Have fun. Spread the link.....
Video Play Like Youtube
php, javascript source code need like player youtube (3) i need help for source code php or javascript... i want display video with a player like in
youtube... please for help?....
Java Script To Hide The Url In Address Bar
Does any one know about this ? (6) Hello friends , just now i came accross a particular type of script which is capable of masking the
URL which is seen in the Address bar of the webpage , that is by implementing the particular Java
Script when the user visits a page eg. www.mysite.com , then it is possible for the admin of
www.mysite.com to mask this site and display some other website in the viewers address bar. I came
to know that such a script can be written using Java Scripts , Can any one get me the Script ??....
Which Is Good Java Or Dot Net
which is good (3) Hi, I want to know which is going to be a success in future. I've asked this question to
many but all are giving my vague answers. I'm asking this question because i'm going to join
a company where i can choose either dot net or java. Which one should i choose. Wax....
Seeking Help With Javascript
Need help with drag and drop type script (1) What i want to make is a script that has a table, which is a menu for my site, and when you click
the top of the table you can drag it to another place in the page. This is the code: Test
run - Right click menu - ©Jack McCrea 2008 <script type="text/javascript"> function
coordinates(event) { if (event.button==2) { var x=event.x; var y=event.y;
document.getElementById("element").style.left=x; document.getElementById("element").style.top=y;
document.getElementById("element").style.visibility="visible"; var oldx=x; var oldy=y; } }
<script type="....
Browser Compatibility Problem With Firefox - Javascript + Css
Having trouble making a script work right - any suggestions? (3) Hi, Im working on a website, and im trying to make a right-click menu, which opens on right click,
wherever the cursor is, and closes on mouse out. I wrote the code below, and when i ran it in IE it
ran fine, just how i wanted it to work. However in firefox, the menu just opened in the top left. im
presuming this is because it doesnt like my style changing in the javascript. Any ideas, and
suggestions? If i cant make this work, i will just make it so it works slightly differently when
viewev in firefox so that it can just open in one place. All ideas appreciated. ....
My Call Of Duty Clan (ps3)
(0) Hi guys i finally made my own COD4 clan but it doesn't have a forums yet and it only for level
35+(sorry) i made this because i and 14 other friend of mine play COD4 on the PS3 except 1 and its
called Fast as we move fast, think fast, and act fast. i want all PS3 COD4 players lvl 35+ to join
because if you didn't hear there is going to be a clan wars and the best wins(they win the best
players of COD4) and im lvl 55 and last prestige the other people are lvl 40+ change their sigh
onces i want you to join and help out please pm me if u want to join i will have to....
Creating A Floating Javascript Docking Menu
(1) I have found two scripts. I found one(shown bellow) here that creates a floating box that will
follow you down the page when you scroll. I found another one here that creates a docking menu
like that of OSX. Now I want to combine these effects to create a docking menu that floats and
follows you everywhere you scroll to on the page. In the above code I change the div class from
floatdiv so that it could use the style in the style.css that came with the docking menu. I then got
stuck trying to make both JavaScript scripts work on the same div. I'm appealing ....
Java De/compiler
(5) Hey I'm currently using Netbeans as my Compiler and jd-gui as my decompiler I want to know if
there is anything more effective when i use jd-gui is messes up the source code and deletes the
@overrides and comment outs....
Learn Java Programming Language Online Step By Step
(1) I had found this site >> http://learnjava.awardspace.com This website is for people who want
to learn Java Programming Language step by step. This website also includes JAVA lessons from the
beginning to advanced level. So this site appropriates for the beginner of Java programmer language
or non-basic Java Programming Language. The lessons are easy to follow and understand starting
from how to get your PC JAVA ready, the fundamental programming concept and creating the real
application. Moreover, the working examples are also included. Please enjoy the les....
Functions
??? (9) I created this topic mainly because I wanna get a clear interpretation about those listed PHP
functions. The first function is while($row=mysql_fetch_array($query)) { ....
Java Or C++
(10) Many having tell me to make my MMORPG in java leads me to agree, But I'm not sure truly is it
not yet easier, but yet the outcome of programming an MMORPG in java will make it fail or succeed
more then one in C+= I've learned a lot of variables in javascript, and I don't think that
java would be too bad either. My true question is, is those who use these languages, which seems
to give better outcome, and which seems to be more in ease. Regards -PCessna....
Budding Java Game Developers?
Ever wanted to make your own java web-based game, but not had the time (10) Right, this is the first post of hopefully many in this thread. Basically the idea is to get many
developers together to share ideas and knowledge to create our very own game. First we'll be
asking for is any ideas of what kind of game everybody would like to make, and then we'll set
about assigning tasks depending on everybodies skills. We will need programmers, artists,
web-designers, even admin and marketing. This will be freeware, but the experience will be great.
So, ideas anyone?....
Call Of Duty 4 Clan(ps3)
(11) Hi guys i finally made my own COD4 clan but it doesn't have a forums yet and it only for level
35+(sorry) i made this because i and 14 other friend of mine play COD4 on the PS3 except 1 and its
called Fast as we move fast, think fast, and act fast. i want all PS3 COD4 players lvl 35+ to join
because if you didn't hear there is going to be a clan wars and the best wins(they win the best
players of COD4) and im lvl 55 and i change my sigh 2 times the other people are lvl 40+ change
their sigh onces i want you to join and help out please pm me if u want to join i ....
Simple Javascript And Password System
How to protect your pages with password (9) The quickest way to get a password protection system up and running is to use a Prompt box in
JavaScript that has a title like "Enter your Email Address". Only you and the relevant users know
what the password should be, could even be one each, that can be sorted out at the next page then
pass the "input" directly through the url by changing the .href, like
http://www.iSource.net.nz/users/?leTmeIn= The page that then processes this should also check for
the referring page, and three fails from an IP if you like the php (the next page): CODE
<?php // processdo....
Helpful Registry Edit For Java Programmers
Command Prompt on right click menu (3) With this registry edit you can easily open the current folder in prompt without going through any
Change Directory commands (cd). This is useful for people like me who are programming in JAVA, and
every time to create class files and test them I have a diificult time just entering the commands in
Prompt. But if you don't want to use this registry edit you can create the directory in
C:\ drive like C:\files so you have to navigate very little in prompt. If you are
experienced in regedit you can do it yourself shown below OR download the attachment and app....
Php Functions To Send Mail
(9) Which other methods to send mail from a form? I just know mail function, like: mail(string to,
string subject, string message) Has anyother?....
Will I Run Cod4?
Will my computer be able to run call of duty 4? (11) Hi everyone! Should I buy COD4? My specs are: 1GB Ram 1.86GHZ Dual Core AMD Turion 64 X2
Nvidia Go 6100 Windows XP/Windows Vista (Dual Boot) I can currently get a constant 75FPS on COD2, I
have adjusted my Graphics card for performance. Will I be able to run it, even on lowest settings.
I want to get it, to play with my friends! Thanks for your help. Cheers!....
Jsp Or Java Chat Script Like Mig33
(5) so most of you guys know mig33. its a wap application,probaly java.most kindly to be java. does
anyone have java knowlege or knows where i can get a chat script like mig33? i also know this server
supports jsp so im planing to use it for my application. i was hosted here last year but moved
because i found a better host. now im back just to use the jsp on this server. Im planing to run
chat applictions so if any one wants to help me in my project let me know.....
Best Java Framework For J2ee?
Your Opinion About The Best Java Framework (6) What is the best framework to make enterprise application using Java (J2EE)? Currently I am
learning Spring and it is quite good eventhough it is very complicated in my opinion. Maybe someone
can share which framework that you use What are its advantages and disadvantages? I seek a J2EE
framework that supports JMS and offer quick development process.....
Playing Flash Movies Without The One-click Activation: Simple Insertion Of Javascript
(4) In the past year or two iternet explorer and other browsers have updated their coding platforms.
The bad thing is that if you have any flash objects at all within your web page you have to hit the
space bar or click on the flash object to activate it. Once you activate it, you then can interact
with the object or the object will then play on the website. I dont like how you have to activate
the flash player first to interact with it. here is the code to prevent that. Believe me people
notice how much better the site is after you do this. put <script type="text/java....
Call Of Duty Tips And Tricks
For both origional and sequal (5) Hello all you CoD fans, newbs, and players. My name is Mitch, but you will most likely see me as
(_8(|) when I play Call of Duty online. For those who can't see/read ASCII Art, my monogram is
Homer Simpson in ASCII. Anyways, I plan to give you guys this little tutorial/booklet that will
allow you to play at your absolute best! Guaranteed. You will up your KD ratio by at least 3
times. But first a little history about myself. I origionally bought CoD1 (yes the origional) in
late 2004 from a pool fund for a LAN party. None of my friends had CoD but we wanted....
How To Create Java Button Or Frame
to be customized (14) hi to all!!!! just like to ask if it would be possible if i could make a custom
button or frame in java. i got tired of using the build infeatures in java. i would like to create
my own dessign of button or frame.. can it be possible!!! /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> thank!!!! /laugh.gif'
border='0' style='vertical-align:middle' alt='laugh.gif' /> New Help In! is NOT a descriptive
topic title. Next time you decide not to follow the posting rules, you will be issued a w....
Java Mobile Applications
What you wanna have on your phone ? (7) I'm trying to do a Java mobile J2me application... But I don't know what to do... Any
suggestions....? Maybe you guys can say what you would like to have on your mobile phone... ....
[help] Java Script: Window.open
Works with Firefox, not IE (10) CODE <HEAD> var popUpWin=0; function popUpWindow(URLStr) {
if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); }
popUpWin = open(URLStr, 'GunBound Tactics: Screenshots',
'width=820,height=550,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,top=90,left=90')
;; } </HEAD> <BODY> <a
href="javascript:popUpWindow('/f11/clipped.php');"><b>Clips&
#60;/b></a> This is a script for opening a new window. It works ....
Image Preloader With Progress Bar Status
Pure Client-Side JavaScript tested in 4 Browsers! (23) Tutorial: Image Preloader with Progress Bar, by Rob J. Secord, B.Sc. (SystemWisdom)
Description : A Tutorial for a Client-Side Image Preloader with Dynamic Real-Time Progress Bar
Indicator written in JavaScript! Tested to work with 4 Major Internet Browsers: Firefox, MSIE,
Netscape, Opera (Complete sample solution provided at end of tutorial, just put it on your
web-server, add your images and go!) Intended Audience : Beginner to Intermediate Web
Developers. Although this tutorial will cover some advanced aspects of JavaScript, I will try to
explain....
Javascript Slideshow Tutorial
How to make a slideshow in JavaScript (4) JavaScript Slideshow Tutorial I'm going to show you how to make a impressive JavaScript
slideshow. First, you're probably asking: why would I want to make a slideshow in JavaScript?
There are a number of reasons. First, you don't have to build a new HTML page for each picture.
Secondly, the page will load much faster because the of the compactness of the page. Ok let's
get started with this example. First we'll add a <script> tag in the of our HTML
document. In that script tag we will build the following: CODE first = 1; la....
Looking for call, functions, javascript, java, applet
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for call, functions, javascript, java, applet
*MORE FROM TRAP17.COM*
|
advertisement
|
|