Month: September 2009

  • Debugging GUI events

    Debugging gui events is usually not possible with regular line per line debugging and is done mostly by tracing. For debugging code that relies on Java swing events like drag and drop, mouse moving, etc., having something similar to code below is very useful: In this way you trace not only current function but also […]

  • Groovy blob and mysql

    In certain occasions e.g. when you want to save scrapped html page or just a specific part of it (e.g. div with its contents) the recommendation I found is to use the blob type and save xml document as binary stream. In groovy, this is achieved in a rather simple way: class Document { int […]