has anyone else's database got hex characters 01 to 1F padding out the fields in their database. is that one of the functions of the Data subclass, to filter this kind of stuff out? any advise greatly appreciated. cheers, dean
I can't filter out this stuff using trim() , my code is as follows for ( int i = 1; i < count; i++ ) { try { if ( null != ( row = db.getRecord(i) ) ) { rowData[i] = row.getValues(); } } catch(DatabaseException dbe) { System.out.println(dbe.getMessage()); } } JTable table = new JTable(rowData, columnNames); Please suggest me a way to do this. Thanks Ravindra
In your data class, readRecord method you replaced a deprecated method for the constructor of a String, if you add it to the end of that statement, you will be fine. So rv[i] = new String(blahParam, blahParam, etc).trim();
Great ! The square pads are removed now. It is high time , I should start using the debugger in IntelliJ IDEA 2.5.1 JavaIDE which I am using it to develop my FBN project. Thanks Ravindra
Post by:autobot
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
a bit of art, as a gift, the permaculture playing cards