Build the db modules against swingx1 and using the packaged javacc.

Index: netbeans/db.dataview/src/org/netbeans/modules/db/dataview/table/ResultSetJXTable.java
===================================================================
--- netbeans.orig/db.dataview/src/org/netbeans/modules/db/dataview/table/ResultSetJXTable.java	2011-09-10 11:21:52.311695694 +0100
+++ netbeans/db.dataview/src/org/netbeans/modules/db/dataview/table/ResultSetJXTable.java	2011-09-10 11:23:22.239194373 +0100
@@ -70,6 +70,7 @@
 import org.jdesktop.swingx.renderer.CheckBoxProvider;
 import org.jdesktop.swingx.renderer.FormatStringValue;
 import org.jdesktop.swingx.renderer.JRendererCheckBox;
+import org.jdesktop.swingx.renderer.StringValues;
 import org.jdesktop.swingx.table.DatePickerCellEditor;
 import org.netbeans.modules.db.dataview.meta.DBColumn;
 import org.netbeans.modules.db.dataview.output.DataView;
@@ -141,9 +142,9 @@
     protected void setDefaultCellRenderers() {
         setDefaultRenderer(Object.class, new ResultSetCellRenderer());
         setDefaultRenderer(String.class, new ResultSetCellRenderer());
-        setDefaultRenderer(Number.class, new ResultSetCellRenderer(FormatStringValue.NUMBER_TO_STRING, JLabel.RIGHT));
+        setDefaultRenderer(Number.class, new ResultSetCellRenderer(StringValues.NUMBER_TO_STRING, JLabel.RIGHT));
         setDefaultRenderer(Boolean.class, new ResultSetCellRenderer(new CheckBoxProvider()));
-        setDefaultRenderer(java.sql.Date.class, new ResultSetCellRenderer(FormatStringValue.DATE_TO_STRING));
+        setDefaultRenderer(java.sql.Date.class, new ResultSetCellRenderer(StringValues.DATE_TO_STRING));
         setDefaultRenderer(java.sql.Time.class, new ResultSetCellRenderer(ResultSetCellRenderer.TIME_TO_STRING));
         setDefaultRenderer(java.sql.Timestamp.class, new ResultSetCellRenderer(ResultSetCellRenderer.DATETIME_TO_STRING));
         setDefaultRenderer(java.util.Date.class, new ResultSetCellRenderer(ResultSetCellRenderer.DATETIME_TO_STRING));
Index: netbeans/db.sql.visualeditor/build.xml
===================================================================
--- netbeans.orig/db.sql.visualeditor/build.xml	2011-09-10 11:29:36.230029068 +0100
+++ netbeans/db.sql.visualeditor/build.xml	2011-09-10 11:31:49.299196227 +0100
@@ -16,9 +16,9 @@
 
     <target name="sql">
       <mkdir dir="build"/>
-      <copy file="external/javacc-3.2.jar" tofile="build/javacc.jar"/>
+<!--      <copy file="external/javacc-3.2.jar" tofile="build/javacc.jar"/>-->
       <javacc target="src/org/netbeans/modules/db/sql/visualeditor/parser/SQLParser.jj"
-	   javacchome="build">
+	   javacchome="/usr/share/java/">
       </javacc>
     </target>
 
