java - Move a JDialog from outside the screen to a position in screen -


i'm trying create notifications system. i'm trying make jdialog thats moves outside screen specific position. i'm using timing framework , can move dialog position another, when try specify position outside screen dialog not that.

this code:

dialog.setlocation(new point(-dialog.getwidth(), 10)); 

should put dialog on right side outside screen not.

i did try use notifications libraries as:

  • jcommunique
  • jtelegraph
  • twinkle
  • jcarrierpigeon

but of libraries work needs.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -