473,786 Members | 2,405 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Java Applets

Hello,

I am using a java applet. When I run the page, the graph shows. The
problem that I am having is trying to figure out a way to programmically
provide the xml file name: <param name="initialXm lFile" value="20061127 .xml"
/>

Also, when I hover over the word "applet" I get the following error:
Validation (XHTML 1.0 Transitional): Element 'applet' is considered
outdated. A newer construct is recommended.

Any help with this would be appreciated.

sck10
Java Files
-------------------
BrowserLauncher .jar
nanoxml-2.1.1.jar
TGLinkBrowser.j ar

<applet width="100%" height="100%">
<param name="code"
value="com.touc hgraph.linkbrow ser.LinkBrowser Applet.class" />
<param name="archive" value="TGLinkBr owser.jar, nanoxml-2.1.1.jar,
BrowserLauncher .jar" />
<param name="type" value="applicat ion/x-java-applet;version= 1.3" />
<param name="scriptabl e" value="false" />
<param name="browser" value ="yes" />
<param name="targetFra me" value= "targetFram e" />
<param name="externalF rame" value= "externalFr ame" />
<param name="initialXm lFile" value="20061127 .xml" />
</applet>
Dec 15 '06 #1
5 3035
"sck10" <sc***@online.n ospamwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
I am using a java applet. When I run the page, the graph shows. The
problem that I am having is trying to figure out a way to programmically
provide the xml file name: <param name="initialXm lFile"
value="20061127 .xml"
Er, well, doesn't the applet's website / helpfile have any documentation on
this...?
Also, when I hover over the word "applet" I get the following error:
Validation (XHTML 1.0 Transitional): Element 'applet' is considered
outdated. A newer construct is recommended.
http://www.google.co.uk/search?sourc...a+applet+XHTML
Dec 15 '06 #2
the applet tag has been replaced by the object tag. but if you put a
runat=server on an object tag, asp.net treats it as a serverside com
object, simular to the script tag.

try:

<applet width="100%" height="100%">
<param name="code"
value="com.touc hgraph.linkbrow ser.LinkBrowser Applet.class" />
<param name="archive" value="TGLinkBr owser.jar, nanoxml-2.1.1.jar,
BrowserLauncher .jar" />
<param name="type" value="applicat ion/x-java-applet;version= 1.3" />
<param name="scriptabl e" value="false" />
<param name="browser" value ="yes" />
<param name="targetFra me" value= "targetFram e" />
<param name="externalF rame" value= "externalFr ame" />
<param name="initialXm lFile" value="<%=getXm lFileName()%>" />
</applet>
or use a htmlgeneric tag, and spew it all.

-- bruce (sqlwork.com)

sck10 wrote:
Hello,

I am using a java applet. When I run the page, the graph shows. The
problem that I am having is trying to figure out a way to programmically
provide the xml file name: <param name="initialXm lFile" value="20061127 .xml"
/>

Also, when I hover over the word "applet" I get the following error:
Validation (XHTML 1.0 Transitional): Element 'applet' is considered
outdated. A newer construct is recommended.

Any help with this would be appreciated.

sck10
Java Files
-------------------
BrowserLauncher .jar
nanoxml-2.1.1.jar
TGLinkBrowser.j ar

<applet width="100%" height="100%">
<param name="code"
value="com.touc hgraph.linkbrow ser.LinkBrowser Applet.class" />
<param name="archive" value="TGLinkBr owser.jar, nanoxml-2.1.1.jar,
BrowserLauncher .jar" />
<param name="type" value="applicat ion/x-java-applet;version= 1.3" />
<param name="scriptabl e" value="false" />
<param name="browser" value ="yes" />
<param name="targetFra me" value= "targetFram e" />
<param name="externalF rame" value= "externalFr ame" />
<param name="initialXm lFile" value="20061127 .xml" />
</applet>

Dec 16 '06 #3
Thanks Mark Rae.
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:O%******** *******@TK2MSFT NGP06.phx.gbl.. .
"sck10" <sc***@online.n ospamwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>I am using a java applet. When I run the page, the graph shows. The
problem that I am having is trying to figure out a way to programmically
provide the xml file name: <param name="initialXm lFile"
value="2006112 7.xml"

Er, well, doesn't the applet's website / helpfile have any documentation
on this...?
>Also, when I hover over the word "applet" I get the following error:
Validation (XHTML 1.0 Transitional): Element 'applet' is considered
outdated. A newer construct is recommended.

http://www.google.co.uk/search?sourc...a+applet+XHTML

Dec 16 '06 #4
Thanks Bruce, appreciate the code...

sck10

"bruce barker" <no****@nospam. comwrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
the applet tag has been replaced by the object tag. but if you put a
runat=server on an object tag, asp.net treats it as a serverside com
object, simular to the script tag.

try:

<applet width="100%" height="100%">
<param name="code"
value="com.touc hgraph.linkbrow ser.LinkBrowser Applet.class" />
<param name="archive" value="TGLinkBr owser.jar, nanoxml-2.1.1.jar,
BrowserLauncher .jar" />
<param name="type" value="applicat ion/x-java-applet;version= 1.3" />
<param name="scriptabl e" value="false" />
<param name="browser" value ="yes" />
<param name="targetFra me" value= "targetFram e" />
<param name="externalF rame" value= "externalFr ame" />
<param name="initialXm lFile" value="<%=getXm lFileName()%>" />
</applet>
or use a htmlgeneric tag, and spew it all.

-- bruce (sqlwork.com)

sck10 wrote:
>Hello,

I am using a java applet. When I run the page, the graph shows. The
problem that I am having is trying to figure out a way to programmically
provide the xml file name: <param name="initialXm lFile"
value="2006112 7.xml" />

Also, when I hover over the word "applet" I get the following error:
Validation (XHTML 1.0 Transitional): Element 'applet' is considered
outdated. A newer construct is recommended.

Any help with this would be appreciated.

sck10
Java Files
-------------------
BrowserLaunche r.jar
nanoxml-2.1.1.jar
TGLinkBrowser. jar

<applet width="100%" height="100%">
<param name="code"
value="com.tou chgraph.linkbro wser.LinkBrowse rApplet.class" />
<param name="archive" value="TGLinkBr owser.jar, nanoxml-2.1.1.jar,
BrowserLaunche r.jar" />
<param name="type" value="applicat ion/x-java-applet;version= 1.3" />
<param name="scriptabl e" value="false" />
<param name="browser" value ="yes" />
<param name="targetFra me" value= "targetFram e" />
<param name="externalF rame" value= "externalFr ame" />
<param name="initialXm lFile" value="20061127 .xml" />
</applet>

Dec 16 '06 #5
"Steven K0" <st***@api.comw rote in message
news:e9******** ******@TK2MSFTN GP03.phx.gbl...
Thanks Mark Rae.
You're welcome Steven KO.
Dec 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
24743
by: Steven Green | last post by:
I have a java app at work I used when I had Windows 98 and never had a problem. I did a clean install of Windows XP and of course Java was not included. I went to Sun, download Java 2 Runtime Environment, SE v 1.4.2 and Java 2 Runtime Environment SE v 1.4.1_01. The Java app will not work with WinCP. I have installed the Windows XP Service pack 1, IE service pack 1 and I have downloaded Netscape and Opera. The same problem happens in...
1
2638
by: Rick | last post by:
Hi, I'm having problems with Java applets. I just generated a JApplet (also tried normal Applet) in Netbeans which is delivered with the newest JDK. When I compile it in Netbeans it seems to work fine. But when I try outside Netbeans by opening the html page which is automatically generated I only see a gray area where the applet was supposed to be... I tried some other example applets on the internet. Some work but also many won't show...
1
4691
by: Put 030516 in email subj to get thru | last post by:
I have a nice little applet on my web page at: www.benslade.com/pictures/2003/jul/alaska/images/Ben's_Alaska_Vacation_Slideshow.html (yes, that's an apostrophe in the URL, sorry) It runs fine everywhere except for MS-IE 6.x browsers. There I just get a grey screen where the applet is supposed to go. If I enable the Java console log, I see a "ClassNotFound" exception coming from Microsoft's Java VM (no explicit popup error message...
1
2555
by: Jim Westwood | last post by:
Is it possible to write java applets in the python language. is that what jython does? I would realy like to write an applet but i dont know any java. I do have some python experience. Can you write the applets in pure python or do you have to know a little java? ifso is this done much? and is there any good documentation out there on how to do it thanks.
40
3186
by: Eitan | last post by:
Hello, I know Java-Applet (written for JBuilder). I would like to know about dotnet technology, pros and cons in comparation to Java-Applet technololgy. Can I write a program in dotnet, like Java-Applet, compile it, debug it, and put it as a class on an HTML (like Java-Applet). I would like to introduce to the dot net technology. Give me some samples, please, and a comparation to Java-Applet technology.
1
1842
by: Bradley1234 | last post by:
For some reason, on my win2000 sp4, newly updated generic Intel Pentium system, java applets on web pages stopped working This was about the time I downloaded the Microsoft Web developer beta tool, but am not sure. Ive been over and over the java settings, trying to get weather applets I used to check daily. setting the weather sites to "trusted site" and all permissions to lowest level, no, java applets just do not work.
12
4780
by: Wladimir Borsov | last post by:
On one of my web pages there is an java applets which works fine on my computer. However I noticed on some other computer that the run of java applets are disabled. I got an error message "Classnotfound" Is there a way to detect (with cgi resp. javascript) if java applets are allowed? I would like to show a simple picture instead of the applet pane if applets are not allowed. Wladimir
7
2647
by: Mario | last post by:
I've been reading some Sun Java articles where they say Applets cannot import dlls and cannot write to disk. (This does NOT apply to applications, only to Applets.) Supposedly, this is NOT something you can cotrol with a security manager or in any other way. The dll exclussion is due to the fact that the virtual machine cannot control what a dll is doing, perhaps writting malicious stuff to disk among other things. Is it true that...
30
2513
by: marc | last post by:
>From the book I am using as a reference I understood that applet tag was deprecated, but googling for information, and testing myself, it seems IE does not work properly with this new object tag. So my effort reading about the object tag was for nothing? Is there no way I can make this work for IE and Mozilla? <HTML> <HEAD> </HEAD> <BODY BGCOLOR="FFFFFF">
458
21482
by: wellstone9912 | last post by:
Java programmers seem to always be whining about how confusing and overly complex C++ appears to them. I would like to introduce an explanation for this. Is it possible that Java programmers simply aren't smart enough to understand C++? This is not merely a whimsical hypothesis. Given my experience with Java programmers --- the code they write and the conversations they have --- Occam's Razor points to this explanation. For example,...
0
10360
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9960
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.