Parent Directory | Revision Log | Patch
revision 1.29 by rabbit78, Fri Jun 3 09:59:12 2005 UTC | revision 1.30 by rabbit78, Fri Jun 3 11:55:28 2005 UTC | |
---|---|---|
# | Line 1128 public class SwingUtilities | Line 1128 public class SwingUtilities |
1128 | component.setActionMap(uiActionMap); | component.setActionMap(uiActionMap); |
1129 | else | else |
1130 | { | { |
1131 | while(child.getParent() != null | ActionMap parent = child.getParent(); |
1132 | && (child.getParent() instanceof ActionMapUIResource)) | while(parent != null) |
1133 | child = child.getParent(); | { |
1134 | child = parent; | |
1135 | parent = child.getParent(); | |
1136 | } | |
1137 | ||
1138 | if (child != null) | if (child != null) |
1139 | child.setParent(uiActionMap); | child.setParent(uiActionMap); |
1140 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |