Java Help!!!

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2005
Posts: 2
Reputation: Ryan L. is an unknown quantity at this point 
Solved Threads: 0
Ryan L. Ryan L. is offline Offline
Newbie Poster

Java Help!!!

 
0
  #1
Feb 3rd, 2005
Hello, I am a java/html novice. Actually I have no clue as to what I am doing. Currently I have some java applets that communicate with a server and display data based upon what state the equipment is in. Say an input to a system is true it will display one, if its false, 0 etc. I am trying to get these 1's and 0's to be photo's. I am hoping someone could help me with this task?

Ryan LaChappelle

Thank you!
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 129
Reputation: johnroach1985 is an unknown quantity at this point 
Solved Threads: 0
johnroach1985's Avatar
johnroach1985 johnroach1985 is offline Offline
Junior Poster

Re: Java Help!!!

 
0
  #2
Feb 3rd, 2005
if you sent your code i would be more helpfull
"By the data to date, there is only one animal in the Galaxy dangerous to man—man himself. So he must supply his own indispensable competition. He has no enemy to help him."
From Time Enough for Love by Robert A. Heinlein
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 2
Reputation: Ryan L. is an unknown quantity at this point 
Solved Threads: 0
Ryan L. Ryan L. is offline Offline
Newbie Poster

Re: Java Help!!!

 
0
  #3
Feb 3rd, 2005
OK, well although its extremely long... here is my code...



<head>
<title>GMPT Flint North - Plant 5 - CPX Pump Up System</title>
<SCRIPT LANGUAGE = "JavaScript 1.2">

function RSto() {window.resizeTo(800,400)}

</SCRIPT>
</head>

<body vlink="0000CD">
<table border="0" width="90%" cellspacing="0" cellpadding="0">
<tr>
<td width="29%" bgcolor="#FFFFFF">

<p align="center"><font face="monotype corsiva" size="5"></font>
<img src="http://172.24.5.200/gmlogobig.jpg"></p>
</td>
<td width="71%" bgcolor="#FFFFFF">
<p align="center"><font face="monotype corsiva" size="7"><center>GMPT Flint North - Plant 5<p> CPX Pump Up System</center></font></p>
</td>

</table>
<HR>
<HR size=10>
<HR>
<table border="3" width="100%">
<tr>
<td width="100%">
<table border="2" width="100%" color="0000CD" cellspacing="3" cellpadding="3">
<tr>
<td width="29%" valign="top">
<BR>
<div align="center">
<table border="0" width="70%" cellspacing="0" cellpadding="0">
<tr>
<tr align="center">
<td width="100%" bgcolor="#0000CD"><font face="monotype corsiva" font color="FFFFFF"><B>Inputs</B></font></td>
<tr>
<td width="100%">
<ul>
<BR>
Parts Meter:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="E0.0">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Pump Down:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="E0.1">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Pump Up:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="E0.2">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Part Exit Pump:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="E0.3">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Auto Mode:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="E1.0">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Manual Mode:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="E1.1">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Push Button Up:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="E1.2">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Push Button Down:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="E1.3">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
</ul>
</td>
</tr>
</applet>
<tr>
<tr align="center">
<td width="100%" bgcolor="#0000CD"><font face="monotype corsiva" font color="FFFFFF"><B>Outputs</B></font></td>
</tr>
<tr>
<td width="100%">
<ul>
<BR>
Meter Actuated:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="A32.0">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Pump Moving Up:
<applet code="fstoperand.class" codetype="application/java" height="16" width="30" align="top">
<param name="operand" value="A32.1">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
<BR>
Pump Moving Down:
<applet code="fstoperand.class" codetype="application/java" height="16" width="15" align="top">
<param name="operand" value="A32.2">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="14">
<param name="style" value="bold">
</applet>
</ul>
</td>
</tr>
<tr>
<tr align="center">
<td width="100%" bgcolor="#0000CD"><font face="monotype corsiva" font color="FFFFFF"><B>Miscellaneous</B></font></td>
</tr>
<tr>
<td width="100%">
<ul>
<li><font face="Verdana" size="2"><a href="http://172.24.5.200/small.htm">Mini-Display</a></font></li>
<li><font face="Verdana" size="2"><a href="http://172.24.5.200/cad.htm">CAD File</a></font></li>
<li><font face="Verdana" size="2"><a href="http://172.24.5.200/contact.htm">Festo Contacts</a></font></li>
<li><font face="Verdana" size="2"><a href="http://172.24.5.200/trouble.htm">Trouble Shooting</a></font></li>
<li><font face="Verdana" size="2"><a href="http://172.24.5.200">Main Page</a></font></li>
</ul>
</td>
</tr>
</table>
</div>
</td>
<td width="71%" valign="top">
<div align="center">
</div>
<align=center>
<Font face="monotype corsiva" font size="4">
<P Align="center">
This page is designed to provide a display to enhance the capabilities of the Festo CPX Stand-alone <br>Module. This page provides real time I/O statuses of all I/O's for the module. It also provides an accurate <br>production count for the number of parts that have traveled through the pump-up system.</p><p align="center">

With all these features this page should make troubleshooting, as well as daily tasks such as recording<br> production counts, easer. With time this system will spread across Plant 5 and GMPT Flint North <br>making the work environment more employee oriented.</P>

<p align="center"><font size ="2" font face="Verdana" font color="0000CD">Production count through the pump up is:
<applet code="fstoperand.class" name="ZW0" height="20" width="60" align="top">
<param name="operand" value="ZW0">
<param name="delay" value="1000">
<param name="mode" value="signed">
<param name="font" value="Arial">
<param name="size" value="16">
<param name="style" value="bold">
<param name="modify" value="yes">
</applet>
<form method="post" action="">
<input type="button" value="Clear Counter" onclick="document.ZW0.setValue('0')">
</form>

<p align="center"><font face="Verdana" size="2"><img src="http://172.24.5.200/CPX.bmp"><p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p>
<Marquee><font face="monotype corsiva" size="4"> Welcome to the GMPT Flint North CPX Module for the Pump-Up system in A-11 of Plant 5!!! </Marquee
</body>



It is the HTML and the embeded Java Script... as you can see the ZW0 etc are inputs that the java is reading from a server, signaling whether to toggle true or false. But instead of 0's and 1's i'd like to display a picture.... HELP

Ryan LaChappelle
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 8
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: Java Help!!!

 
0
  #4
Feb 4th, 2005
Hi everyone,

Isn't this javascript??

Richard West
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Java Help!!!

 
0
  #5
Feb 4th, 2005
no. It's an html file containing an insane number of applet instances. It doesn't contain any of the Java code relating to those applets though.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 8
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: Java Help!!!

 
0
  #6
Feb 5th, 2005
Hi everyone,

Ah sorry my mistake

Richard West
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC