private void showNotification(Notification n){
  checkQueueSize();
  GraphicsConfiguration config=getGraphicsConfig();
  Point location=calculateLocation(position,getSafeBounds(config),n.getSize(),getCurrentOffset());
  n.setLocation(location);
  n.setTimeout(displayTime + (displayTime / 4 * displayed.size()));
  if (queue.size() > maxQueueSize && displayed.size() == 0) {
    n.setFallbackTimeout(shortMaxDisplayTime);
  }
  displayed.add(n);
  n.show();
}

private void showNotification ( Notification n ) { checkQueueSize ( ) ; GraphicsConfiguration config = getGraphicsConfig ( ) ; Point location = calculateLocation ( position , getSafeBounds ( config ) , n . getSize ( ) , getCurrentOffset ( ) ) ; n . setLocation ( location ) ; n . setTimeout ( displayTime + ( displayTime / 4 * displayed . size ( ) ) ) ; if ( queue . size ( ) > maxQueueSize && displayed . size ( ) == 0 ) { n . setFallbackTimeout ( shortMaxDisplayTime ) ; } displayed . add ( n ) ; n . show ( ) ; }
actually shows a notification after it was created . positions the notification appropriately and checks if the queue is full and acts appropriately .
