Sascha, In your comments you said you added an if statement but used the ?: operator, I think in this case a proper if {} else {} statement would be much more readable. I think that the ?: operator should be used minimally, for example if you were generating HTML and wanted to optionally include an attribute on a tag.
+ fill = fill == null + ? fillPatternComboBox.getItemAt(0) + : findEquivalentItem(fill, fillPatternComboBox); BTW does this improvement only improve speed if you have a themed layer or will it speed up all layers? Paul ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel