[Visual-devel] Re: RE: again compiling version 0.0.17
Status: Alpha
Brought to you by:
lettoz
From: Thomas H. <Tho...@we...> - 2002-11-06 16:22:12
|
"Juan Carlos Orozco" <jo...@ac...> schrieb am 06.11.02 14:45:26: Hola Juan Carlos, sorry, I'm not sure how up to date CVS is. I suppose, there have been left old files. With the very latest version, you will not need hmiFake or hmiFake2.java. The "fake features" have been moved into hmiFakeCI.java. hmiD.java has been replaced by hmiDesigner.java. Please adapt your Makefile/script for not to compile the obsolete targets. Some demos are NOT up to date, e.g. hmiInput.html. But hmiLinearDial is, so you may use these lines from it as an example how it should look: <applet code="hmiViewer.class" codebase="./" width=640 height=480> <param name="communicator" value="hmiFakeCI"> This will use the fakeCI that fakes values for my demo pages on visual.sourceforge.net Alternatives are: <param name="communicator" value="hmiVisualCI"> This is used to really communicate with VISUAL's server. <param name="communicator" value="hmiNoCI"> This is to be used with hmiDesigner. It just creates a variable for each variable/coodinate requested by the widgets and sets it's value to zero. Value can be changed by connecting a potentiometer to the same variable. > I was trying to do some more testing with your visual designer but the > java programs in the designer folder does not compile in my machine > (with java build 1.4.0_02-b02). It looks like there is an incomplete > version on the cvs. For now I am using an old version. I am sending you > the messages: > > H:\downloads\visual\designer>javac *.java > hmiD.java:143: cannot resolve symbol > symbol : variable hostError > location: class hmiD > hostError=0; > ^ > hmiFake.java:45: cannot resolve symbol > symbol : variable hostError > location: class hmiFake > hostError=0; > ^ > hmiFake.java:175: cannot resolve symbol > symbol : variable count > location: class hmiFake > for (i=0; i<count; i++){ > ^ > hmiFake.java:176: cannot resolve symbol > symbol : variable fields > location: class hmiFake > if ((fields[i].flags & 0x01) !=0) > ^ > hmiFake.java:179: cannot resolve symbol > symbol : variable fields > location: class hmiFake > cells=cells+fields[i].Cells[13].coord; > ^ > hmiFake.java:187: cannot resolve symbol > symbol : variable host > location: class hmiFake > "http://"+host+"/"+ > ^ > hmiFake2.java:44: cannot resolve symbol > symbol : variable herror > location: class hmiFake2 > herror=0; > ^ > hmiFake2.java:143: cannot resolve symbol > symbol : variable count > location: class hmiFake2 > for (i=0; i<count; i++){ > ^ > hmiFake2.java:144: cannot resolve symbol > symbol : variable fields > location: class hmiFake2 > if ((fields[i].flags & 0x01) !=0) > ^ > hmiFake2.java:147: cannot resolve symbol > symbol : variable fields > location: class hmiFake2 > cells=cells+fields[i].Cells[13].coord; > ^ > hmiFake2.java:155: cannot resolve symbol > symbol : variable host > location: class hmiFake2 > "http://"+host+"/"+ > ^ > PageViewer.java:71: PageViewer.DefaultAppletContext should be declared > abstract; > it does not define setStream(java.lang.String,java.io.InputStream) in > PageViewer.DefaultAppletContext > public static class DefaultAppletContext implements AppletContext { > ^ There must be something new in JAVA 1.4??? I do not have it at hand. Try to insert an empty method like: void setStream(java.lang.String S,java.io.InputStream IS) { } and see what it does or does not. > PV2inner.java:72: PV2inner.DefaultAppletContext should be declared > abstract; it > does not define setStream(java.lang.String,java.io.InputStream) in > PV2inner.Defa > ultAppletContext > public static class DefaultAppletContext implements AppletContext { > ^ > PV3inner.java:24: PV3inner.DefaultAppletContext should be declared > abstract; it > does not define setStream(java.lang.String,java.io.InputStream) in > PV3inner.Defa > ultAppletContext > public static class DefaultAppletContext implements AppletContext { > ^ > Note: Some input files use or override a deprecated API. > Note: Recompile with -deprecation for details. > 14 errors > About pageViewer and later versions PV2 and PV3: They are very experimental. You do not need them if you use the applets in a browser or with an appletviewer. They are trial versions to make links work via the showDocument method without using a browser. appletviewer does not implement showDocument. Further, appletviewer opens a new frame for each applet if called with multiple applets in the same HTML file. My aim with these things is to provide a lightweight extended appletviewer which can change pages, display multiple applets in a common window and maybe display text and a subset of html tags from the HTML page. This could eliminate the need for a browser on small systems. I just took the code from Kaffe's (www.kaffe.org) appletviewer and modified it. I'm using JDK 1.1.8 mostly. I will update CVS this weekend, I hope. HTH Thomas ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 |