I have created a simple autocomplete composed of JTextfield and JWindow (as a popup).
Everything works fine except when I display the popup on bottom it goes outside of the screen (see the pictures):

Is there a way to make it visible inside the screen always ?
