[CF-Devel] "cleaned-up" CFJavaEditor testversion

Andreas Vogl andi.vogl at gmx.net
Wed Aug 14 13:12:04 CDT 2002


in reply to Michael Keuchen:
>
     
      Hi,
     
     >
     
      the new directory structure is o.k.,
     
     >
     
      although I still don't know why there
     
     >
     
      should be a CFJavaEditor.jar in CVS .
     
     
I'm glad that you are content with the new structure.

You are right that the jar is not a must-have on CVS.
However, there will always be people who don't know
how to compile the sources. I just want those to
have a working version of the editor while they can
look at the sources and figure how to compile them.
The jar is not that big, so it shouldn't cause trouble.

Maybe I can leave out the arch-resource files from
the CVS-jar (they're available in extracted form).
Then it is really small.

>
     
      A problem I encountered is that sometimes -
     
     >
     
      with other memory-consuming programs running
     
     >
     
      and only 64 MB RAM - the program crashes in
     
     >
     
      the options dialog.
     
     
The editor consumes about 40 MB of RAM constantly, so
running it on a system with 64 MB is really on the edge.
I also noticed that the JRE unfortunately is not
behaving clever when it runs out of memory.
On the other hand it is indeed slightly suspicious that
it crashes in the options dialog and not, say, in the
attribute dialog.

>
     
      Don't know why, but attached is a modified version
     
     >
     
      of CDialogBase that fixes this problem.
     
     >
     
      Main change is the the dialog is shown AFTER
     
     >
     
      location is set - which is always a good idea.
     
     
Thanks. Your changes to CDialogBase make sense
and they work just fine, so I'll include
them of course.
I would still not guarantee the editor is
running on a 64 MB RAM system though. :-)


AndreasV



    
    


More information about the crossfire mailing list