This code will make the application's icon bounce in the Apple Leopard's Dock section.
This is made to request the user attention to provide information for the application.
if(![[NSApplication sharedApplication] isActive])
[[NSApplication sharedApplication]requestUserAttention:NSInformationalRequest];