This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
is there any existing java code or program that I can use in my program as a text editor? I am developing a system in which I have to be able to generate letters and reports. I want to create these letters etcetera in my running java program. The functionalities I need: the basic text editing possibilities: bold, italic, font changing, ... It has to be possible to integrate it inside a JFrame, so like a InternalFrame or something like that
Guy, the Swing editor pane supports formatting, colours, fonts etc., just what you were asking for. Why exactly are you not satisfied with it - what exactly do you want? Do you want a stand-alone text editing program written in Java? See jEdit for example, if that's what you're looking for.
I'm guessing he's looking for someone who has already built all the toolbars and key mappings to make it work like a mainstream word processor. I would not be surprised to find such a thing with Google.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joined: Apr 18, 2007
Hi, that's exactly what I meant. But I've already made one my own. Not exactly what I need yet, but it will do. Thanks
Joined: Jan 29, 2003
Cool. Making your own is always more fun and educational, even if it's not the most economical. Keep having fun!