Newcastle University Drylab/15 May 2008
From 2008.igem.org
Newcastle University
GOLD MEDAL WINNER 2008
Home | Team | Original Aims | Software | Modelling | Proof of Concept Brick | Wet Lab | Conclusions |
---|
Home >> Dry Lab >> Dry Lab Journal
|
|
|
|
15 May 2008
Mark
Megan
Morgan
Decided to add transparency to the glyphs in an effort to stop self from throwing the computer across the room. Now the glyphs look much better when they're overlapping and connected, albeit not 'shiny'.
Should also put the drawing in a separate thread, because not everyone has 2GB RAM to play 'round with. Must also update the legend to show that it's not the borders that are changing, but the text color.
OH. Okay, I don't treat the two truth tables exactly the same. I add the listener to the input table to add rows to the table, which must be where it's screwing up.
Sigh. I found part of the problem. Calling setValueAt on the TruthTable actually fires a tableChanged event, and I was doing that before I finished adding the column. And then in InputTypesListener, I was calling border changes on both tables before row was added to the second table. Now it works, it's just not repainting...
Moved repainting inside the DrawingPanel. Woot! She works!