NetBeans comes with a clipboard history built-in. The key combination
shift+command+d (Mac) opens an inline dialog and allows you to pick a previously copied element. You can copy multiple elements and choose one from the stack later.
This approach speeds up considerably the efficient copy-paste based reuse :-).
See you at Java EE Workshops at MUC Airport!
NEW online workshop: Web Components training (online)