Because I never get to use Java at work, I've decided to work on my own project at home. A portion of it will involve being able to create/modify/save multipage documents. The documents will all follow a basic table-like format (more like a form I guess), but which can be modified in certain respects (i.e. # of rows). The number of pages will vary as well.
I have searched for examples of multipage editors (in Java) and have not come up with much. I found an example in Eclipse, but not being an Eclipse user I haven't been able to get it to run properly. Every time I try to "Run" it according to the instructions, it just opens another instance of Eclipse.... I'll probably try copying the code into another editor and try it from there.
If anyone knows of other similar examples they could point me to, or even places to look, I would very much appreciate it!
Mike<br />SCJP 1.4<br />----------------------------<br />firstname.lastname@example.org<br />----------------------------<br />There are 10 types of people<br />in the world. Those that <br />understand binary, and those<br />that don't.
The Eclipse thing you're looking at is a "plug-in" -- an extension to Eclipse itself, which provides the framework in which the editor runs. When you "Run" a plug-in project, Eclipse launches a new Eclipse with the plug-in installed in it.
When you're all done developing the plug-in, you (or anyone else) can install it in your regular Eclipse instance, so that it's available any time you start Eclipse.
Yes, that makes sense. But the example is one of the examples that comes w/ Eclipse. When I first opened the example, it said it needed to be installed, so I let it install it. I obviously don't know enough about Eclipse...
author and iconoclast
Eclipse is an awfully good framework for building editors and editor-like things. If I were you I'd head over to our Bunkhouse, look at the reviews of some of the available Eclipse books, and get ahold of one that sounds good to you. If you're serious about your project, this would be a really good way to do it.
Joined: Jul 29, 2003
I made a quick browse of the Bunkhouse, and so far I like the look of the "Step by Step" book on Eclipse. I looks like a good place to start anyway.