From 892e65740dd2600c0f9eb5bd9c0984ab206fc248 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Tue, 13 May 2003 17:30:28 +0000 Subject: [PATCH] stuff --- MooGUI.java | 3 ++- MooTrackTitle.java | 1 + MooView.java | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MooGUI.java b/MooGUI.java index 065267e..16709f5 100644 --- a/MooGUI.java +++ b/MooGUI.java @@ -25,6 +25,7 @@ public class MooGUI extends JFrame { public MooGUI(Sequence seq) { super("Moosique"); + this.seq = seq; Container pane = getContentPane(); @@ -124,4 +125,4 @@ public class MooGUI extends JFrame { Moosique.quit(); } } -} \ No newline at end of file +} diff --git a/MooTrackTitle.java b/MooTrackTitle.java index a17c071..cc17d17 100644 --- a/MooTrackTitle.java +++ b/MooTrackTitle.java @@ -28,6 +28,7 @@ public class MooTrackTitle extends JPanel { * Creates the title bar. */ public MooTrackTitle (Track aTrack, int aTrackNum) { + setDoubleBuffered(true); track = aTrack; this.trackNum = aTrackNum; diff --git a/MooView.java b/MooView.java index a5ceea4..146738d 100644 --- a/MooView.java +++ b/MooView.java @@ -37,6 +37,7 @@ public class MooView extends JScrollPane { * @param tracks the tracks for which to add views */ public void setTracks(Track[] tracks) { + setDoubleBuffered(true); numberOfTracks = tracks.length; trackPanel.removeAll(); titlePanel.removeAll(); -- 2.39.2