JTextArea uses a small font that i cant read

I tried viewing a few examples of java swing applications but everytime i see a JTextArea on them the font on it is really small and hard to read. (I think it uses new courier, size 9 according to an application i tried to make on NetBeans)
apparently it doesn't happen on application that use the windows look and feel and look like a native program.
This also happens on two computers i own and also on my friends computers.
I am using java 6u12.
Windows xp sp3.
All the computers i tested this on are set to hebrew locales. but the last time i tried changing the locale thinking this was the problem it didnt help.
What is causing this, and is there any way to fix this?

something is still causing it to have a really small font. That something is in its source.... you can't change it (though you can, by changing it and compiling it once again yourself)
1. JTextArea has small font under windows look and feelTry running following program to check the font of text area in different look and feels:
import java.awt.BorderLayout;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.UIManager.LookAndFeelInfo;
* Testing JTextArea in different Lnfs
* @author talha
public class TextAreaTest extends JFrame{
    private static LookAndFeelInfo[] lnf;
    private static int total;
    private static int current=0;
    public TextAreaTest() {
        super("JTextArea Test");
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JTextArea area=new JTextArea(30,70);
        area.setText("Testing");
        JPanel panel=new JPanel(new BorderLayout());
        panel.add(area,BorderLayout.CENTER);
        getContentPane().add(panel,BorderLayout.CENTER);
        JButton button=new JButton("Change Look and Feel");
        button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                try {
                    current=(++current) % total;
                    UIManager.setLookAndFeel(lnf[current].getClassName());
                    System.out.println(current);
                    setTitle("JTextArea Test... Current LnF : "+lnf[current].getName());
                } catch (Exception ex) {
                    ex.printStackTrace();
                SwingUtilities.updateComponentTreeUI(TextAreaTest.this);
        getContentPane().add(button,BorderLayout.SOUTH);
        pack();
        setLocationRelativeTo(null);
    public static void main(String args[]){
        lnf=UIManager.getInstalledLookAndFeels();
        total=lnf.length;
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new TextAreaTest().setVisible(true);
2. SwingSet2 source code tab has small font.Don't worry about it, its in small font for me and for everyone....
Thanks!

Similar Messages

  • I buy my numbers april 2013 , never used, then now toldme that,  I cant use in my mac ios, what happen about?

    I buy my numbers april 2013 , never used, then now toldme that,  I cant use in my mac ios, what happen about?

    Hi,
    Do you mean Numbers for the Mac or Numbers for iOS?
    If you bought Numbers for the Mac in April 2013 then you can still use it, and also download the new version for free.
    If you bought Numbers for iOS in April 2013 then you can update it to the latest Numbers for iOS.
    But Numbers for the Mac and Numbers for iOS are two different apps that need to be purchased separately. 
    They do come free with new iOS devices and Macs.
    SG

  • I am running windows 8 and have lightroom 5.5 and i have a error that says cant read from previous cache?  help

    I am running windows 8 and have lightroom 5.5 and i have a error that says cant read from previous cache?  help

    Using Windows Explorer, navigate to the folder that contains your catalog it's probably located in Pictures\Lightroom. In that folder you will find another folder with the extension .lrdata. You need to delete that folder and its contents, then start Lightroom again. And new previews folder will be created automatically, and you should be able to start using Lightroom normally.

  • I was using Firefox on a website and all of a sudden everything changed to such small font that I can hardly read it. Any suggestions as to how I can change the size of the font?Ray Fowler

    While using Firefox the font size automatically changed to so small I can hardly read it. How do I change the font size in Mozilla Firefox?

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Firefox uses a weird font that looks like hexdecimal numbers in boxes

    My Firefox looks very weird since some days. I tried reinstalling firefox, deleted my user files, but the font didnt change. Just starting in safe mode corrects this error.
    here a link to a picture:
    http://www.glowfoto.com/static_image/09-124048L/7825/png/12/2010/img4/glowfoto

    Does that error only disappear if you start in [[Safe mode]] ?
    You can try "Reset all user preferences to Firefox defaults" on the [[Safe mode]] start window.
    You can also try to disable the hardware acceleration:<br />
    Tools > Options > Advanced : General: Browsing: "Use hardware acceleration when available"
    Are you using the profile folder that you use with the 4.0 beta version with the Firefox 3.6.x version as well?
    See also http://kb.mozillazine.org/Testing_pre-release_versions

  • Since updating Firefox, just about every window I open uses a script font that is very small and unreadable -- why, and how can I get it to use normal fonts?

    I never had this issue before the last update I made. The font is a font on my computer and I thought that maybe it was the font and if I disabled it, the problem would go away. But sadly, it just picks another fancy script installed on my computer. It doesn't matter how many I disable, Firefox continually picks another fancy script to replace the ones I've disabled. What's odd is that some windows I open are almost entirely the fancy script and others may only have one line or a heading in the script. This is not an issue at all on Safari and was never a problem on Firefox until the next to last update I made.

    You can do a check for corrupted and duplicate fonts and other font issues:
    *http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    *http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html
    You can do a font test to see if you can identify corrupted font(s).
    *http://browserspy.dk/fonts-flash.php?detail=1
    You can also try different default fonts.
    * Firefox > Preferences > Content : Fonts & Colors > Advanced
    *[ ] "Allow pages to choose their own fonts, instead of my selections above"

  • The side bar takes up so much space that I cant read the e-mail message.

    How can I make the side bar of my e-mail screen more narrow so that my message screen can be read without having to scroll left to right?

    Which email service do you use?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Command+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
    It is better not to increase the minimum font size, but to use an extension to set the default page zoom to prevent issues with text not being displayed properly.

  • Ipod freezes during sync then error that it cant read file...

    A little pre-info... I have owned a black 30gb 5th gen (video) Ipod for a couple of years now. I plug it in fine, my computer recognizes it fine, Itunes works fine with it... everything works great.
    I just bought another Ipod off ebay that is exact as mine except white- auction states the Ipod works fine, seller has awesome feedback, etc.. I bought this for a gift for my sister for Christmas. It is second hand, so warranty is expired.
    I plug it in the computer, and first tried to transfer some normal text data via explorer. I had put this same data on my own black Ipod with no issues, words fine. The white? Lo and behold I get that "Data Cycle Redundancy" error during copy. My experience is that that has always meant that the original file is messed up, not the destination its being copied too... but in this case I know the original file(s) were/are ok.
    And the Ipod freezes. So I safely unplug, and try to hard reset it. It wouldnt for a bit, and I noticed the Ipod was rather warm (but this might be because it was frozen for several minutes with the backlight still on as well). Finally I get it to reset. Same stuff happens again, again its hard to reset.
    So then I decide screw it, forget adding the stuff via explorer, Ill just try to get the music on my computer at least, over via Itunes, after I first restore the Ipod.
    Itunes opens... recognizes the Ipod... I go to copy music, and it copies until it essentially 'freezes'. I tried many times - its not a bad file because the same file would copy the other times Id try. It would freeze on any random file, during the write process.
    Then Itunes comes up with this error:
    "the ipod cannot be synced. the required file cannot be found"
    I dont think this is referring to my files trying to be copied, they werent deleted or moved from their location since importing into the Itunes library. Im wondering if theres a system type file on the Ipod that Itunes speaks to as it transfers...and when the Ipod freezes... hence it cant be found...
    At the same time I get this error from Itunes, I get a Windows XP bubble pop up that says:
    "Delayed Write Failed - Windows was unable to save all the data for the file x. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere."
    Now again, my computer/windows is NOT the issue. Its the Ipod.
    All the advice I have searched says to fix things on my computer. That includes that Apple support page in regards to those errors - it points the finger at my USB ports, etc - and thats simply not the case. If it was, my other Ipod wouldnt be working either - nor would my flash drives.
    Its the white Ipod.
    I saw one site suggest to format the Ipod via Windows first, then do the Itunes restore, but the Ipod froze and Windows couldnt format.
    I went into Device Manager and compared the two Ipod settings, both share the same settings. They are not set on 'enable write cache'.
    I have tested the HD via Diagnostics, and the BL blinked after the test, showing the HD passed... so right now I can only think of three things... a bad logic board perhaps, or the Ipod system files are corrupt somehow no matter how many times I do the restore... should I revert to an older update; is that even possible. Or the HD is bad after all and its just being missed in the test.
    So now... I need help. Am I missing something important? Is it a simple fix... a corrupt file thats freezing the Ipod somewhere - or did I get a bad Ipod from the seller.
    Its so close to Christmas, if there was some simple fix(instead of it being a bad HD) I could fix it myself, Id rather do that than go through the hassle of returns/refunds. Not to mention, its always a gamble how the seller will react. Will they help, or say its not a problem on their end and try to screw me... then Ill have to go through Paypal for reimbursement and that takes 90 days at least...

    I wish I had good news but all I have is information. I have access to 4 5th gen ipods. 2 black 30s and 1 white 30 and 1 black 80. The one white and one of the blacks work and have worked flawlessly for the past two years. The other black 30 and 80 started having the issue mentioned here some time after upgrading to iTunes 8. I tried to lowlevel format the iPod drive to fix any issues and that didn't cure the problem. I bought a MacBook a couple of months ago and restored my ipod to Mac format and low and behold it would accept files again! However it wouldn't let me fill the ipod beyond about halfway, this was on both ipods. Now the ipods have become slowly less and less fillable. Seems like syncing rather than putting the songs on manually seems to help, but again its getting worse all the time. (the two ipods that don't have any problems belong to my girls and the problem ones belong to my son and i) <- Grasping at straws I know, but my son and I are constantly changing the songs, playlists, videos and such.
    When I bought my Mac the guys at the Apple store were shocked that I was having this problem and practically begged me to bring it in so they could see what it wrong with it. I will post an update when i do that.

  • HT1414 My iPhone 4 is stuck in the USB mode for recovery and cannot be restored or recovered. I have tried to use all the outlets that I have read an cannot get it to recover. What next?

    My Iphone 4 is stuck in the restore mode and will not do anything. I have tried everything that I read on the site, but will not restore. What next?

    Try this support document http://support.apple.com/kb/HT1808. You may have to do it more than once.

  • 'Indesign cc' and ePub and 2014 and fonts that work across platforms

    After searching this forums and the web, I am posting the question.
    Does anyone know of a current 2013-2014 REFERENCE which PROVIDES a
    LIST of FONTS that are ACCEPTED by
    IPADS and KINDLES
    that WORK WITHOUT Any PROBLEMS.
    The article below is in contradiction to using OPENTYPE fonts saying they are not reliable unless used at 100%
    Background.
    I am creating an ebook using inDesign CC.
    Spent time using several videos as learning tools.... Terry White....
    Gabriel Power has a two part set of tutorials from 2009 which were a bit helpful but a lot has changed in 5 years.
    He SUGGESTS using OpenType and TrueType fonts.... That PostScript fonts will NOT work.
    Searching '2013 and Ebooks and best fonts '
    I did find several lists of fonts that work for the KindleWhite and the KindleFire.
    The article was not dated.
    I did this search and found:
    2013 and iPad and ebooks and 'which font do I use?'
    http://www.pagetoscreen.net/journal/item/embedding_fonts_in_ebooks
    Saturday, March 23, 2013
    Embedding Fonts in eBooks
    The article above is in contradiction to using OPENTYPE fonts saying they are not reliable unless views at 100%.
    BUT this is all still CONFUSING.
    I would like to uses 6-8 fonts that will DISPLAY AS the font I use in my file.
    These would be fonts that work on both iPads and kindles primarily but on other mobile devices as well.  In this case I am not concerned about smart phone displays.
    Once again...
    Does anyone know of a current 2013-2014 REFERENCE which PROVIDES a
    LIST of FONTS that are ACCEPTED by
    IPADS and KINDLES
    that WORK WITHOUT Any PROBLEMS ? ?
    THANKS for the expert and experienced feedback.
    Message was edited by: loveAndPeace

    Received this message from Kindle:
    Hello from Amazon Kindle Publishing.  Thanks for writing to us.  I'm so sorry to inform you that, currently We do not support Adobe InDesign CC.  Kindle Plugin for Adobe InDesign supports Adobe InDesign versions CS4, CS5, CS5.5 and CS6.  Rest assured I've taken This Issue as feedback and communicated the same to our Appliaction team for consideration as we plan future improvements.  Thanks for your understanding.
    Best regards,
    Kindle Publishing Team
    Thank you.
    Amazon.com

  • Updated firefox wants to use an uninstalled font for dialog boxes, how to change the font?

    I'm running Redhat and I just upgraded firefox from 3.0 to 17. Webpages display correctly, but the menu options and dialog boxes are empty boxes. I need to either install the font it's looking for, in which case I need to know what font it's trying to use, or tell it to use a different font. I can't read the preferences menu, either. My older version displays just fine; is there a preferences file I can copy to the new directory to fix it?

    This is what the preferences menu looks like. I have tried selected various fonts that I can read, but it doesn't change what's used in the menus.

  • I started using Firefox4Betas cant read the tect when i print it out

    I have started using Firefox 4 Betas and i cant read the on the web sites when i print it out.

    1. There's a print-related Bug in 4.0b12 that was fixed on Monday in the Nightly's. The fix will be in the 4.0RC version in about a week and a half.
    2. Using the same Profile for both 3.6.14 and 4.0beta can cause problems. Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Even with "Allow pages to use their own fonts" enabled, firefox sill dictates fonts on some sites. WTF.

    I built my website to show some work I did, everything was fine in firefox 3.6 but i upgraded today and now the font styles i wrote into the page are being overridden somehow.
    Yes, i checked allow pages to use their own fonts.

    That should work unless the specified font is missing or corrupted and in that case you need to (re)install that font.

  • 17" Small Fonts?

    So i posted earlier about whether or not to go with a 17" or 15" Macbook Pro and i am still undecided. So far i love the larger display of the 17" but i like the convenience and portability of the 15". It seems that the 17" would be a hassle to lug around seeing as i am in college from class to class, not to mention it take sup more space. But it does have an 8hr battery life with 1000 charges with is impressive, not to mention 2 graphics cards and expandable to 8 GB RAM (which i don't think i will ever need in the near future) which would be awesome for my video editing i will be doing. But i keep hearing about how everything is smaller, fonts are hard to read and ti causes an even more of an eye-strain. For anyone that knows someone who owns a 17" or has one...what should I do? is it worth it? Or should i save my money a go for a 15"? What are the pros/cons of each?

    lugging a 17" around to class, to me, is going to be a pain, esp. if the desks aren't very big or tight seating previals. They are also heavier on your shoulder.
    I did it with a 15" powerbook, one thing I hated with that machine. Overall wasn't too bad, as the PC people always left their machines behind
    the 2.66 or faster unibody 15" will take 8gb ram too & EDU price for extra battery is $119.
    screen res is up to you. I actually don't care for the high res screen myself, but check out a local reseller to see if they have one in stock. even the older high res model will do for the screen test.
    http://www.apple.com/buy/
    lookup a reseller via zip code.

  • Illustrator's font is different for some reason and hard to read, I need to change it so i can read all the tabs and file names. Like file, edit, options, type, select, effects..... swatches, layers.. every tab is in a different font that is hard to read

    Illustrator's tabs are all in a different font that I can read.
    I need to know how to change it so I can get back to a steady workflow.
    For example..
    File, edit, options, type, select,  effects, view, windows, help..... pathfinder, layers, swatches, stroke, and the file name (all the tabs)
    are all in a different font, I don't know how it got changed but now it is different.
    This is a shared computer so someone might have changes it on accident but I'm not sure.

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

Maybe you are looking for

  • Inter-company Sub-contracting

    Dear Experts, I am working on a scenerio where Plant A is sending Components to Plant B. Then In plant B the processing is done on those components and a semifinished material is made. Then the Semifinished Material is recieved back into plant A. I a

  • Actual Cost of Product with Price control "S"

    Dear Gurus, Is there any report available where we can know the Actual Costs of Materials with Price Control "S". In the material master field the actual cost in the "Moving Price Tab" of the material with Price Control "S" is available, but is there

  • Performance crippled with audit_trail=db in 12.1.0.2 CDB/PDB

    Performance tanked as soon as I set audit_trail=db, and all I see in EM Express is buffer busy waits.  Tracked it to object sys.aud$ with 100% of buffer busy waits.  I have been using Oracle auditing for years and never see this type of impact.  Anyo

  • Disc won't eject, slipping

    Hi, I'm having problems ejecting any kind of disc from the cube slot. When the eject button is pushed you can hear it trying to push the CD/DVD out but it just comes up far enough to see it but not enough to grab it and pull it out all the way. Any s

  • Coldfusion 8 Developers Edition not showing fckEditor.

    I just installed coldfusion8 developers edition on windows vista ultimate. I also have the fckeditor installed correctly on a local site. I know it is correct, since the same code runs on a production server as expected. When I look at a site locally