Created
August 29, 2011 15:01
-
-
Save chamerling/1178562 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
*/ | |
package org.chamerling.javagrowl.app; | |
import org.chamerling.javagrowl.Growl; | |
import org.chamerling.javagrowl.GrowlNetwork; | |
/** | |
* @author chamerling | |
* | |
*/ | |
public class Main { | |
public static void main(String[] args) { | |
// will register only if needed but returns a Growl instance in all cases... | |
Growl g = GrowlNetwork.register("JavaGrowlApp", "YOURPASSWORD"); | |
g.notify("JavaGrowlApp", "The title", "This is the notification message...", "YOURPASSWORD"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment