bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/35924] javax.swing.AbstractAction should only display ico


From: pere at hungry dot com
Subject: [Bug classpath/35924] javax.swing.AbstractAction should only display icon
Date: 20 Apr 2008 15:50:48 -0000


------- Comment #3 from pere at hungry dot com  2008-04-20 15:50 -------
With my patch, the visual behaviour is the same for both GNU Classpath and
Sun Java.  But I noticed that pressing the buttons (first the one with the
icon, then the one with the label), do not result in the same messages:

% jamvm ActionExample
Action [] performed!
Action [Download] performed!
% /usr/lib/jvm/java-1.5.0-sun/jre/bin/java  ActionExample
Action [null] performed!
Action [Download] performed!
%

I guess the problem is that the text is set to the empty string in GNU
Classpath, while it is null in SUN Java.  Not quite sure what the effect
would be if the text is set to null, so I leave that to others to decide.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35924





reply via email to

[Prev in Thread] Current Thread [Next in Thread]