This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
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.