• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JeditorPane Text

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 3521
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It will load "as is" using Java internal font (whatever that is).
 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 3521
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know man. Maybe printer default font is arial black?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic