jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes Custom HTMLEditorKit - to create paginated HTML file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Custom HTMLEditorKit - to create paginated HTML file" Watch "Custom HTMLEditorKit - to create paginated HTML file" New topic
Author

Custom HTMLEditorKit - to create paginated HTML file

p anu
Greenhorn

Joined: Sep 21, 2011
Posts: 6
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

Joined: Oct 27, 2005
Posts: 19656
    
  18

What have you already tried, and where are you stuck?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
p anu
Greenhorn

Joined: Sep 21, 2011
Posts: 6
Hi,
i've tried with custom SyledEditorKit. when i change the StyledEditorKit to HTMLEditorkit its not working. any idea.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

ItDoesntWorkIsUseless. TellTheDetails.
p anu
Greenhorn

Joined: Sep 21, 2011
Posts: 6
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

Joined: Sep 21, 2011
Posts: 6
Hi guys,
Please help me to create Pagination in JTextPane to rendnder the HTML file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom HTMLEditorKit - to create paginated HTML file
 
Similar Threads
CSS Support in Java 1.3 and prior versions
Can we create a custom component by extending rich:dataTable?
Images not being displayed via HTMLEditorKit showing in a JEditorPane.
Java Mail with attached Image
Page size when printing html from JTextPane