Thursday August 17, 2006 I saw this article on The Inquirer about the updates to our x86 line, but I had to read this sentence in the last paragraph a couple of times to make sure I wasn't seeing things:
How times have changed indeed...
Posted by alanbur
( Aug 17 2006, 12:58:02 PM BST )
Permalink
Comments [0]
Friday August 11, 2006
I was trying to lay out a dialog that used the Matisse layout manager and included some JLabels that used HTML tags to format the content. Although it looked fine in the NetBeans GUI designer, previewing the dialog showed that the content at the bottom of the dialog had disappeared because the dialog wasn't being made large enough. After a lot of fiddling around, it turns out that this is because Matisse can't determine the size of the JLabel properly if the text in it wraps over more than one line. The workaround is simple - insert <br> tags at the points at which the text wraps onto a new line, then the size of the JLabels can be determined correctly.
Posted by alanbur
( Aug 11 2006, 03:20:01 PM BST )
Permalink
Comments [2]