Threaded View
-
31 Aug 2012 11:32 AM #1
CheckColumnConfig bug please help
CheckColumnConfig bug please help
Hi all,
I have this code
Why is my statement "if" shows that the variable "r" is equal to "-disabled" when it is not true as seen in the attached picture?bug.pngCode:CheckColumnConfig checked = new CheckColumnConfig(ColumnDatabaseName, ColumnName, ColumnSize) { @Override protected String getCheckState(ModelData model, String property, int rowIndex, int colIndex) { String s = (String) model.get(property).toString(); String r = ""; if (s == "1") { r = "-on"; } else { r = "-disabled"; } MessageBox.info(s + " (Length: "+Integer.toString(s.length())+")", r, null); return r; } }; return checked; }Regards
Baczek00
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote