And the beat goes on…
…on and on… or at least until we finish the dang project!
School started this Wednesday, so we’ve been traipsing the campus, picking our way through the hordes of incoming freshmen wandering around with their copies of the campus map. And yet I’ve already been asked for directions by three different freshmen!
Oops, forgot to introduce myself. I’m Richard Mar, a senior L&S Computer Science major on the Berkeley iGEM computational team. I work with Joanna on Spectacles, a visual design tool for synthetic biological parts. It’s a bit hard to believe that just two months ago Spectacles didn’t exist, and now we have an application that’s close to completion!
Here’s what we started with: we were to build a visual piece with drag ‘n’ drop functionality so the user could take part symbols, arrange the symbols in some way, and then get something useful out of it. I would like to mention something before I go on- drag ‘n’ drop in Java is PAINFUL if anything other than text is being dragged and dropped. As such, we spent a week and a half trying out different possible solutions, from the AWT drag ‘n’ drop facilities, to the fancy new JavaFX platform. We were very close to picking JavaFX, but it is stupidly difficult to integrate into a Swing application (this took up nearly a full week of failed attempts to make it work). Finally, I wound up taking the NetBeans Visual Library and hacked it into a Swing app. Now, I say ‘hacked’ because the Visual Library is intended for use with NetBeans modules, and not vanilla Swing apps. As such, some things are broken (keyboard focus, anyone?), but so far no major problems have cropped up.
Anyhow, Joanna and I still have a sizable chunk of work to do on Spectacles before November, so we’ll be quite busy for the time being. And before I forget- there’s an Easter egg in any build of Spectacles with a version number ending in ‘KC’. But you didn’t hear it from me, m’kay? ;D