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

Jiri Vanek jvanek at redhat.com
Wed May 21 14:56:01 UTC 2014


On 05/16/2014 09:43 AM, helpcrypto helpcrypto wrote:
> 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?
>
>


Yes this sounds like a bug. But From desciption is not clear wheter it is IcedTea-Web or Openjdk.

It is worthy to try openjdk 6 / 7 / 8 snd proprietary plugin and Proprietary JDK 7/8 and icedtea-web to eliminate dead branches.

And hence you see it in Jdialog I suspect OpenJDK itself. Not Icedtea web.

Was the window manager always the same?

Are you able to prepare minimalistic reproducer? ( I guess main class with few lines of jdialog setup). ?

Then we can try on various JDKS for you.

J.


More information about the distro-pkg-dev mailing list