Here the how-to explaining how to interact with GoogleCalendar using iCal and the CalDAV support provided by Google.
![GiCal!](http://4.bp.blogspot.com/_hLQdXfhEtII/SKNOmnFIXiI/AAAAAAAADKs/ntQOTsw1EyA/s320-R/gical.png)
Notes from a programmer's life.
class ImageComponent extends JPanel { public ImageComponent() {} public ImageComponent (byte[] image) { ByteArrayInputStream bis = new ByteArrayInputStream (image); try { _image = ImageIO.read (bis); } catch (IOException ex){} } //This method replaces the image displayed by the component //with a new one passed in the image byte array. public void updateImage (byte[] image) { ByteArrayInputStream bis = new ByteArrayInputStream (image); try { _image = ImageIO.read (bis); } catch (IOException ex){} repaint(); } public void paint(Graphics g) { g.drawImage(_image, 0, 0, null); } public Dimension getPreferredSize() { if (_image == null) { return new Dimension (320, 240); } else { return new Dimension (_image.getWidth (null), _image.getHeight (null)); } } BufferedImage _image; }