added architecture parameters; addedsome tests
fixing the JComboBox API usage - porting to java 6