Researcher's Writer - My Personal Project
Hi all,
I recently started a personal project called "Researcher's Writer." I hope to make it open source eventually. At the moment, it's just a text-editor I'm developing in my free time for quick note-taking for Math classes. I know there's LaTeX for the fancy formulas, but this is a program meant to be for your average student, who may or may not be LaTeX savvy, that lets him or her take Math notes on the fly. There will be a macro-system that lets individuals set math symbols to certain keys. There will also be preset macros. For example, you could press ctrl-alt-e to set up a summation with ∑.
Right now, it looks like a very slick, aesthetic version of notepad with Java's Metal look and feel.
In the mean time, I would like to know how to make the JTextPane maximize along with the window. I would need to have a WindowListener for Maximize_Both and then reset the size of the JTextPane, and then I would reverse the process when the window is restored to normal size.
The tutorial from the Sun site on Window Listeners is a bit confusing, and it would take a lot of trial and error for me to get it working with my code. I'm just wondering if anyone has any quick tips or advice to offer.
Thank you,
GraceC1990
(On the other hand, if I wanted it to look more like Open Office, where would I even get started with the layout? How does Open Office's Text Pane always stay in the center while the window expands? - Grace)