// If the element is currently in the view, removes its coordinates from the list.
Rectangle r = new Rectangle();
if (old){
// If the element is currently in the view, removes its coordinates from the list.
Rectangle r = new Rectangle();
if (old){
public void actionPerformed(ActionEvent e) {
Object source = e.getSource();
if (source == popupAdd) {
public void actionPerformed(ActionEvent e) {
Object source = e.getSource();
if (source == popupAdd) {
// int channel, int pitch, int velocity, long timestamp, int duration
// int channel, int pitch, int velocity, long timestamp, int duration