aspose file tools
The moose likes Swing / AWT / SWT and the fly likes JeditorPane Text Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JeditorPane Text" Watch "JeditorPane Text" New topic
Author

JeditorPane Text

Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
If I load file ascii file in the JeditorPane wat will happen. whether the JEditorPane will load it as it is or search the supporting font family. If the supporting font family is not available then what will happen. Please assist me
K. Tsang
Ranch Hand

Joined: Sep 13, 2007
Posts: 1222

It will load "as is" using Java internal font (whatever that is).


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
But I tried to load a file with times new roman text and printing the Jeditorpane. But its printing in arial black. How come this

because of printer ?
K. Tsang
Ranch Hand

Joined: Sep 13, 2007
Posts: 1222

Don't know man. Maybe printer default font is arial black?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JeditorPane Text
 
Similar Threads
Problem in Font
JeditorPane Font
how to change the font-family in XSLT file
printing rtf from jEditorPane
JEditorPane problem displaying non-English text in 1.4 (Linux)