jwindow

JWindow alway on top not getting focus events.

I have a jwindow(set to be always on top) that you can click to get a pop menu. If the user right clicks the window it shows the pop menu but then if the user clicks any other window(such as firefox) pop menu does not disappear. I tried to fix it by adding FocusListener on the jwindow, i implemented FocusListener and override pub...

JWindow in JApplet

hi! i would like to ask for further information and suggestion about this problem. I am making an JApplet and I want to put a splash screen. I used JWindow. In the JWindow I put a JLabel...just a simple label so as to know if the label would appear in the JWindow. Unfortunately, the jlabel did not appear. I tried it as a simple applicat...

Applet SplashScreen, JWIndow?

Hi guys! This is my 3rd SO question. Please help again... I want to put up a splashscreen on my applet. In doing so, I used the JWindow component. I already used it in creating splashscreens for my stand-alone java application so I thought it will also work on applet. The problem is, it does not work. Is Jwindow usable with applet? is th...

Adding KeyListener to a JWindow not getting any key events

Hello everyone, In Java, I am adding a KeyListener to a JWindow, but it is not getting any key events. If I used the same code but extend a JFrame instead, then everything works fine. public class MyWindow extends JWindow { ... ... private void initComponents() { ... ... addKeyListener(new KeyListene...

JWindow with Black Opacity

I would like to create a JWindow that's not only has an opacity, but I want to change the default color of the opacity within Swing. So for example, if I write: AWTUtilities.setWindowOpacity(this, 0.5f); This will make do exactly what I want with one exception, the color is white. How can I make the color become black? I've tried ev...