// Updates the GUI with the current tick position.
gui.update(sequencer.getTickPosition());
// Puts the thread to sleep for as long as it takes
// the sequencer to reach the next sixteenth.
try {
// Updates the GUI with the current tick position.
gui.update(sequencer.getTickPosition());
// Puts the thread to sleep for as long as it takes
// the sequencer to reach the next sixteenth.
try {