Results 1 to 9 of 9
  1. #1
    banhbaochay is offline Member
    Join Date
    Apr 2010
    Posts
    32
    Rep Power
    0

    Default Set default component's font

    Hello,
    I'm using Netbeans 6.8. When I use a component as button, textfield, combobox... its font is "Dialog". Then I must change its font in its properties each other. It's bored! My problem is: how to set default component's font? I want to set font of all components are "Times New Roman"
    Thanks for reading,

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  3. #3
    banhbaochay is offline Member
    Join Date
    Apr 2010
    Posts
    32
    Rep Power
    0

    Default

    Thanks Eranga, but I can't download it :(. Can you help me?

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Ooops, seems that the download URL is no longer working. Did you search on Google. You may find mirror downloads. If you are a registered user in NetBeans send a mail to support, they'll help you. If I found any URL, will send it here.

  5. #5
    banhbaochay is offline Member
    Join Date
    Apr 2010
    Posts
    32
    Rep Power
    0

    Default

    Hi Eranga,
    I've read the properties of this plugin, it only work with Netbeans 6.0, 5.5 and 5.0, not support to 6.8. :(

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Hmmm, sorry about that. I've never use that. As I said I couldn't find a direct way, because I've searching the same few years back. I just drop it later, change font only if necessary.

    Didn't you try to change editor font? Silly effort, but nice to give a try.

  7. #7
    banhbaochay is offline Member
    Join Date
    Apr 2010
    Posts
    32
    Rep Power
    0

    Default

    Oh, what a pity! :( Because font Dialog not support full Unicode font, so I try change component's font. Editor font is not relative with component's font.
    Thank you Eranga :)

  8. #8
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,233
    Rep Power
    6

    Default

    You could change the UIManager Defaults.

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by banhbaochay View Post
    Oh, what a pity! :( Because font Dialog not support full Unicode font, so I try change component's font. Editor font is not relative with component's font.
    Thank you Eranga :)
    Hmmm, never mind. Seems this is a good option to include with next version. :p

Similar Threads

  1. Font.PLAIN - won't set font style to PLAIN!
    By Unsub in forum New To Java
    Replies: 3
    Last Post: 03-11-2010, 12:13 PM
  2. Replies: 5
    Last Post: 04-25-2009, 08:00 PM
  3. Replies: 1
    Last Post: 03-10-2009, 01:12 PM
  4. How to change The Font
    By kader in forum New To Java
    Replies: 2
    Last Post: 09-15-2008, 04:09 AM
  5. Swing - Changing component default font
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-11-2008, 10:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •