← Back to team overview

openjdk team mailing list archive

Bug#751290: openjdk-7-jre-headless: javax.swing.JDialog has no button to close window

 

Package: openjdk-7-jre-headless
Version: 7u55-2.4.7-2
Severity: normal

Dear Maintainer,

several java applications have dialog windows whose window X button to close
it has disappeared. When the window itself does not have "ok" and "cancel"
buttons, there's no way to close it. Talking with upstream projects, this
seems to be unique to openjdk and cannot be duplicated with Oracle's Java
in Debian.

For an example, please try the following beanshell script which will create
such window:

 jdialog = new javax.swing.JDialog(null, "Hello Swing");
 jdialog.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
 jdialog.setSize(300, 100);
 jdialog.setVisible(true);

There should be an X button on the window somewhere to close it. Apparently
is also not a Gnome problem since another report [1] says that it happened
when upgrading Fedora with Gnome 3.8 to 3.10. I am still using Gnome 3.8
therefore must be OpenJDK.

Unfortunately, my knowledge of java is minimal, and most of this information
was passed on to me from upstream projects whith such windows.

Carnë

[1] https://mail.gnome.org/archives/gnome-list/2014-January/msg00001.html


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500,
'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openjdk-7-jre-headless depends on:
ii  ca-certificates-java  20140324
ii  java-common           0.52
ii  libc6                 2.19-1
ii  libcups2              1.7.2-3
ii  libfontconfig1        2.11.0-5
ii  libfreetype6          2.5.2-1
ii  libgcc1               1:4.9.0-5
ii  libglib2.0-0          2.40.0-3
ii  libjpeg8              8d-2
ii  libkrb5-3             1.12.1+dfsg-1
ii  liblcms2-2            2.6-1
ii  libnss3               2:3.16-1
ii  libpcsclite1          1.8.11-3
ii  libstdc++6            4.9.0-5
ii  multiarch-support     2.19-1
ii  tzdata-java           2014d-1
ii  zlib1g                1:1.2.8.dfsg-1

Versions of packages openjdk-7-jre-headless recommends:
ii  icedtea-7-jre-jamvm  7u55-2.4.7-2

Versions of packages openjdk-7-jre-headless suggests:
ii  fonts-dejavu-extra                 2.34-1
pn  fonts-indic                        <none>
pn  fonts-ipafont-gothic               <none>
pn  fonts-ipafont-mincho               <none>
ii  libnss-mdns                        0.10-6
pn  sun-java6-fonts                    <none>
pn  ttf-wqy-microhei | ttf-wqy-zenhei  <none>

-- no debconf information