944,123 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 2037
  • Java RSS
Feb 3rd, 2005
0

Java Help!!!

Expand Post »
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!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Ryan L. is offline Offline
2 posts
since Feb 2005
Feb 3rd, 2005
0

Re: Java Help!!!

if you sent your code i would be more helpfull
Reputation Points: 11
Solved Threads: 0
Junior Poster
johnroach1985 is offline Offline
135 posts
since Apr 2004
Feb 3rd, 2005
0

Re: Java Help!!!

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Ryan L. is offline Offline
2 posts
since Feb 2005
Feb 4th, 2005
0

Re: Java Help!!!

Hi everyone,

Isn't this javascript??

Richard West
Reputation Points: 25
Solved Threads: 10
Practically a Master Poster
freesoft_2000 is offline Offline
623 posts
since Jun 2004
Feb 4th, 2005
0

Re: Java Help!!!

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.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Feb 5th, 2005
0

Re: Java Help!!!

Hi everyone,

Ah sorry my mistake

Richard West
Reputation Points: 25
Solved Threads: 10
Practically a Master Poster
freesoft_2000 is offline Offline
623 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Axis Labels
Next Thread in Java Forum Timeline: Merging And Splitting





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC