473,511 Members | 15,715 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="initialXmlFile" 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.jar

<applet width="100%" height="100%">
<param name="code"
value="com.touchgraph.linkbrowser.LinkBrowserApple t.class" />
<param name="archive" value="TGLinkBrowser.jar, nanoxml-2.1.1.jar,
BrowserLauncher.jar" />
<param name="type" value="application/x-java-applet;version=1.3" />
<param name="scriptable" value="false" />
<param name="browser" value ="yes" />
<param name="targetFrame" value= "targetFrame" />
<param name="externalFrame" value= "externalFrame" />
<param name="initialXmlFile" value="20061127.xml" />
</applet>
Dec 15 '06 #1
5 3022
"sck10" <sc***@online.nospamwrote in message
news:%2****************@TK2MSFTNGP03.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="initialXmlFile"
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.touchgraph.linkbrowser.LinkBrowserApple t.class" />
<param name="archive" value="TGLinkBrowser.jar, nanoxml-2.1.1.jar,
BrowserLauncher.jar" />
<param name="type" value="application/x-java-applet;version=1.3" />
<param name="scriptable" value="false" />
<param name="browser" value ="yes" />
<param name="targetFrame" value= "targetFrame" />
<param name="externalFrame" value= "externalFrame" />
<param name="initialXmlFile" value="<%=getXmlFileName()%>" />
</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="initialXmlFile" 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.jar

<applet width="100%" height="100%">
<param name="code"
value="com.touchgraph.linkbrowser.LinkBrowserApple t.class" />
<param name="archive" value="TGLinkBrowser.jar, nanoxml-2.1.1.jar,
BrowserLauncher.jar" />
<param name="type" value="application/x-java-applet;version=1.3" />
<param name="scriptable" value="false" />
<param name="browser" value ="yes" />
<param name="targetFrame" value= "targetFrame" />
<param name="externalFrame" value= "externalFrame" />
<param name="initialXmlFile" value="20061127.xml" />
</applet>

Dec 16 '06 #3
Thanks Mark Rae.
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:O%***************@TK2MSFTNGP06.phx.gbl...
"sck10" <sc***@online.nospamwrote in message
news:%2****************@TK2MSFTNGP03.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="initialXmlFile"
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 16 '06 #4
Thanks Bruce, appreciate the code...

sck10

"bruce barker" <no****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP04.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.touchgraph.linkbrowser.LinkBrowserApple t.class" />
<param name="archive" value="TGLinkBrowser.jar, nanoxml-2.1.1.jar,
BrowserLauncher.jar" />
<param name="type" value="application/x-java-applet;version=1.3" />
<param name="scriptable" value="false" />
<param name="browser" value ="yes" />
<param name="targetFrame" value= "targetFrame" />
<param name="externalFrame" value= "externalFrame" />
<param name="initialXmlFile" value="<%=getXmlFileName()%>" />
</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="initialXmlFile"
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.jar

<applet width="100%" height="100%">
<param name="code"
value="com.touchgraph.linkbrowser.LinkBrowserAppl et.class" />
<param name="archive" value="TGLinkBrowser.jar, nanoxml-2.1.1.jar,
BrowserLauncher.jar" />
<param name="type" value="application/x-java-applet;version=1.3" />
<param name="scriptable" value="false" />
<param name="browser" value ="yes" />
<param name="targetFrame" value= "targetFrame" />
<param name="externalFrame" value= "externalFrame" />
<param name="initialXmlFile" value="20061127.xml" />
</applet>

Dec 16 '06 #5
"Steven K0" <st***@api.comwrote in message
news:e9**************@TK2MSFTNGP03.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
24722
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...
1
2619
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...
1
4680
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...
1
2545
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...
40
3125
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...
1
1828
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...
12
4736
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...
7
2636
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...
30
2445
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....
458
20781
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...
0
7251
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7148
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7367
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,...
0
5673
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,...
1
5072
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...
0
4743
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...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
790
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
451
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...

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.