Parent Directory | Revision Log | Patch
revision 1.36 by rschuster, Wed Jul 13 22:47:56 2005 UTC | revision 1.37 by rabbit78, Thu Jul 14 15:15:15 2005 UTC | |
---|---|---|
# | Line 608 public abstract class AbstractButton ext | Line 608 public abstract class AbstractButton ext |
608 | public String getActionCommand() | public String getActionCommand() |
609 | { | { |
610 | String ac = model.getActionCommand(); | String ac = model.getActionCommand(); |
611 | if (ac != null) | |
612 | return (ac != null ? ac : text); | return ac; |
613 | else if (text != null) | |
614 | return text; | |
615 | else | |
616 | return ""; | |
617 | } | } |
618 | ||
619 | /** | /** |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |