The <code> element is one of the phrase elements for
adding structural information to text fragments. In the case of
code, it designates a fragment of computer code.
<code>
public Frame getFrame() {
for (Container c = this; c != null; c=c.getParent()) {
if (c instanceof Frame) {
return (Frame)c;
}
}
return null;
}
</code>
|
||