Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > html with jtextpane

Thread Tools

html with jtextpane

Joly Makunga
Posts: n/a
hi !!, i'm doing a training course.
i have to build a program that allows opening an html file and to do a
preview of this file, like in Word: preview before the printing for example.

i decided to simulate that preview by chaging the size of the police.
i load the file in a JTextpane. the problem is i do not know how to
modify the police of the sheet.

i load the html document by using this line :


tp : this is the JTextpane
url : this is the html file

if you know how to modify the police of an html document, or how to do
the preview of a document or how to do a zoom of a document, contact me.

thank you for your responses

Reply With Quote
Andrew Thompson
Posts: n/a
On Mon, 04 Jul 2005 10:38:56 +0200, Joly Makunga wrote:

> hi !!, i'm doing a training course.

You are also multi-posting. Please stop multi-posting.

See the answer I posted on the other group to
progress this technically.

Andrew Thompson Web & IT Help Open-source software suite Science & Technology Images that escape the mundane
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Title Attribute Of An HTML Tag In A JTextPane Adam Polt Java 0 05-08-2007 06:33 PM
JTextpane and mxing with HTML. Kalpesh Modha Java 3 09-13-2004 11:58 AM
JTextPane memory leak Sudarshan Raghavan Java 1 10-29-2003 11:33 AM
JTextPane does not highlight when not in focus Adam Java 0 10-18-2003 08:19 PM
JTextPane columnar data rj Java 1 09-01-2003 05:18 PM