• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Text editor in Java

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Java Tutorial: How to Use Editor Panes
 
Guy Geelen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic