[Webfunds-devel] Re: odl stuff
E. van der Koogh
rupert@mediaport.org
Mon, 27 Sep 1999 00:52:43 +0200
> > client/ExampleFileFilter, is Suns code, and it says they will lock you up...
>
> Ouchimama! More sun code :( With copyrights too!
> Is this code you can actually use? Was it taken out
> of a book? Or somewhere it is sort of expected you
> hack it? There's rather a lot of it.
Take a look at the code. How are you supposed to do it otherwise? I
could rewrite it myself, but I would end up with the same code :D
> > i moved all sun into sun and it works, but lost repository, can you
> > move it at the repository and Ill fix it. grep for 'Copyright.*Sun'
>
> Yes, done. NOTE ALL, do a 'cvs get' from the top of the
> tree, as there is a new directory.
>
> > and also i did AbstractCellEditor.java - is this suns or webfunds?????
>
> Don't know myself. Erwin would know?
This was taken from one of the example pages of sun. And the author has
admitted the copyright statement didn't make sense at all.
I checked my mail archives, but I couldn't find the mail from the author
:(
I'll go find the URL tomorrow or Tuesday, but you could also go search
for TreeTable in the Swing Connection archives and you'll find 2
examples.
All the files below are from this example.
>
> > MV webfunds/client/Suns webfunds/client/sun :
> >
> > M webfunds/client/sun/AbstractCellEditor.java
> > M webfunds/client/sun/AbstractTreeTableModel.java
> > M webfunds/client/sun/ExampleFileFilter.java
> > M webfunds/client/sun/JTreeTable.java
> > M webfunds/client/sun/TreeTableModel.java
> > M webfunds/client/sun/TreeTableModelAdapter.java
> >
> > and for suns code, below were modified.
> >
> > M webfunds/client/AccountBrowserImpl.java
> > M webfunds/client/AccountTreeModel.java
> > M webfunds/client/contracts/SignContractWizard.java
The modified code is all mine. AccountBrowserImpl is written from
scratch by me and designed by me.
Same for SignContractWizard. AccountTreeTable implements the
TreeTableModel interface :)
I did modify the other code as well here and there cause there were some
problems with it.
> Check!
>
> > webfunds/client/Client.java seems useful? but not used anywere
>
> Ah, keep that. That's the cyclic testing program. Next task
> would be to get that working, if you can manage it. Also, modify
> it to do a timesync once a minute, and a transaction once an hour,
> and if these fail, to start ringing bells and calling in the
> apocalyptic bug fixers. How it does that is... well, a question :)
Hmm.. It's pretty useless now I guess. With all the changes from old
accounts to new accounts and stuff.
Best thing would be to rewrite the contructor and the whole public void
test() method.