303 |
/** |
/** |
304 |
* The timer that lets the caret blink. |
* The timer that lets the caret blink. |
305 |
*/ |
*/ |
306 |
private class CaretBlinkTimer |
private class CaretBlinkTimer extends Timer implements ActionListener |
|
extends Timer |
|
|
implements ActionListener |
|
307 |
{ |
{ |
308 |
/** |
/** |
309 |
* Creates a new CaretBlinkTimer object with a default delay of 1 second. |
* Creates a new CaretBlinkTimer object with a default delay of 1 second. |
602 |
} |
} |
603 |
} |
} |
604 |
|
|
605 |
class DefaultTransferHandler |
class DefaultTransferHandler extends TransferHandler |
|
extends TransferHandler |
|
606 |
{ |
{ |
607 |
public boolean canImport(JComponent component, DataFlavor[] flavors) |
public boolean canImport(JComponent component, DataFlavor[] flavors) |
608 |
{ |
{ |
1102 |
*/ |
*/ |
1103 |
protected String paramString() |
protected String paramString() |
1104 |
{ |
{ |
1105 |
return "JTextComponent"; |
// TODO: Do something useful here. |
1106 |
|
return super.paramString(); |
1107 |
} |
} |
1108 |
|
|
1109 |
/** |
/** |