Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Text editor in Java

 
Guy Geelen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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

Any ideas?
Thanks
 
Joe Ess
Bartender
Posts: 9319
10
Linux Mac OS X Windows
 
Guy Geelen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, but I already knew that one.
What I mean is that I don't want to write one from scratch;
Isn't there any existing application that represents a text editor
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15485
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Guy Geelen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool. Making your own is always more fun and educational, even if it's not the most economical. Keep having fun!
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic