From 72e5a0e7f6191cb17cb45c688d892218f4b6b342 Mon Sep 17 00:00:00 2001 From: Chrriis Date: Sat, 5 May 2012 09:44:43 +0200 Subject: [PATCH] [#1177] Add SQL Console module to jOOQ - label to explain the OR nature of filters. --- .../org/jooq/debug/console/StatementMatchersDialogBox.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jOOQ-console/src/main/java/org/jooq/debug/console/StatementMatchersDialogBox.java b/jOOQ-console/src/main/java/org/jooq/debug/console/StatementMatchersDialogBox.java index 4083af6973..b1697b0025 100644 --- a/jOOQ-console/src/main/java/org/jooq/debug/console/StatementMatchersDialogBox.java +++ b/jOOQ-console/src/main/java/org/jooq/debug/console/StatementMatchersDialogBox.java @@ -46,6 +46,7 @@ import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JDialog; +import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.SwingUtilities; @@ -59,6 +60,10 @@ public class StatementMatchersDialogBox extends JDialog { super(SwingUtilities.getWindowAncestor(parent), "Statement filters", ModalityType.DOCUMENT_MODAL); setDefaultCloseOperation(DISPOSE_ON_CLOSE); Container contentPane = getContentPane(); + JPanel northPane = new JPanel(new BorderLayout()); + northPane.setBorder(BorderFactory.createEmptyBorder(2, 2, 0, 2)); + northPane.add(new JLabel("Log statements matching any of these filters:"), BorderLayout.WEST); + contentPane.add(northPane, BorderLayout.NORTH); final StatementMatchersPane statementMatchersPane = new StatementMatchersPane(debugger.getLoggingStatementMatchers()); statementMatchersPane.setBorder(BorderFactory.createEmptyBorder(2, 2, 0, 2)); contentPane.add(statementMatchersPane, BorderLayout.CENTER);