Bug#399833: libgcj8: JLabel.setCursor does not work
Package: libgcj8
Version: 4.2-20060923-1
Severity: normal
Hi,
The following code does not change the cursor on the JLabel (when the
mouse is over the JLabel), as it should:
import javax.swing.*;
import java.awt.*;
public class Swing{
public static void main (String[] args){
JFrame frame = new JFrame ("Premier programme Swing");
JLabel l = new JLabel ("Bonjour le monde !");
l.setCursor (new Cursor (Cursor.WAIT_CURSOR));
frame.getContentPane().add (l);
frame.setSize (200, 200);
frame.setVisible (true);
}
}
Tested with:
$ gcj-4.2 -O2 -Wall Swing.java --main=Swing
I am not sure if it's libgcj8 and not libgcj7 which is used, because I
have both of them installed on my system.
Friendly,
Eugen Dedu
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libgcj8 depends on:
ii gcj-4.2-base 4.2-20060923-1 The GNU Compiler Collection (gcj b
ii libasound2 1.0.13-1 ALSA library
ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries
ii libgcc1 1:4.2-20060923-1 GCC support library
ii libgcj-common 1:4.1.1-19 Java runtime library (common files
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages libgcj8 recommends:
ii libgcj8-jar 4.2-20061003-1 Java runtime library for use with
-- no debconf information
Reply to: