[RFC] netx: stop using Look and Feel related methods (PR372)
Omair Majid
omajid at redhat.com
Tue Jul 6 08:28:50 PDT 2010
Hi,
Netx (incorrectly) uses Look and Feel related hooks and methods to
create the security-related dialogs it shows to the user [1]. While most
of the time it has no consequences, a few JNLP applications that modify
the Look and Feel demonstrate incorrect behaviour [2]. The attached
patch uses the standard Swing methods to create and display GUIs. It is
a somewhat large patch, even though most of it is fairly mundane -
creating JDialogs, setting a JPanel in the center depending on the type
of dialog and then adding the appropriate controls to the JPanel. I have
tried to avoid changing anything that goes inside the JPanel - it should
behave exactly as before. I have done some testing and it seems to work
just as well as before, but I would appreciate it if others could look
it over and try it out too.
Cheers,
Omair
[1] http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=372
[2] https://substance.dev.java.net/webstart/test.jnlp
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: icedtea6-jnlp-no-using-look-and-feel-for-functionality.patch
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100706/eeed74fa/icedtea6-jnlp-no-using-look-and-feel-for-functionality.patch
More information about the distro-pkg-dev
mailing list