This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

textArea, textPane or editorPane  RSS feed

 
Drake Silver
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which is better, and why.
I am creating a java program to load text files.
Normally I would use TextArea, but this time I
began wondering why it is that I haven't used
TextPane? or even EditorPane...they seem pretty much the same to me.
Is one mainly for graphical editor, another for simplt text manipulation and still another for more advanced textual manipulation?
 
Drake Silver
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi?
What might textpane/editor do that text area can't?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically they allow you to apply styling to text... but you can find much more information about them here...
 
Drake Silver
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent.
Thankyou Nathan.
The link explained everything perfectly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!