Hi, I have a JDialog with a customized look and feel. I have set the title of the titlebar using: dialog.setTitle("My Dialog"); I want to set the font size of "My" as 10 and font size of "Dialog" as 8. How can I achieve this? Is this do-able or I am thinking crazy. I tried using UIManager.put method. But it sets the font size globally. Please help. Riddhi.
Title bars and their look and feels are under the control of the underlying windowing system, not of Java. Because I'm not aware that Windows, X/Windows, or Max OS X supports this, it's not surprising that there's no Java API for it either.