summaryrefslogtreecommitdiff
path: root/recipes/logic-analyzer/files/scrolling-capture-dialog.patch
blob: 91e9ce0766582f3acda850f8d6e203522a2a97c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: LogicAnalyzer/client/org/sump/analyzer/DeviceController.java
===================================================================
--- LogicAnalyzer.orig/client/org/sump/analyzer/DeviceController.java	2008-02-11 23:34:01.000000000 +0100
+++ LogicAnalyzer/client/org/sump/analyzer/DeviceController.java	2008-02-11 23:35:17.000000000 +0100
@@ -43,6 +43,7 @@
 import javax.swing.JProgressBar;
 import javax.swing.JTabbedPane;
 import javax.swing.JTextField;
+import javax.swing.JScrollPane;
 import javax.swing.Timer;
 
 import org.sump.util.Properties;
@@ -312,7 +313,7 @@
 		// if no valid dialog exists, create one
 		if (dialog == null) {
 			dialog = new JDialog(frame, "Capture", true);
-			dialog.getContentPane().add(this);
+			dialog.getContentPane().add(new JScrollPane(this));
 			dialog.setResizable(false);
 			dialog.setSize(this.getPreferredSize());
 			// dialog.pack();