jnotify is a api notification, designed to provide informative messages in your application created by java
Step 1:
to use jnotify you just include library in the link https://sourceforge.net/projects/jnotify-api/
in your project
Step2:
you can use any constructor according to your need for example
new NotifyWindow(NotifyType.DEFAULT_NOTIFICATION,"Lorem Ipsum issimply dummy text of the printing and typesetting
industry.", NotifyWindow.NORMAL_DELAY, NPosition.CENTER);
NotifyType.DEFAULT_NOTIFICATION
: is the type of notification
there are other types :
NotifyType.SUCCESS_NOTIFICATION
NotifyType.ERROR_NOTIFICATION
NotifyType.WARNING_NOTIFICATION
NotifyWindow.NORMAL_DELAY
: is a time to display your notification
there are other parameters :
NotifyWindow.SHORT_DELAY
NotifyWindow.LONG_DELAY
NPosition.CENTER
: is the position you want to put your notification on screen
there are other positions :
NPosition.TOP_LEFT
NPosition.TOP_RIGHT
NPosition.BOTTOM_LEFT
NPosition.BOTTOM_RIGHT
Demo
industry.", NotifyWindow.NORMAL_DELAY, NPosition.CENTER);
Mohsine AMECHTAK