Painting issues with "autosize". My fault? Your fault?

helpcrypto helpcrypto helpcrypto at gmail.com
Fri May 16 07:43:00 UTC 2014


Hi.


Before filling a bug, I would like to ask if I'm doing it properly.

Consider the following scenario:
 -Dialog+BorderLayout+center JPanel with JLabel

In runtime I modify the label from "" to "<html>lorem ipsum...</html>" (The
lorem ipsum part are several paragraphs)
And do pack() and repaint().

*The objective is to automatically resize the dialog depending on panels
contents*


Using ORACLE JRE the dialog is redrawn to fit the content, but this is not
happening on icedtea-web, so part of the text is hidden under north, south,
east and west panels.

Did I explained myself properly?
Should I file a bug and attach a test case or I must do it another way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140516/f6061f22/attachment.html>


More information about the distro-pkg-dev mailing list