... more: I would appreciate if there would be some defaults like: position=bottom-right, animation=slide-in from bottom + fade-out to disappear, icon=icon-info (or any other reasonable name) so if I would get reasonable appearance specifying only title and message.

I'd also like if there would be a singleton that would take care about window creation so I'd only need to write only sth like:

Code:

MessageWindow.show(message, title); // title optional, defaulting to "Information"
// or, in the case of changing appearance/behavior
MessageWindow.show(config); // with full config object