What defines the default font?

What defines the default font used in an applet besides the font.properties file? I'm running an applet on two NT systems with identical font.properties files but the applets use two different fonts. Is there an OS setting in NT that would override the default in Java?

To my best of knowledge, it's completely contained in the font.properties file. At least for jdk118. You can always create and define other fonts in your font.properties file even going to the extent of removing the ones you don't like probably but I haven't done that. I have added new fonts to the font.properties file and then set what ever component you are using to this new font. So to create a new font to use on a button and add the button to a panel.
p1 = new JPanel();
Font bf = new Font("comic",Font.BOLD,16);          
JButton bj = new JButton(label);
bj.setFont(bf);
bj.addActionListener(this);
p1.add(bj);
Note that in my font.properties file I added the following line:
comic.0=Comic Sans MS, ANSI_CHARSET
joberoni

Similar Messages

  • HT5072 What is the default font for I-books author. I believe it is Helvetica 14. thanks/marv

    What is the default font for I-books author, the one brest to choose so that book is readable om an i-pad. Is it Helvetica 14? How about the paragraph pf text that introduces each chapter (it is a larger font, I believe) Thanks.

    It depends on the template and the part of the text.  Just click your mouse on the text and you should see the font name in the format bar at the top.

  • What is the default font size and font number used in OBIEE piechar Legend

    Hi Experts,
    What is the default font size and font number used in OBIEE pie-chart Legend
    Thanks
    V

    The default is font size 11, Tahoma.

  • What is the default font defined by JSR 226-SVG Scalable Vector Graphics

    The question is briefly as follows
    Do we have to include <font></font> tag inside the SVG file?
    Or is there any default font available to use?

    The default font name is ArialNarrow

  • What is the default font for mail in Yosemite?

    I upgraded from a previous version of OS X and my mail program uses:
    - Message list font: System Font Regular 12
    - Message font: Helvetica 12
    - Fixed-width font: Menlo Regular 11
    Are these the default fonts for a clean install of Yosemite?
    Thanks,
    - JRS

    Yes.

  • What are the default font settings for 7.0.1 I have messed with them a bit and now my text is blotchy. I want to start clean.

    I tried to adjust font settings to a font that I prefer and a size I can read. It was all kind of messed up so I searched what the default settings should be to start at ground zero again which I found but now it is worse. The main issue is that text is blotchy, dark some places, light another. Monitor is new so it's not issue. What exactly are the Default settings for 7.0.1 I'm not sure mine are correct ??? What other things can I look at if the default doesn't improve everything? I have Windows 7 and turning clear text on or help has no effect. PLEASE HELP ???

    You can see the defaults in a screenshot in this KB article:
    * https://support.mozilla.com/kb/Some+text+shows+up+bold+after+upgrade
    You can check the font setting in: Tools > Options > Content : Fonts & Colors > Advanced
    Default Font: Times New Roman (16)
    Fonts for : Western
    Proportional: Serif (16)
    Serif : Times New Roman
    Sans-serif : Arial
    Monospace : Courier New (13)
    [X] "Allow pages to choose their own fonts, instead of my selections above"
    Are there any problems reported in the Graphics section at the bottom of the Help > Troubleshooting Information page?
    If you have an ATI graphics display try to disable "Morphological Filtering" in the Catalyst display driver:
    * Catalyst Control Center > 3D Settings > Disable Morphological Filtering
    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.

  • What is the Default Font for Flex on Mac?

    Hi,
    What is the name of Flex's default font? I'm using a mac with OSX 10.4.
    Thank you.
    -Laxmidi

    Cool. Thanks for the help, Dany.
    -Laxmidi

  • What is the default font?

    And by default I mean this one on the board pictured here. I want to use that font on Firefox and Windows in general, but I can't seem to find. I thought maybe it's just a difference in the way the two browsers handle text rendering, but I don't know...
    http://img129.imageshack.us/img129/684/clp00375bf7.png
    Thanks!

    The only two fonts used in the page are Arial and Helvetica.. and yes the fonts do get rendered differently in Safari. They are a little thicker, but not bold.
    Information comes from the sites CSS styles and code.

  • HT2506 What is the default font preview uses when viewing a PDF?

    I am annotating text in a pdf but I can't seem to match the font that preview is using.  Any ideas?
    Thanks.

    It uses the fonts that are in the PDF...the ones that were used in the document that the PDF was created from.

  • What is the default theme font for ea & cs?

    Hi all;
    This was not answered before. Is this specified now?
    If the theme.xml file is as follows (which Word usually does):
    <a:minorFont>
    <a:latin typeface="Calibri"/>
    <a:ea typeface=""/>
    <a:cs typeface=""/>
    What font is used for:
    <w:rFonts w:asciiTheme="minorBidi" w:hAnsiTheme="minorBidi"/>
    I'm seeing Arial for a test case and I have no idea where that's coming from.
    ??? - thanks - dave
    What we did for the last 6 months -
    Made the world's coolest reporting & docgen system even more amazing

    Hello Dave,
    I couldn't download your test case (404), but I made a similar one.
    theme1.xml:
          <a:minorFont>
            <a:latin typeface="Calibri" panose="020F0502020204030204"/>
           <a:ea typeface=""/>
            <a:cs typeface=""/>
          </a:minorFont>
    document.xml:
          <w:r>
            <w:rPr>
                <w:rFonts w:asciiTheme="minorBidi" w:hAnsiTheme="minorBidi" />
            </w:rPr>
            <w:t>test</w:t>
          </w:r>
    This resulted in Times New Roman when I opened the document, which is in line with what I see in [MS-OI29500] §2.1.87/c:
    [begin quote:
    c. The standard states that the default fonts for the ascii, hAnsi, cs, and eastAsia attributes are application-defined.
    Word uses a default font of Times New Roman for all of these attributes. --end quote]
    I'm not sure why you're seeing Arial in your document. If you get that to me with a different link or via dochelp email, I'll be glad to investigate it further. EDIT: I was able to correct the link. I'll see if I can determine what's going on with the font
    selection for this document.
    Best regards,
    Matt Weber | Microsoft Open Specifications Team

  • Does anyone know what the default font is for MacMail?

    Does anyone know what the default font is for the Mail program? My son changed my mail font and I want to change it back, but I can't remember what the original default is! Anyone? Thanks!

    I rarely use Mail (normally use Gmail in Safari) so I am 99.99% sure mine is still at the default. It is Helvetica 12.

  • Oh!  Then what I want to do is change the default font on my email, documents etc.  how do I do that.

    Oh!  Then what I want to do is change the default font on my email, documents etc.  How do I do that?

    Hi stom353,
    If you would like to change the fonts in Mail, you may find the following article helpful (the font options are located under menu bar item Mail => Preferences => Fonts & Colors):
    Mail (Mavericks): Fonts & Colors preferences
    http://support.apple.com/kb/PH14863
    Regards,
    - Brenden

  • What's the default console font?

    And what size/weight is it? I used to think this font was ugly and unfriendly, but I've grown more attached to it over time. I would also like to use this same font in X, as my urxvt/xterm default font. Is this possible?

    I tried various combinations of Fixed, and I think that's the font, but the closest I got was size 15 bold. The problem is it's still too wide and some of the glyphs are off. I remember reading about the default font in Windows Powershell and most Linux Consoles on Wikipedia, but I can't remember what it said
    If only I knew! There might even be a truetype version floating around the net.

  • What is the default Hebrew font on CS5.5 ME?

    What is the default Hebrew font on CS5.5 ME?
    Basically, when I type in Hebrew and have an English font selected the type always comes out the same way and I need to know what font that is.
    Help!

    Winsoft Pro.
    You want to select a different font...
    Harbs

  • Need help on defining a default font in a JTextPane

    Hi, I'm currently programming a HTML Editor and I'm stuck with a problem I don't know how to solve:
    I have defined a default logical style for my JTextPane.
    I decided to set the font to "Arial". So here is how it goes:
    import javax.swing.text.StyleContext;
    import javax.swing.text.Style;
    Style styDefault = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
    StyleConstants.setFontFamily(styDefault,"Arial");
    //tpEditor is a JTextPane
    tpEditor.setLogicalStyle(styDefault);
    I have also bound a CaretListener to my JTextPane so that
    it get and output display showing the font family of the character over which the caret is positionned.
    Alright, here is how all this behaves :
    When I run my HTMLEditor (a JFrame) and I click on the JTextPane, I get this
    in the output : "Arial" . This is correct, that's what I expect the output to display, the problem is that when I start typing text,
    even though the caret listener keeps sending to the output "Arial" for every key that I press, the displayed
    text is not Arial text, instead,it is this default font called "dialog". This is the code that I use to display the font over which the caret is positionned :
    //Code inside a CaretListener extended class
    System.out.println(StyleConstants.getFontFamily(tpEditor.getCharacterAttributes()));
    Another strange behaviour is the following :
    If I select, let's say "Verdana" from my JComboBox, any further typed text or an already selected
    portion of text has its font set to Verdana. Displayed text and font name sent to the output by the caret
    listener really match this time ( I set the font using Actions that are bounded to buttons I added to my JComboBox)
    If I erase text, typing on the backspace key, and I get to the beginning of the line (the
    border of the JTextPane), the font (which was set to Arial) is set back to this default font called "dialog"
    that I don't know how to get rid off.
    Does any one have any clue about this issue ? Is there a sort of background font that can't be changed ? It
    seems awkward to me to have to manage an event for when I get to the beginning of the line. There has to be
    a way of getting control over the default font (or style) of my JTextPane and it's associated document (which
    happens to be a HTMLDocument for me).
    Any help would be really appreciated,
    thanxs,
    Diego TERCERO

    Good news! I found a way around our little roadblock. It's funny how, whenever I'm forced to post a request for an answer, I ALWAYS seem to find one myself! :)
    Anyhow, follow this link to my thread:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=237075&start=0&range=15#858692
    Cut and paste it if the link ends up broken.

