Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9258717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:28:41+00:00 2026-06-18T12:28:41+00:00

I am using Nimbus look and feel in my Swing project. Its displaying the

  • 0

I am using Nimbus look and feel in my Swing project.

Its displaying the excellent look in the project but JEditorPane is not displaying the proper font format when applying Nimbus look and feel

So is it possible to have multiple look and feels for single application? By default the project takes the look and feel applied on the main screen. Can it change the look and feel in between the project execution ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:28:43+00:00Added an answer on June 18, 2026 at 12:28 pm

    What you suggest is technically possible, but the approach is fragile for any but the most well-encapsualted default used by a well-behaved UI delegate implementation. In this example, a borrowed JTree icon is shown. For your application, the relevant key is “EditorPane.font”. If you change it, some things to keep in mind:

    • Prefer a logical font family to a physical font, e.g. Font.SANS_SERIF or Font. DIALOG.

    • Consider using the deriveFont() method to alter the existing default.

    • Test extensively on your target platform(s).

    • Consider an alternate approach, where possible.

    image

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For my current project, i'm using Swing and the Nimbus look and feel. The
I'm using Nimbus Look and Feel, with only 3 changes at its colors: UIManager.put(nimbusSelection,
I am using Nimbus Look and feel. I needs to change the Background color
i have a Swing app and i want to run it with Nimbus look'n'feel
hello i am using the nimbus look-and-feel and have a tabbedpane with an icon
I get a Nullpointerexception at addPropertyChangeListener when I am using Nimbus Look and Feel.
In a Swing-based Java application using Nimbus LookAndFeel I try to set the background
While using the Nimbus L&F feel in Java, I am having problems with changing
Using getDefinitionByName I am consistently getting the error saying it is not defined (as
I am using Netbeans 7.3 Beta 2 GUI builder. Coding a Swing GUI and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.