PostgreSQL Sequences

Sequence objects (also called sequence generators or just sequences) are special single-row tables created with CREATE SEQUENCE. Sequential fields in tables are linked to sequence objects, so you can insert integers into these fields manually, or leave it up to the sequence object to create the next integer for you.... [Read More]
Tags: postgresql

Java - Drag and Drop

If, for example you want an application to support the dragging of files from a file list to your component, and your component to open those files, use the following code: [Read More]
Tags: java

Java - Undo / Redo functionality

Undo / Redo functionality can be added to document classes in the javax.swing.text package very easily. All you need to do is add a listener for changes, and use a UndoManager to alter those changes. [Read More]
Tags: java