How do you change the font of a JTable's header?

I need to know how to change the font for the header of a JTable, specifically how to make it larger. Any help would be appreciated.

JTableHeader header = table.getTableHeader();
Font font = header.getFont();
header.setFont(font.deriveFont((float) font.getSize() + 10));db

Similar Messages

  • (simple q) how do I change the font in a JTable column header?  thanks

    how do I change the font in a JTable column header?
    thanks

    JTableHeader header = yourTable.getTableHeader();
    // Set to serif, bold, size 12...
    header.setFont( new java.awt.Font( "serif", 1, 12 ) );
    // you can set others like color and border, too.
    header.setBackground(Color.white);
    header.setBorder( new EmptyBorder(15,2,15,2) );

  • How do you change the font in WPC Link List Header ...

    Does any one know how/where to change the font in Web Page Composer on the Link List Header?  I am using the Link List header delivered with the product. 
    It looks like it is pulling arial font but we are adding content in a different font in the paragraphs and want the fonts to be the same.  Is there something I can change in the theme?
    thanks
    Angie.

    You need to go to the
    Content Adminstration/KM Content/etc/wpceditor/css/runtime  and look in the sdn_general.css file.  The controls are all there.  You can rename or create a new style sheet as this will modify all WPC sites.

  • How do you change the font size?

    This is a rather simple question.
    How do you change the font size in flex builder 2?
    In the preferences for flex>editors there is no option to
    change any font settings.
    i'm sitting quite far away from my LCD and can hardly make
    out the text.

    Window -> Preferences -> General ->Colors and
    fonts

  • How do you change the font of everything?

    How do you change the font of all text?

    You cannot. Only you can adjust the size the default font.
    You can only have font options in Notes.

  • How do you change the font color in CALL-OUT text boxes in PRO XI?

    How do you change the font color in CALL-OUT text boxes in PRO XI?

    It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.

  • How can you change the font size in the application and system headers?

    How can you change the font size in the application and system headers?  I searched the system and finder prefs to no avail.  Changing the screen density is not a good option.
    Thanks

    I downloaded Tinkertool.  Found the font section and increased the size of most selections.  The only thing that changed that I can see is the window label.  The apple line, bookmarks line, the tool bar in safari are all the same---font size of about 4.  Found the finder "show view options" but that didn't seem to change anything either.  I'll keep working.  Restarted all apps after changes as well.

  • HT3529 how do you change the font size on your text messaging on the iphone 4s

    how do you change the font size on your text messaging on the iphone 4s

    Settings > General > Accessibility > Large Text.

  • How do you change the font size in grey area of toolbar?

    How can I change the font on the grey area to make it bigger? I updated to mountain lion and it changed the font.

    Those are hard coded, and cannot be changed as far as I know, without delving into the application itself with a code editor.

  • HT1277 How do you change the "picture" on your e-mail header?

    How do you change the little picture that is on your e-mail header? Pretty basic, but I have no idea.

    You can change this in your listing in AddressBook.
    Bear in mind that the only person who ever sees it is you - it does not transfer to actual email messages.

  • How do you change the font size under the event and iphoto view photos?

    I would like to change the font size in iPhoto under the photos that appear in the Events view and in the Photos view. I was told by a tech at Apple that it cannot be done because it is built into the software. What you see is what you get. That seems unusual because the font size in the Photo view is smaller than that in the Events view. The Font control that exists in File/Edit are for fonts used when you open a photo and add your own captionI and have nothing to do with the various views. Does anyone know a way to do this?   Thanks

    I'm afraid it really is WYSIWYG. It can't be changed.  You can send a feature request to Apple via http://www.apple.com/feedback/iphoto.html.
    OT

  • How do you change the font in multiple text boxes?

    I just started using illustrator and I can't figure this one out.  Maybe someone can point me in the right direction.
    I made a bunch of text boxes using the type tool.  Is there a way I can link the boxes and easily change the font?
    Thanks,
    Justin

    You select the text frames holding dow the shift keys then go to Type>Thread text, I would select the text frames in the order you wan them threaded.
    Then once threaded you click the text tool inside of one of the text strings and do a command A to select all the text and then choose any method of changing the font such as Character Panel, Control Panel or Type>Font menu item.
    you can also look into creating Paragraph styles as well.

  • How do you change the font and size in descriptions in iPhoto?

    When I add a description to a photo in a slide show, it appears in only one font size and one continuous line across the frame.  Is there any way to change the font and size?  Can the description be multiple short lines instead of one long one?

    You can't.  It's hard coded into the application.  You can send a feature request to Apple via http://www.apple.com/feedback/iphoto.html.
    OT

  • How do you change the font in an HTML snippet??

    I found a great snippet to add some scrolling text on a website, but I can't figure out how to change the font of the text that scrolls. Here is the code:
    <MARQUEE bgcolor="white" direction="left" loop="true" width=100%">Introducing the newly published book by Christopher J. Irelan, Ph.D. - the Psychology guy - and Julie L. Ireland, "It's Not Rocket Surgery"</MARQUEE>
    Where is the command for the font??
    Thanks!
    Kim

    Thanks for all the suggestions.
    Wyodoor - what I didn't see in your post was a specified font style. Where could I include that in the code?
    I was able to change the font color and the background color myself, but I don't know where or how to add a specified font style.
    My site is primarily in Trebuchet MS, and this code seems to put the text as Times or something similar.
    Thanks!
    Kim

  • How do you change the font size on a scanned document?

    I scanned a document with very small print and saved to computer in hopes of enlarging font size and cannot understand how to do. Please help.

    Hello, I think you're out of luck with the toolbar, but not on 10.9 to check right now, you can change the minimum font size used in Safari Prefereces for web pages.
    Perhaps Zoom will work for you...
    http://support.apple.com/kb/PH14358

Maybe you are looking for

  • UK Skype Number on iPhone 5s

    Hi, I am doing this for the first time.  I am currently travelling alot and as such need to be contactable on a central number.  I would like that central number to be a UK number from skype where people from the US, UK and the Middle East can call m

  • T60p 2613-H9U No Screen on boot Just weird lines...

    Hey guys, I'm REALLY stumped. I installed a new screen purchesed off eBay almost a year ago. The screen works but for some reason it will not show any of the boot logos or anything until I hit windows login. It shows the "THINKPAD" screen right away

  • How to disable flash recovery area feature?

    Please guide how to disable flash recovery area with commands Thanks, Waheed

  • Is Accuweather discontinued for Sony Ericsson Elm?

    I am very fond of my Elm, that has had all the functions I need, but since some months the app Accuweather has stopped working. It says "Wait while the weather is updated..." endlessly. Has Accuweather stopped sending info to this old Java app or wha

  • Database Design Pattern

    hi all, I am developing a J2SE application which is communicating with two DB schemas. Do any one suggest any good design pattern to manage these type of situation. I was thinking to create two DAO classess for two different DB schemas? I am using or