Bug#452038: kaffe-common: setState on a CheckboxMenuItem triggers an ItemEvent
Mark Longair
mark-debian at longair.net
Tue Nov 20 00:14:54 UTC 2007
Package: kaffe-common
Version: 2:1.1.8-3
Severity: normal
Calling setState on a CheckboxMenuItem (with the GTK awt peer) causes
an ItemEvent to be triggered, although Sun's documentation says that
this should not happen:
"Note that this method should be primarily used to initialize the
state of the check box menu item. Programmatically setting the state
of the check box menu item will not trigger an ItemEvent. The only
way to trigger an ItemEvent is by user interaction."
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/CheckboxMenuItem.html#setState(boolean)
many thanks,
mark
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kaffe-common depends on:
ii java-common 0.26 Base of all Java packages
kaffe-common recommends no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list