From: Michael Andreen Date: Mon, 19 May 2003 14:30:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=commitdiff_plain;h=a8dda23889d7c48a8b3313e2a141ed378bf8ff1c *** empty log message *** --- diff --git a/MooDialog.java b/MooDialog.java index 7038c90..860b91e 100644 --- a/MooDialog.java +++ b/MooDialog.java @@ -469,7 +469,7 @@ public class MooDialog extends JDialog { * @param mn the note that will be graphically represented */ public MooDialog(MooNote mn) { - super(Moosique.getGUI(), "Note properties", false); + super(Moosique.getGUI(), "Note properties", true); JPanel panel = new JPanel(); panel.setLayout(new GridLayout(3,2)); note = mn; diff --git a/MooNoteElement.java b/MooNoteElement.java index 1c6dadf..9ed1ab9 100644 --- a/MooNoteElement.java +++ b/MooNoteElement.java @@ -250,7 +250,9 @@ public class MooNoteElement extends JPanel { public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == popupProp) { + System.out.println("Duration: " + note.getDuration()); new MooDialog(note); + System.out.println("Duration: " + note.getDuration()); newLayout(); repaint(); } else if (source == popupRemove) {