Circuit Editor using Java