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 workshop: Building HTML 5 Applications With Angular 2
Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.