Problems finding the netscape.javascript api
I'm trying to import netscape.javascript.* into my applet so that I can perform some basic calls to javascript functions. I've got both Java 1.4.2 and 1.5.0 beta versions and I've tried all sorts of path additions. My current one is this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Java\jdk1.5.0;C:\Program Files\Java\jdk1.5.0\jre\lib\plugin.jar;C:\Program Files\Java\jre1.5.0\lib\jaws.jar;C:\Program Files\Common Files\Autodesk Shared\;C:\3dsmax5\backburner2\
since I've read a tutorial that says I have to include the jaws.jar and another forum post that says I need to include the plugin.jar. Neither, however, work. I'd prefer it if I didn't have to use liveConnect at all, so does anyone know if thats possible.
Any help would be most appreciated. Regards
You will find the package in C:\Program Files\Java\j2re1.4.2_05\lib\plugin.jar if you use the default locations.
Similar Messages
-
Where to download the "netscape.javascript.*" package
Anyone who did before can help me to find where i can download "netscape.javascript.*" package.Thnx in advance.
http://www.applepiesolutions.com/mayscript/
-
Can anyone help me to find the Java Speech API?
I really need to use the Java Speech API but I don't have any idea where to find it.
In the Sun page are many implementations of the API but I want to use it and is very important for me.
Please, can anyone send me the little API...........Look at the thread two posts down, that might be what youre looking for. Theres also a thread seven posts down that will help you.
-
Function calling only the last Javascript API
All,
I have a function in my page header:
function DisableANo(){
//1
$f_DisableOnValue('P20_B','AAAA','P20_A');
//2
$f_DisableOnValue('P20_B','BBBB','P20_A');
//3
$f_DisableOnValue('P20_B','CCCC','P20_A');
I am calling this function on Item B's onChange event.
When I do this, only the last //3 API is being called. If i remove //3 and have only //1 and //2, then I get //2 to work and if I remove //2 and have only //1, then I can get //1 to work.
Can you please tell me where i am going wrong?
Thanks!spriya wrote:
Hi,
I am trying to disable the item P20_A if the value of item P20_B is in 'AAAA' or 'BBBB' or 'CCCC'.Review the documentation:
>
$f_DisableOnValue(pThis, pValue, pThat)
Checks the value (pValue) of an item (pThis). If it matches, this function disables the item or array of items (pThat). If it does not match, then the item is enabled.
>
So in this code (and code should always be posted using <tt>\...\</tt> tags):
function DisableANo(){
//1
$f_DisableOnValue('P20_B','AAAA','P20_A');
//2
$f_DisableOnValue('P20_B','BBBB','P20_A');
//3
$f_DisableOnValue('P20_B','CCCC','P20_A');
}If <tt>P20_B == 'AAAA'</tt> //1 will disable <tt>P20_A</tt>, then because <tt>P20_B == 'AAAA'</tt>, //2 will enable <tt>P20_A</tt> because <tt>P20_B != 'BBBB'</tt>, and so on etc...
Try <tt>$x_disableItem</tt>:
$x_disableItem('P20_A', (($v('P20_B') === 'AAAA') || ($v('P20_B') === 'BBBB') || ($v('P20_B') === 'CCCC'))) -
Where can i find the Java doc API for Sun Portal 6.2
Hi
I am looking for the java doc api for portal.. for e.g, i want to know the available classes under com.sun.portal.providers.util and method details under that..
Thanks
RameshThere should be a file called javadocs.jar in your portal installation directory. Either under SUNWps/sdk or SUNWps/export.
- Jim -
Unable to find the sms messaging api
I've downloaded the sun wireless toolkit 2.3 but when the complier hits the line
import javax.wireless.messaging.*;
I get an error message:
package javax.wireless.messaging does not exist
has anyone seen this before? can someone suggest how to fix this problem?You may check this tip to solve your problem:
Unable to find a package while compiling a program in the Sun Wireless Toolkit
http://www.java-tips.org/content/view/151/39/ -
2 Problems with the Transit Routing API
http://dev.virtualearth.net/REST/V1/Routes/transit?wp.0=30.267750,-97.741299&wp.1=30.267864,-97.741074&output=json&ra=routePath&timeType=Departure&maxSolns=3&key=<removed>&dateTime=04/28/2015
1) This results in no routes as the points are "too close" but if you do it on bing maps (website) it correctly routes you via the 801.
2) The API document states that if you provide no time (date only as seen above) in the dateTime paramter it will use the current time. This appears not to be true and it will default to 7 or 8 AM departure time regardless of time of day.Testing this on the Bing Maps website I find that it also does not provide route when using transit directions because the points are too close. An easy way to handle this from a user experience side of things is to look for this error and when it shows,
calculate the route again using walking directions.
As for your second point I'm unable to reproduce this. I suspect your issue is with the time zone.
http://rbrundritt.wordpress.com -
Problems finding the interception point of two lines
Hi there,
I've written a class "Linie", which extends the Line2D.Float class, and added a method to determine the interception point of two lines.
One of the two lines can be anything except horizontal and vertical, the other one (which is the one that is passed to the method) can only be horizontal or vertical (I hoped this would make it easier).
public Point schneidet(Linie l){
Point schnitt = new Point();
float m = (y1-y2)/(x1-x2);
int n = Math.round(y1-(x1*m));
if (l.y1==l.y2){ // Is line l horizontal?
int poX = Math.round((l.y1-n)/m);
schnitt.setLocation(poX,(int)l.y1);
else if (l.x1==l.x2){ // Is line l vertical?
int poY = Math.round((m*l.x1)+n);
schnitt.setLocation((int)l.x1,poY);
return schnitt;
}The equation of a line is
y = m*x + n.
Because the line l can only be horizontal or vertical, one coordinate of the interception point is always clear from the beginning, the other one is supposed to be calculated and stored in poX or poY.
But this is where the method doesn't do what it's supposed to. There must be some mistake inside the calculation with the slope (m) and n. Any ideas?Why so complicated? Are the lines real lines (straight connections between 2 points) or curves? If they are lines, you just need to inspect the coordinates of all 4 points (2 * 2 end points) and show if the points are "within" the other points ...
Intersection point of two lines
Line Intersection and its Applications
SIMPLE ALGORITHMS I - INTERSECTION OF LINES -
AirPrint problem finding the connection with macbook pro and macbook air for hp B110a
Recently my Hp B110a doesn't print out like normally. When I click print and it say 'no printer connection' I tried to turn off the wireless and set it up again and turn the printer on and off and still doesn't work. I have give up trying to make it print so I went out and came back to use my laptop normally, after a couple of days the printer just print out by it self. Is it because of the connection or I have to update the product? and how do I update the product?
AmmYou might do better not posting your question on the "Using iPhone" board. Perhaps here: http://discussions.apple.com/category.jspa?categoryID=190
-
SAP Printer problem, find the details ?
Hi
I have added new font for HELVE480 as non italic bold
but in display matrix, after clicking on check (in tcode SE73) it is giving me
the following message,
"Link to non-existent fontmetrics HPLJ4 HELVE 480X"
Can anybody suggest, how to Correct the link in the fontmetrics by editing the AFM file and correcting the link and to Enter the key of a fontmetrics file which does exist
Thanks and Regards
Edited by: sidharthmellam on May 25, 2010 6:06 AMyou can get the print queue recycled by HP unix team smtimes spool gets struck in printer queue at the OS level. else you can print them direclty you will get tht option in SP01 to print a spool request directly . else check the spoolserver in SPAD and check if its available or not ..
it has helped me many times ,,,
Hope this answers ur question ,
if it gets resolved please mark it answerd and award the points
regards
dEE -
Netscape.javascript.JSException is never thrown in body of corresponding tr
I have the following try/catch block:
try
netscape.javascript.JSObject.getWindow(this.applet).eval("ClkExcept(" + nId.toString() + ")");
}catch(netscape.javascript.JSException e){}Which, for as long as I have compiled (until recently) compiled fine. However, when I recently had to recompile the classes containing this code because of an unrelated issue, I now get a message from the compiler stating that exception netscape.javascript.JSException is never thrown in body of corresponding try statement. I am attempting to use the latest 1.3.1_XX SDK (I must compile with some build of 1.3.1), but have run into this compiler message with all builds of 1.3.1 that I have tried. All documentation I can locate for the netscape.javascript.JSObject class states that the GetWindow() function can throw an exception of type netscape.javascript.JSException.
Has anyone seen this before, or does anyone have any suggestions on how to get the compiler working correctly?This code has not been edited in two years, but has
been recompiled numerous times since then (until
today) without any compiler messages pertaining to
this try/catch block. I know for a fact that the
GetWindow() function can throw a JSException. Have you changed compilers recently?
Have you tried compiling a brand new tiny test program in a different directory, with an explicit -classpath arg that contains only that relevant jar file, and no other classes in the directory?
Have you tried extracting the class file from the jar, running it through a decompiler, and seeing what it says about the exception?
If I
remove the try/catch block and there is a problem
with the javascript function that is called on the
page hosting my applet there would obviously be an
exception to catch. Removing the try/catch block is
not a solution.You could try catching Exception instead. That will pass the compiler, because Exception includes RuntimeException and its descendants, and the compiler can't know that those won't be thrown, since they're unhecked. I'd consider that a last-ditch hack though, and wouldn't do it unless I'd thoroughly investigated first. -
Netscape.javascript.JSObject for mac
I have the latest NetBeans version for mac os 10.5.
What do I need to do to get access to the netscape.javascript package.
I am trying to read cookies written using php into an applet. I am also open to solutions that do not need netscape.javascript.
I am a beginner to the mac os so I am unable to translate the many solutions that appear to be for windows users. Apparently all I need to do is add Plugins.jar to my classpath, but I cannot find Plugins.jar, (or java40.jar or JAWS.JAR which apparently contained these packages in various releases), none of which I can find on my mac or available for download.
I am sure this is very simple but I am running out of hair to pull out.I believe that for Mac, the required jar can be called plugin.jar or netscape.jar.
Its location is somewhere around */System/Library/Frameworks/JavaVM.framework/Versions/<your version>/Home/lib*
I don't have a Mac so I can't verify this , sorry.
Good luck. -
Fullscreen javascript api in edge?
Hey Edge Animater! I don't get the fullscreen javascript api to work. I want to make a button to view pictures in complete fullscreen.
So I use it's click function and paste the code from (How to Use the HTML5 Full-Screen API (Again) - SitePoint)
var i = document.getElementById("myimage");
// go full-screen
if (i.requestFullscreen) {
i.requestFullscreen();
} else if (i.webkitRequestFullscreen) {
i.webkitRequestFullscreen();
} else if (i.mozRequestFullScreen) {
i.mozRequestFullScreen();
} else if (i.msRequestFullscreen) {
i.msRequestFullscreen();
inside, but it won't work.
Anyone had the same problem or sees my failure?
Some guy in the forum already asked about the right usage of the fullscreen api but no anweser!
Peace JillYes, the plan is to add this feature in Oracle Forms 11
Frank -
Forum for Flash Javascript API
I think there should be created a Forum dealing with
questions to the
Flash Javascript API
regards MadsThanks for responding, mclem
I was trying to put it in a .fla, but apparently you can't do
that, it seems that I have to use jsfl files. I'll be able to find
all the support I need in the help files now, thanks ;) -
Where would I get a Java compiler that could compile the Netscape security?
Need to compile for the netscape security package. Or where could I find the netscape security package for download?
Need to compile for the netscape security package. Or
where could I find the netscape security package for
download?Take a look here for a Netscape sollution:
http://developer.java.sun.com/developer/onlineTraining/Security/Fundamentals/Security.html
Take a look at this page, it is quite good and deals with your problem, especially for Internet Exploder:
http://support.microsoft.com/support/kb/articles/q179/6/52.asp
Other topics can be found here
http://microsoft.com/java/security/default.htm
Hope I could help you with my links.
-- Stephan
Maybe you are looking for
-
Facing problem in Number Range Allocation for Objects in OM
Hello Friends, I have couple of questions in setting number range for Objects OM : 1) Can we set one single number range for the objects in all planned versions or do we need to set different number ranges for varous planned versions? 2) If we are al
-
Help me please? I am trying to get my iPhone 4 to update to version 5 but each time I connect it to my PC and update, or even restore I keep getting a message saying "cannot connect to update server" Any suggestions??
-
Installed iTunes on a 1TB drive designated H:. Bought a 3TB drive designated G:. Downloaded iTunes update. On "Run" command, it will not let me change the destination drive, so it registers an error, and will not update. App freezes, windows says to
-
Are you satisfied with your ability to edit HD movies in Mac OS
I've spent the last few days going over all the posts for the past month about import and codecs and resolution, and it seems that the issue of editing HD video on a Mac platform is somewhat problematic. So before I go out and spend $500 - $1000 on a
-
Incremental Backup keep skipping saving pst files
Hi, Client company uses MS-outlook 2007 and pst files are saved on windows esssentilas 2012 R2 server(ex: h:\outlook\outlook.pst) for backup purposes. We use incremental backup on the server. For some reason the initial full backup runs fine, but t