Messy jword-2 notes

[updated Feb 6th, 2001]

This is NOT a nice clean spec. This is a vague insight into where my thoughts are going. Since progress on jword is unfortunately slow, this gives folks something to occasionally look at, and see that all is not dead. Progress is very slow. Most people email me with a vague offer of support, but then when they see how much work is to be done,I never hear from them again. Unfortunately, I don't have that much time to work on it myself. But I try to keep things going bit by bit.

The original jword code has served its purpose. It showed that basic speed, etc. is possible for a word processor under java. It is also incredibly buggy code as far as working 100% correctly. So it will be left out to pasture.

In "the road ahead", we will be modularizing things further. The goal is to have a framework that allows embedded graphics, and good stuff like that. Progress is being made:

snapshot of jword2
 prototype, Feb 2001

[Okay, there was a little bit of hand-tweaking to generate this screen. As you can see, there is no menu and no cursor; I had to "fake" loading a file. But apart from that, the display in the screenshot is done "cleanly". This is a pure snapshot of the running program.]

The current prototype splits pages into "Frames", or "Regions". Unfortunatly, this is a fair bit more complex than the original prototype, so things are somewhat yeukky. The stuff below is actually a little out of date. But I think it still gives a vague idea of where things are headed.

Internal structure for jword2

Most of the source files below are just pseudo-code, and they are out of date. The actual code is a bit more developed, as shown by the image above. But it is nowhere near completed. To get an idea of what the above does, from the viewpoint of jword v1:

The old "DocPage", would be equivalent to a "TPage", plus a single "TFrame" inside it.

In other matters, we should still be sticking to the basic old design plan

Sidebar: Take a look at my general java tools page for my "jlayout" tarfile. The thing that was most holding me up was trying to get a new, flexible layout manager designed. This might be a starting-point.

A picture says a thousand words. This is the work of a single layout, NOT some kind of nested trick.
sample of jlayout in action


jword top