By screen, do you mean JFrame? I recommend posting a simple example which demonstrates the design, otherwise advice may be out of context