glasspane

Why GlassPane doesn't work with JDIC's WebBrowser ?

I have the following program to test GlassPane, but it doesn't work with JDIC's WebBrowser, does anyone know what I did wrong and how to make it work ? import org.jdesktop.jdic.browser.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.net.*; public class Test_Panel extends JPanel { static WebBrowser web...

removing mouse events/controls from swing components with glasspane

Hi all, I have a client-server application and i am using swing in the client side. My swing client has one main window (jframe) and lots of panels, toolbars and menubar in it. I want to remove all client action/mouse events (or simply grab and do nothing) while client is waiting response from server by means of glasssPane. Here is the ...

Use case of Glass Pane vs. Layered Pane

I've always been a little fuzzy on the difference between the glass pane and a layered pane. Is the glass pane essentially just "the very top layer of the root pane," or does it behave differently? When would you use a layered pane instead of the glass pane? ...

Placing component on Glass Pane

I have a subclass of JLabel that forms a component of my GUI. I have implemented the ability to drag and drop the component from one container to another, but without any visual effects. I want to have this JLabel follow the cursor during the drag of the item from one container to another. I figured that I could just create a glass pa...