support of non XHTML tags as ">" operands
[fedora-idea.git] / resources-en / src / tips / SmartTypeAnonymous.html
blob4c5c405df9fa7fd38c110207f74d35c1c08dd365
1 <html>
2 <body style="font-family: Verdana; font-size: 13;" LEFTMARGIN="25" TOPMARGIN="25">
3 <table cellpadding="15" width="98%" border="0">
4 <tr>
5 <td>It's very easy to generate the whole anonymous implementation of some interface, for example, of some listener,
6 by using the SmartType code completion. For example, you may type
7 <pre>
8 Component component;
9 component.addMouseListener(
10 <font style="font-family: Verdana; font-weight:bold;" size="3" color="#000080">new</font>&nbsp;<font style="font-family: Verdana; font-weight:bold;" size="3" color="#005555"><i>&lt;caret is here&gt;</i></font>&nbsp;
12 </pre>
13 and press &shortcut:SmartTypeCompletion; to see what happens.
15 </td></tr></table></body>
16 </html>