* return line; }
*/
private Vector<ChineseElementProperties> readInput( int lessonNumber ) {
CHPODFindAccessor chpodAccessor = null;
Vector<ChineseElementProperties> chineseElementProperties = new Vector<ChineseElementProperties>();
try {
chpodAccessor = new CHPODFindAccessor( CHPODAccessor.DERBY_DB_MANAGER );
} catch ( DBAccessException dBAccessException ) {
JOptionPane.showMessageDialog( null, dBAccessException.getMessage(), "DB Error",
JOptionPane.ERROR_MESSAGE );
dBAccessException.printStackTrace();
} catch ( Exception exception ) {
JOptionPane.showMessageDialog( null, exception.getMessage(), "DB Error",
JOptionPane.ERROR_MESSAGE );
}
try {
chineseElementProperties = chpodAccessor
.findCharacterPropertiesByLessonNumber( lessonNumber );
} catch ( DBAccessException dBAccessException ) {
JOptionPane.showMessageDialog( null, dBAccessException.getMessage(), "DB Error",