• Post Reply Bookmark Topic Watch Topic
  • New Topic

UI Manager's TextPane.font properties

 
maximus vj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Platform : Windows
Browsers: IE,Firefox
JRE Plugin: 1.4.2_07

When I print UIManger's "Text Pane.font" I get this:
javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]

Platform: OS X
Browsers: Safari
JRE Plugin: 1.4.2

When I print UIManger's "Text Pane.font" I get this:
javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]

Platform: OS X
Browsers: IE
JRE Plugin: 1.3.1

But on the same OS 10 machine with IE I get this:
javax.swing.plaf.FontUIResource[family=Application,name=application,style=plain ,size=10]

Is there any way I can specify that the default font for TextPane the UI Manager picks up should be Dialog instead of application.

Thanks
maximus_vj
 
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!