JTable row color based on a certain value
Can anyone please show some code on how
I can change the background color of an entire
row based on a string value from the first column ?
Every time that the first column contains the
string "TOTAL", I want the entire row to have
another background color.
Thanks a lot
Override getTableCellRendererComponent in Table celll renderer.
public class MyTableCellRenderer extends DefaultTableCellRenderer
public MyTableCellRenderer()
super();
public Component getTableCellRendererComponent(JTable table, Object value,
boolean isSelected, boolean hasFocus, int row, int column)
Component comp = super.getTableCellRendererComponent(table, value, isSelected,
hasFocus, row, column);
((JLabel)comp).setOpaque(true);
if(value.equals("TOTAL")
comp.setBackGround(color);
else
set whatever the default background color
Similar Messages
-
Change the row colors based on column values in MOSS 2007.
Hi Team,
I am using MOSS 2007 environment. In that I am having one SharePoint list. In that list based on column values rows colors need to change.
Kindly help me anyone on this.
Thanks,
AshokHi Ashok,
Please follow the below link:
http://www.contentmaster.com/sharepoint-2010/conditional-formatting-of-list-views-for-sharepoint-2010-changing-the-font-colour/
http://sharepoint.stackexchange.com/questions/7478/highlight-row-color-based-on-field-values-in-sharepoint-2010-list-view
Best Regards,
Brij K -
Changing JTable Row Color OnMouseOver
Hello everybody,
is it possible to change JTable Row Color when Mouse passes over it ??
THanks!Yes...
You have to override the table cell renderer and set the color of the rows based on flag.
The flag can be turned on/off in a mouse motion listener of the table. -
Making a jtable row noneditable based on a value in a certain cell.
I have a jTable (based on a database table) and one of the columns is OWNER. Is there a way to make an entire row noneditable based on the value in the OWNER column of the currently selected row?
Here is the listener code that I have on the jTable. I want to be able to make the entire row noneditable if the value (of the currently selected row) of the OWNER column is "SYSTEM". If it is anything other than "SYSTEM" then the user would be able to change the values on the row.
I can't override the isCellEditable method, because I only want the rows with the value of "SYSTEM" in the OWNER column to be noneditable.
jTable2.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
ListSelectionModel rowSM = jTable2.getSelectionModel();
rowSM.addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent e) {
if (e.getValueIsAdjusting()) return;
ListSelectionModel lsm = (ListSelectionModel)e.getSource();
if (lsm.isSelectionEmpty()) {
//no rows are selected
} else {
int selectedRow = lsm.getMinSelectionIndex();
if (jTable2.getValueAt(selectedRow, 1).equals("SYSTEM"))
System.out.println("Selected Row: " + selectedRow);
System.out.println("Owner Value: " + jTable2.getValueAt(selectedRow, 1));
//Make all cells in this row non-updateable???
//Need code to make the currently selected row noneditable
disableRetailerAddToList();
} else
enableRetailerAddToList();
Any direction for this problem would be greatly appreciated.I've resolved it with some help by using the following:
NOT ([<plCall_Back_Required_ITAG>]=LookupValue("OCC_CUST_LOV_SR_3", "Yes") AND [<stCall_Back_Number_ITAG>] IS NULL) -
ALV rows coloring based on condition
Hai ,
I want Color the rows in the list based on some condition ..
Hope to get the helpful suggestion s on this asap
regards,Hi shishupalreddy,
1. Not only the full row color,
we can also manipulate the color in each cell,
based upon conditions.
2.
IMPORTANT THINGS
a. Extra field in internal table
clr TYPE slis_t_specialcol_alv,
(this field will contain the colour codes)
b. assign fieldname to alv layout
alvly-coltab_fieldname = 'CLR'
c. work area for colour
DATA : clrwa TYPE slis_specialcol_alv.
d. Populating the color
Once again
Loop at ITAB.
*********logic
if itab-field < 0 "---negative
clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
clrwa-color-col = 6. <------- COLOUR 0-9
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP.
5. just copy paste in new program
6.
REPORT abc .
NECESSARY / MUST
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
ITAB DECLARATION
DATA : prg TYPE sy-repid.
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : clname(3) TYPE c,
clr TYPE slis_t_specialcol_alv,
END OF itab.
DATA : clrwa TYPE slis_specialcol_alv.
PARAMETERS : a TYPE c.
DATA : flname TYPE slis_fieldname.
SELECT
START-OF-SELECTION.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE itab..
LOOP AT itab..
IF SY-TABIX <= 5.
itab-clname = 'C50'.
ELSE.
itab-clname = 'C30'.
ENDIF.
MODIFY itab.
ENDLOOP.
LOOP AT ITAB.
check itab-bukrs = '1000'
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 4.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
ENDLOOP.
prg = sy-repid.
flname = 'CLNAME'.
alvly-info_fieldname = 'CLNAME'.
alvly-coltab_fieldname = 'CLR'.
LOOP AT ITAB.
if sy-tabix = 3.
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 1.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = prg
i_internal_tabname = 'ITAB'
i_inclname = prg
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
minimum
*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2
extra
sy-uname = 'XYZAB'.
prg = sy-repid.
Excluding
DATA : excl TYPE slis_t_extab.
DATA : exclwa TYPE slis_extab.
exclwa = '&OUP'.
APPEND exclwa TO excl.
exclwa = '&ODN'.
APPEND exclwa TO excl.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid
is_layout = alvly
i_callback_user_command = 'ITAB_USER_COMMAND'
it_excluding =
excl
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form itab_user_command
text
-->WHATCOMM text
-->WHATROW text
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
BREAK-POINT.
ENDFORM. "itab_user_command
regards,
amit m. -
Setting JTable Background Row Color based on cell Value
I am new to Java and JDeveloper (so bear with me). I have managed to create a Swing form using BC4J (Jdev 10g preview) which contains a scrollpane with a view object represented as a table. I would like to be able to color the rows that are displayed within the table differently depending on the value of a cell/column within the row. Its not obvious to me from the property inspector how to do this - I assume it is possible as all the other bells and whistles appear to be in place.
Thanks in advance
SimonSimon,
in Swing this is not done through properties but a custom cell renderer. You can check the Swing tutorial on http://java.sun.com for how to modify the default behavior of a JTable component. A very good book to learn Swing is "Java Swing" from O'Reilly (ISBN 0-596-00408-7).
ADF JClient uses Swing components and therefore everything you can do in Swing you can do with JClient.
Frank -
Hi all
I have a nextensio list on a page.
is there a way to change the background color of a whore row based on
a specific field content?
example I have a field containing the values 0 or 1.
If the field content is 1 the row background color should be RED.
ANy suggestion?
TIA in advance.
tonyDataBoundAPI's you can refer to achieve this.
Search for OLD threads also. Here are some links:
Can we colour the rows in the column of a table
Advanced table row font color- result based change.
Thanks
--Anil
http://oracleanil.blogspot.com/ -
Hi there. 1st, thanks for taking time to read this and hopefully help.
I have been given this website to work on an its pretty much done in java. Unfortunately I know very little about Java. Over the weeks I have been learning more and more, however I have been asked to do something and I not sure the track that I need to go.
Here is my code
<%
for (int r=0; r<vW.size(); r++) {
W = new Workorder();
W = (Workorder) vW.elementAt(r);
%>
<tr valign="top" class="WOList">
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getInvoiceNum());%>
</div></td>
<td valign="top" class="WOList"><% out.println(W.getSWhoUser());%></td>
<td valign="top" class="WOList"><% out.println(W.getLocationName());%></td>
<td valign="top" class="WOList"><% out.println(W.getProblemDescription());%></td>
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getSTech());%>
</div></td>
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getOpenCloseDate());%>
</div></td>
</tr>
<%
The variable W.getStech needs to be output with a different color row for each Tech. The Tech may have multiple rows and it will vary from day to day.
This is the printable copy of our work orders.
Can someone assist me in trying to solve this, if not at least point me in the right direction.
Thank you.Hey Everyone. I am still having sooo much trouble on this. I was told (and I need to find a way) to do this without altering the database.
Even if I can't do a color, even having a bold line seperating the people's work orders.
Any help would greatly be appreciated.
I did find this javascript code, and I'm not sure if I could incoporate that into the database.
Heres' the JS
<script type="text/javascript">
<!--
var table = document.getElementById("user");
var tbody = table.getElementsByTagName("tbody")[0];
var rows = tbody.getElementsByTagName("tr");
// add event handlers so rows light up and are clickable
for (i=0; i < rows.length; i++) {
var value = rows.getElementsByTagName("td")[0].firstChild.nodeValue;
if (value == 'mraible') {
rows[i].style.backgroundColor = "red";
//-->
</script>
Now here's the actual java work order
</tr>
<%
for (int r=0; r<vW.size(); r++) {
W = new Workorder();
W = (Workorder) vW.elementAt(r);
%>
<tr valign="top" class="WOList">
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getInvoiceNum());%>
</div></td>
<td valign="top" class="WOList"><% out.println(W.getSWhoUser());%></td>
<td valign="top" class="WOList"><% out.println(W.getLocationName());%></td>
<td valign="top" class="WOList"><% out.println(W.getProblemDescription());%></td>
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getSTech());%>
</div></td>
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getSDateRequested());%>
</div></td>
</tr>
<%
%>
</table></td>
Thanks Again !! -
Hi there. 1st, thanks for taking time to read this and hopefully help.
I have been given this website to work on an its pretty much done in java. Unfortunately I know very little about Java. Over the weeks I have been learning more and more, however I have been asked to do something and I not sure the track that I need to go.
Here is my code
<%
for (int r=0; r<vW.size(); r++) {
W = new Workorder();
W = (Workorder) vW.elementAt(r);
%>
<tr valign="top" class="WOList">
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getInvoiceNum());%>
</div></td>
<td valign="top" class="WOList"><% out.println(W.getSWhoUser());%></td>
<td valign="top" class="WOList"><% out.println(W.getLocationName());%></td>
<td valign="top" class="WOList"><% out.println(W.getProblemDescription());%></td>
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getSTech());%>
</div></td>
<td valign="top" class="WOList"><div align="center">
<% out.println(W.getOpenCloseDate());%>
</div></td>
</tr>
<%
The variable W.getStech needs to be output with a different color row for each Tech. The Tech may have multiple rows and it will vary from day to day.
Can someone assist me in trying to solve this, if not at least point me in the right direction.
Thank you.You problem related to jsp.
Oh I do not want to get into jsp now so post it here to get better help http://forums.sun.com/forum.jspa?forumID=45
Before doing so, Why you are doing so
W = new Workorder();
W = (Workorder) vW.elementAt(r);
instead of
Workorder W = (Workorder) vW.elementAt(r);
then you for loop does not seems to have an end clause "}"
the how did you created vW which is a list of WorkOrder? where did you get the list from ?
if you want each row (<tr>) needs a different color, then you need need to make the workOrder has a color attribute and in the <tr> you
do
<tr valign="top" bgcolor=<% out.println(W.getRowColor());%>">
or you can put a java list which contains different html color standard
Just a start for you
Hope this could help -
How to reset a row count based on a column value?
OracleBI Discoverer 10g (10.1.2.3)
Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26)
I've got a Discoverer Plus report that shows item receipts, receipt dates, and if the receipt was inspected. I've got items that should be inspected every 5th receipt. There's got to be a handy-dandy function I can use to do this, right?
Item Receipt Date Inspected
Bracket 1/1/2009 Y
Bracket 2/1/2009 N
Bracket 3/1/2009 N
Bracket 4/1/2009 Y <--let's assume someone didn't follow the instructions
Bracket 5/1/2009 N
Bracket 6/1/2009 N
Bracket 7/1/2009 N
Bracket 8/1/2009 N
Bracket 9/1/2009 I'm looking to count the receipts and reset the counter when Inspected = Y
Item Receipt Date Inspected Inspect_Count
Bracket 1/1/2009 Y 0
Bracket 2/1/2009 N 1
Bracket 3/1/2009 N 2
Bracket 4/1/2009 Y 0
Bracket 5/1/2009 N 1
Bracket 6/1/2009 N 2
Bracket 7/1/2009 N 3
Bracket 8/1/2009 N 4
Bracket 9/1/2009 5 <-- receiver should inspect on this receipt I'm open to other methods if mine seems like a dud.
-TracyHi,
You can use this query for achieve your requierment in your view or you can include in your etl .
REgards salim.
SELECT item, receipt_date, inspected
FROM table_inspect;
ITEM RECEIPT_DA INSPECTED
Bracket 01/01/2009 Y
Bracket 02/01/2009 N
Bracket 03/01/2009 N
Bracket 04/01/2009 Y
Bracket 05/01/2009 N
Bracket 06/01/2009 N
Bracket 07/01/2009 N
Bracket 08/01/2009 N
Bracket 09/01/2009
9 rows selected.Solution
SELECT item,receipt_date,inspected,inspect_count
from table_inspect
model
partition by (item)
dimension by( row_number()over(partition by item order by receipt_date) rn)
measures(receipt_date,inspected,0 Inspect_Count )ignore nav
(Inspect_Count[rn]= case when inspected[cv()]='Y' then 0 else Inspect_Count[cv()-1]+1 end)
order by receipt_date;
ITEM RECEIPT_DA INSPECTED INSPECT_COUNT
Bracket 01/01/2009 Y 0
Bracket 02/01/2009 N 1
Bracket 03/01/2009 N 2
Bracket 04/01/2009 Y 0
Bracket 05/01/2009 N 1
Bracket 06/01/2009 N 2
Bracket 07/01/2009 N 3
Bracket 08/01/2009 N 4
Bracket 09/01/2009 5
9 rows selected.Edited by: Salim Chelabi on 2010-03-03 07:49 -
Need to color a Table row based on a Column value
Dear Alll
I have a requirement to color the rows of a table based on a column value in it. I have tried and surfed many useful materials over the net. but none of them solves my purpose. Please help me, I know that i can used OADataBoundValueViewObject and create a custom css file and apply color to a particular column of a table using a decode in the select statement of that VO.
But all i need is to color a particular row with a particular color. Need your help with this ........
Please do reply
Best Regards
Edited by: Antony Jayaraj on Mar 27, 2012 8:54 PMThese posts might help you.
How to change the row color based on Condition
Can we colour the rows in the column of a table
Regards,
Peddi. -
Scan array for row above a certain value
Hello,
How do I go about scanning a string array of x and y data and output the row with data above a certain value. I have attached a vi that I started working on but do not know how to output the x and y data that is above -80.
Any help will be greatly appreciated.
Thanks,
hiNi.
Solved!
Go to Solution.
Attachments:
scan array.vi 11 KBHere's a version that might be better for large inputs, because it avoids constant resizing of arrays. Modify as needed.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
scan arrayMOD_CA.vi 14 KB
ScanArrayCA.PNG 8 KB -
Alternate row color for table question
I'm alternating the row color on a table, and if I have a
<a href> in
the table, the background behind the <a href> isn't the
same as the row
color based on:
<tr bgcolor="###iif(currentrow mod
2,de('ffffff'),de('efefef'))#">
Is there a way to have the CSS that formats the <a
href> change at the
same time as the background color for the row??How about a way to do it without having to learn something
else (like a
framework??)
Anyone done something like what I'm looking to do? Just
change the <a href>
formatting to go along with the inline iif shown below?
<tr bgcolor="###iif(currentrow mod
2,de('ffffff'),de('efefef'))#">
Steve
"Daverms" <[email protected]> wrote in
message
news:fgn5vi$83b$[email protected]..
> Hi,
>
> Try implementing the "JQuery" framework in your
application. It really
> minimizes the coding time and enables you to concentrate
on development
> alone.
>
> (Try Googling, You can find more JQuery solutions for
this TR alternative
> bgcolor issues, ).
>
>
>
> -
SSRS 2012
Dataset (40 columns) including the first 3 rows for Report layout configuration (eg: the <second> row specifies the column background color).
Starting from the 4th row, the dataset contains data to be displayed.
I would like to change the background color of the ColumnHeader/Column based on the value in the same column in the <second> row.
How can I accomplish the this requirement? (this must be applied for all the columns)
ThanksHi Fasttrck2,
Per my understanding that you want to specify the background color of all the columns/column header based on the value in one special column of the special row, right?
I have tested on my local environment and you can add expression to condition show the background color in the columns properties or the column header properties.
Details information below for your reference:
Specify the background color in the Column header: you can select the entire column header row and in the properties add expression in the Background color :
If you want to specify the background color for the entire column, you can select the entire column and add the expression, repeat to add background color for other columns.
If you want to specify the background color based on the value in the specific columns and row, you can create an hidden parameter to get the list of values from the specific column, specify the Available values and default values by select "Get
values from a query", finally using the expression as below to get the specific value you want:
Expression(Backgroud Color):
=IIF(Parameters!Para.Value(1)="1221","red","yellow")
If your problem still exists, please try to provide some smaple data of the report and also the snapshot of the report structure to help us more effective to provide an solution.
Any problem, please feel free to ask.
Regards
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
JTable filtering based on comparison of values in a row
I need to implement a RowFilter that will make its 'include' decision by comparing values in two columns of a JTable row. All the RowFilter.getxxxFilter() methods I see require external input, for example:
RowFilter.numberFilter(ComparisonType.EQUAL, 10, 1, 2);as I understand it, this filter will filter out all rows that do not contain the value 10 in column index 1 or 2. What I need is something like:
RowFilter.numberFilter(ComparisonType.BEFORE, 1, 2);Where it will only include rows where the value in column 1 is less than the value in column 2.
Does RowFilter support this without having to write my own RowFilter subclass? It looks easy enough to write, but I wanted to make sure I understood the API correctly before I go reinventing the wheel.nice day,
I pretty not sure what is comparing values in two columns of a JTable row but maybe this one can hepl you import java.util.*;
import javax.swing.table.*;
public class SortableTableModel extends DefaultTableModel {
private static final long serialVersionUID = 1L;
private int[] indexes;
private TableSorter sorter;
public SortableTableModel() {
public SortableTableModel(int row, int col) {
super(row, col);
@Override
public Object getValueAt(int row, int col) {
int rowIndex = row;
if (indexes != null) {
rowIndex = indexes[row];
return super.getValueAt(rowIndex, col);
@Override
public void setDataVector(Object[][] dataVector, Object[] columnIdentifiers) {
indexes = null; // crucial reset.
super.setDataVector(dataVector, columnIdentifiers);
@Override
public void setValueAt(Object value, int row, int col) {
int rowIndex = row;
if (indexes != null) {
rowIndex = indexes[row];
super.setValueAt(value, rowIndex, col);
public void sortByColumn(int column, boolean isAscent) {
if (sorter == null) {
sorter = new TableSorter(this);
sorter.sort(column, isAscent);
fireTableDataChanged();
public int[] getIndexes() {
int n = getRowCount();
if (indexes != null && indexes.length == n) {
return indexes;
indexes = new int[n];
for (int i = 0; i < n; i++) {
indexes[i] = i;
return indexes;
public class TableSorter {
private SortableTableModel model;
public TableSorter(SortableTableModel model) {
this.model = model;
//n2 selection
public void sort(int column, boolean isAscent) {
int n = model.getRowCount();
int[] indexes = model.getIndexes();
for (int i = 0; i < n - 1; i++) {
int k = i;
for (int j = i + 1; j < n; j++) {
if (isAscent) {
if (compare(column, j, k) < 0) {
k = j;
} else {
if (compare(column, j, k) > 0) {
k = j;
int tmp = indexes;
indexes[i] = indexes[k];
indexes[k] = tmp;
public Class<?> getColumnClass(int column) {
return model.getValueAt(0, column).getClass();
// comparators
public int compare(int column, int row1, int row2) {
Object o1 = model.getValueAt(row1, column);
Object o2 = model.getValueAt(row2, column);
if (o1 == null && o2 == null) {
return 0;
} else if (o1 == null) {
return -1;
} else if (o2 == null) {
return 1;
} else {
Class<?> type = getColumnClass(column);
if (type.getSuperclass() == Number.class) {
return compare((Number) o1, (Number) o2);
} else if (type == String.class) {
return ((String) o1).compareTo((String) o2);
} else if (type == Date.class) {
return compare((Date) o1, (Date) o2);
} else if (type == Boolean.class) {
return compare((Boolean) o1, (Boolean) o2);
} else {
return ((String) o1).compareTo((String) o2);
public int compare(Number o1, Number o2) {
double n1 = o1.doubleValue();
double n2 = o2.doubleValue();
if (n1 < n2) {
return -1;
} else if (n1 > n2) {
return 1;
} else {
return 0;
public int compare(Date o1, Date o2) {
long n1 = o1.getTime();
long n2 = o2.getTime();
if (n1 < n2) {
return -1;
} else if (n1 > n2) {
return 1;
} else {
return 0;
public int compare(Boolean o1, Boolean o2) {
boolean b1 = o1.booleanValue();
boolean b2 = o2.booleanValue();
if (b1 == b2) {
return 0;
} else if (b1) {
return 1;
} else {
return -1;
or
my questions about [http://forums.sun.com/thread.jspa?threadID=5441676&messageID=11003473#11003473]
Edited by: mKorbel on Jul 2, 2010 4:01 AM
Edited by: mKorbel on Jul 2, 2010 4:12 AM
and move Comparator action quasi to the end of the EDT (SwingUtilities.invokeLater(Runable run);)
Maybe you are looking for
-
Configuring XI - PCK communication
Hello, I configure communication channel from XI 3.0 host to PCK host via XI protocol and I couldn't find following URL parameters: 1. Host (I know the host) 2. Port (I don't know where to look for it) 3. Path prefix (I don't know where to l
-
Why the BANGLA language in firefox 4 doesn't work propoerly?
When i write anything in Bangle language the language was putting in a wrong disorder...
-
I cannot access Washington Post website
I have been accessing Washington Post on Firefox for years. For some reason I am no longer able to do ... it says access denied
-
Need help asap, project due monday!
Hey everyone, I'm a college student and I have a final project due on monday. I'm running into a MAJOR issue which I've never had before. I know this is probably a noobie issue but any help would be fantastic. I have text on it's own layer, typed it
-
NetBeans 6.1. JDBC - driver
Dear, I'm using NetBeans 6.1. and the provided MySQL - driver (mysql-connector-java-5.1.5-bin.jar). When i'm trying to execute a query with one or more parameters i get the following message. " The JDBC-Driver does not provide type information about