Maybe you are looking for

  • Adobe Reader, Telnet Hyperlink Problem

    Hi, I met a telnet Hyperlink Problem in Adobe Reader. When click the Hyperlink (like telnet://a.b.c.d), Adobe reader gives me a Alert: Acrobat does not allow connection to: telnet://a.b.c.d And I also need to open this telnet hyperlink in web browser

  • Apple Mail unusable

    Hello all, I have a 2009 15inch MacBook Pro. I use Apple Mail for work. I have about 3 GB Kontent with different mail accounts (GMX, GMAIL, COMPANY IMAP, etc.) I got a lot of intelligent folder. Very often when I open Mail all folders are empty (also

  • Related Pricing procedure

    Dear Gurus..., Can any body guide me the pricing procedure.. I am looking to that , but i am not able to understand the following things. While going  M/08 Transaction - > selecting pricing procedure - > clicking the controls I am finding the table l

  • Coherence.sh commandline called from java

    We need to provide coherence.sh kinda functionality from a java program(legacy reason :) ) and I get the exception when I call the main program. ProcessBuilder(fork,exec) would not do also besides its an interactive client. com.tangosol.net.CacheFact

  • Upgraded to 10.8.5 and now have multiple monitor issues

    hi all, i recently updated my macpro (4,1) to 10.8.5 from 10.6.8.   i have two monitors hooked up to the gt120, one through dvi-->hdmi cable and one displayport-->hdmi cable.  both monitors have worked fine for a year or two before update. my desktop