From a8dda23889d7c48a8b3313e2a141ed378bf8ff1c Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Mon, 19 May 2003 14:30:59 +0000 Subject: [PATCH] *** empty log message *** --- MooDialog.java | 2 +- MooNoteElement.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.39.2