!7 p-awt { new JWindow f; f.setAlwaysOnTop(true); int alpha = 128; f.setBackground(colorWithAlpha(Color.blue, .5)); //f.setSize(512, 512); setBounds(f, rightScreenBounds()); /*f.add(new JPanel { protected void paintComponent(Graphics g) { g.setColor(Color.RED); g.drawRect(0, 0, 511, 511); } });*/ //f.setLocationRelativeTo(null); f.setVisible(true); }