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

JTextArea Inquiry  RSS feed

 
Noel Balacuit
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on a project that requires:

* multiple line text that is uneditable by the program end-user

I am experimenting with JTextArea, line wrap and filters to accomplish this task.

My question is:

Does anyone have any advice concerning best practices for accomplishing this GUI?
 
sammaiah kyatham
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's depends on your requirement.

If it is ok to use TextArea.. that would be a good option.

The other option is using paint.. you have to write all the text using Graphics object.

Thanks,
Sam
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!