![]() ![]() ![]() SwingUtilities.invokeLater(new Runnable()įtDefaultCloseOperation(JFrame. Public static void main(String args) throws Exception This bug has apparently already been fixed in Java 9 generates correct results in a Java 9 EA release. Reason enough to blog about it and to share my thoughts. Java faultlaf=.NimbusLookAndFeel bug6670274 I recently started using the look and feel library BizLaf of Centigrade GmbH (Germany) and I have come to the conclusion that, after 13 years of programming Swing UIs, this is by far the best look and feel library for Java that I have ever used. Java faultlaf=.MetalLookAndFeel bug6670274 Other look and feels generate correct results: The title "three" has been pushed off the end. Instead of the expected result, you see this:ġ = "Two" (as raw text, not HTML-formatted) The attached program (copied from: ) creates three tabs initially: Run the attached program on a Mac with the Aqua look and feel: STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Only with the Mac OS X Aqua look and feel (), when JTabbedPane setTitleAt(index,title) replaces an HTML-formatted title, all previously existing titles are incorrectly pushed over. Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |