Jebu Ittiachen wrote:
>
> Ok here is some sort of client.GUI coupled with contrib.FGUI I have put it
> in the same FGUI package coze it has the working parts of FGUI and look of
> client.GUI. Guess it shud not be a problem getting it working. I've tested
> only on Windowze box.
This throws up loads of errors when I decompress the zip into
Freenet/contrib/FGUI and do a javac *.java:
--
[ian at technic FGUI]$ javac *.java
MainFrame.java:198: No constructor matching SimpleInsertClient() found
in class Freenet.contrib.FGUI.SimpleInsertClient.
SimpleInsertClient client = new SimpleInsertClient();
^
MainFrame.java:199: Incompatible type for method. Can't convert
java.lang.String to java.io.File.
client.setFile(file);
^
MainFrame.java:201: Incompatible type for method. Can't convert
Freenet.contrib.FGUI.ProgressBar to
Freenet.contrib.FGUI.ProgressCounter.
client.setCounter(bar);
^
MainFrame.java:227: No constructor matching SimpleRequestClient() found
in class Freenet.contrib.FGUI.SimpleRequestClient.
SimpleRequestClient client = new SimpleRequestClient();
^
MainFrame.java:228: Incompatible type for method. Can't convert
java.lang.String to java.io.File.
client.setFile(file);
^
MainFrame.java:230: Incompatible type for method. Can't convert
Freenet.contrib.FGUI.ProgressBar to
Freenet.contrib.FGUI.ProgressCounter.
client.setCounter(bar);
^
--
How did you test this? Have you perhaps sent an older pre-debug
version?
Also, we don't really want this to overwrite the old FGUI since it is
Java 1.1 and that is valuable. This should really go into a separate
contrib directory but reference the files in contrib/FGI (code reuse is
good!).
Ian.
_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev