From 9a5744657866150cbaf433bd3b32253fe26421ea Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Mon, 11 Feb 2008 23:14:34 +0000 Subject: logic-analyzer: Small fixes. - added java2-runtime RDEPENDS - added classpath-awt RDEPENDS - added patch to make capture dialog scrollable (for small screens) --- .../files/scrolling-capture-dialog.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/logic-analyzer/files/scrolling-capture-dialog.patch (limited to 'packages/logic-analyzer/files') diff --git a/packages/logic-analyzer/files/scrolling-capture-dialog.patch b/packages/logic-analyzer/files/scrolling-capture-dialog.patch new file mode 100644 index 0000000000..91e9ce0766 --- /dev/null +++ b/packages/logic-analyzer/files/scrolling-capture-dialog.patch @@ -0,0 +1,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(); -- cgit v1.2.3