File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes change the button font Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "change the button font" Watch "change the button font" New topic

change the button font

Florence Cheung

Joined: Mar 18, 2001
Posts: 24
I want to change the font style of button to a fixed-size font such as "courier". Anybody knows how?
Sri Nivas
Ranch Hand

Joined: Apr 18, 2001
Posts: 58
If u r talking about the html type button, you should be using the style sheets.
Florence Cheung

Joined: Mar 18, 2001
Posts: 24
Thank you. I will look into it. I am talking about HTML.
I agree. Here's the link:
subject: change the button font
Similar Threads
Setting custom font JOptionPane
Swing / JFC / AWT
How to change font properties, of subsection of page.
Change font size of button if button size changes
Font-weight of Browse button