• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom HTMLEditorKit - to create paginated HTML file

 
p anu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have found solution for Pagination in JTextpane with Header and Footer. but it uses StyledEditorKit. i want to render the HTMl file paginated Header and Footer.Please help me to create Custom HTMLEditorKit.
 
Rob Spoor
Sheriff
Pie
Posts: 20661
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you already tried, and where are you stuck?
 
p anu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i've tried with custom SyledEditorKit. when i change the StyledEditorKit to HTMLEditorkit its not working. any idea.
 
Rob Spoor
Sheriff
Pie
Posts: 20661
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ItDoesntWorkIsUseless. TellTheDetails.
 
p anu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had taken sample from http://java-sl.com/Pagination_In_JEditorPane_HF.html . it extends from StyledEditorKit. i want to render the Html. so when i change the content type to text/html it does not work. i thing problem on ViewFactory.
 
p anu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
Please help me to create Pagination in JTextPane to rendnder the HTML file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic