Problem with glasspane on JScrollPane



I have a JApplet inside a JScrollPane and I am drawing on the glasspane
which I get from the JApplet,

glasspane
|
V
JApplet
|
V
JScrollPane

The problem is, sometimes my scrollbars are not visible, and sometimes
when I scroll on either the vertical or horizontal scrollbar, the other
one is covered by the glasspane. And sometimes the glasspane covers
part of the toolbar at the top. I don't understand why the glasspane
can cover the scrollpane or the toolbar because my glasspane is gotten
from the japplet which is INSIDE my scrollpane which is inside my
JFrame.

Please help.
Merci. Arigatou.

Anthony Mak

.



Relevant Pages

  • Re: Problem with glasspane on JScrollPane
    ... > glasspane of the JScrollPane instead. ... The problem is JScrollPane doesn't have a getglasspanemethod. ... So that can draw custom tooltip onto this ... I know using a dummy japplet in order to get a glasspane is not very ...
    (comp.lang.java.gui)
  • Re: Problem with glasspane on JScrollPane
    ... And sometimes the glasspane covers ... >part of the toolbar at the top. ... >can cover the scrollpane or the toolbar because my glasspane is gotten ... Are you poking Swing components with the wrong thread? ...
    (comp.lang.java.gui)