• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

UI Manager's TextPane.font properties

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic