What is a Glass Pane ? and how should I use it ... please give an example. Thanks.

Recommended Answers

All 3 Replies

:rolleyes: :rolleyes: :rolleyes: :rolleyes: :rolleyes:

Hey sani,

Did you check out Sun's Glass pane docs?

They have good descriptions.

I've used glass panes to pop an invisible pane on top of the GUI elements to intercept mouse events. Unfortunately the last one I wrote is in the thick of a program to control robots, so I can't isolate it to give you.


Thanks cosi !
I prefered to use JLayeredPane ... cuz I was not understanding glass pane ... but the link you gave me was a great help... Thanks again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.