• Post Reply Bookmark Topic Watch Topic
  • New Topic

Any way to display entire text documents on GUI component?  RSS feed

 
Fiona Healy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to display a user manual type help document on a my GUI is there some way i can do this?
Using what JComponent?

Thanks
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you need to do depends on what format the document is in (Winword? RTF? HTML? PDF? Plain text?) and what you want it to look like. Details, please.
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fiona

For displaying plain text document, you can just use JTextArea.
For displaying RTF or HTML format document, you may use JTextPane.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!