Focus Listener problem...

I am working on a game. On one frame in its own file I made a JFrame. I added a JMenuBar and a couple of JMenus to the menu bar. Then I added gradient paints to the screen. The gradient painted areas are erased whenever the menu's are clicked on. Is there any way that I could add a focus listener or something to the menu bar or that area so that when it is clicked on I can have the graphics repaint to refresh the area that is white?

Thanks for any help in advance...

Fury

[495 byte] By [Furya] at [2007-10-1 1:34:38]
# 1
i can't see what's wrong because basically scrolling down a menu should NOT erase your picture, i believe you should rather check in your display code... what are you using to draw on?
must41a at 2007-7-8 1:54:50 > top of Java-index,Archived Forums,Java 2 Software Development Kit (J2SE SDK)...