• 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

JEditorPane or JTextPane

 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my new project is a simple word processor. like Wordpad only probably even simpler. one of the first decisions is whether to use an editor pane or a text pane. my first impression is to use an editor pane because it seems to handle plain text better. i am reading the tutorials, but any advice is appreciated.

i noticed the tutorial here
uses a JTextPane.

this is a great project if you happen to be stuck without one. i am going to learn a great many new things from it.
 
Greenhorn
Posts: 8
Eclipse IDE C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JtextPane extends JEditorPane class , it has all the features of JEditorPane along with them it provides several additional features!!! so it makes sense to use JTextPane as it provides for lot of additional features, if you are not using those additional features then you can well use JeditorPane.
reply
    Bookmark Topic Watch Topic
  • New Topic