Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

html with jtextpane

Thread view: 
Joly Makunga - 04 Jul 2005 09:38 GMT
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.setPage(url)
....

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

jolyqr
Andrew Thompson - 04 Jul 2005 10:22 GMT
> 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.

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.