IntelliJ Java IDE
The moose likes Swing / AWT / SWT / JFace and the fly likes JButton Default Font Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "JButton Default Font" Watch "JButton Default Font" New topic
Author

JButton Default Font

Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

What is the Default JButton Font on a Windows Platform?
Thanks

------------------
Happy Coding,
Gregg Bolinger


My Blog | DZone Articles
Luong Nguyen
Ranch Hand

Joined: May 06, 2001
Posts: 31
Hi,
It's the (Dialog, Font.PLAIN, 12). However, Dialog is an alias name that declares in font.properties file.
Good lucks.
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

Thanks, I figured that was it and therfore I am still not able to do what I want to do. Oh well.
Thanks for you help

------------------
Happy Coding,
Gregg Bolinger
 
jQuery in Action, 2nd edition
 
subject: JButton Default Font
 
Threads others viewed
Deferent Font
How to set the font of message dialog?
JTextArea help
font family of empty DefaultStyledDocument
Tips on using this discussion software