[Bug 1798] New: Pack and repaint doesnt seem to work properly
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Wed May 28 12:56:47 UTC 2014
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1798
Bug ID: 1798
Summary: Pack and repaint doesnt seem to work properly
Product: IcedTea
Version: unspecified
Hardware: 32-bit
OS: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: helpcrypto at gmail.com
CC: unassigned at icedtea.classpath.org
Created attachment 1086
--> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1086&action=edit
test case
Hi.
Maybe I'm doing something wrong, so -please- excuse any mistake.
We have an applet (JDialog) which contains a JPanel (Borderlayout) on center.
This JPanel (Borderlayout) contains a label (again on center) with a text that
changes according to some operations.
We want the dialog be resized to the text size (plus margins/borders).
In other words: we want an autosize.
I have attached a testcase (not an applet) which also seems to fail.
What should happen:
Each time I click on foo/bar buttons, the dialog should be resized to fit the
contents
What happens:
The dialog doesnt resize to fit contents.
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK Client VM (build 24.51-b03, mixed mode, sharing)
Dont hesitate to contact me if you need more info.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140528/c3c19d18/attachment.html>
More information about the distro-pkg-dev
mailing list