title: Java transparent JPanel (allwaysOnTop) triggers Taskbar
body: <p>I recently wrote a program in Java, that functions as a game-overlay (in order to create custom gamemodes in games like Rainbow Six: Siege) by applying the following settings:  </p>
  
  <pre><code>clientFrame = new JFrame("Window");
  clientFrame.setSize(400, 300);
  
  clientFrame.setUndecorated(true);
  clientFrame.setBackground(new Color(0,0,0,0));
  clientFrame.setAlwaysOnTop(true);
  
  clientPanel = new JPanel();
  clientPanel.setOpaque(false);
  
  textArea_Messages = new JTextArea();
  textArea_Messages.setEditable(false);
  textArea_Messages.setBackground(new Color(0,0,0,0));
  textArea_Messages.setFont(font);
  
  clientPanel.add(textArea_Messages);
  
  clientFrame.getContentPane().add(BorderLayout.CENTER, clientPanel);
  
  clientFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  clientFrame.setVisible(true);
  clientFrame.pack();
  </code></pre>
  
  <p>This worked for me the last few months. I had to run the game in borderless window mode in order to display the panel on top of my game, but I was able to Alt+Tab out of the game to change some gamemode settings and reentering it by clicking inside the game window. My JPanel stayed allways on top, and the taskbar disappeared while playing.<br>
  Today I noticed that the taskbar doesn't hide anymore. Either it stays on top together with my JPanel, or the JPanel (and the taskbar) aren't visible. I've searched online for hours trying to solve this issue and tested everything (Repinnig every icon, Restarting Explorer.exe, changing the taskbar-preferences...).<br>
  However, when checking the "Allways on top" option in the Task-Manager, the taskbar disappears while playing! This leads me to the assumption that the JPanel somehow keeps the taskbar in focus, while the taskmanager doesn't.<br>
  Does someone know what causes this issue?  </p>
  
  <p>Some more information that might be relevant:<br>
  -The game got an update a few days ago<br>
  -I was using Classic Shell all the time<br>
  -Windows got an update that forced me to reinstall Classic Shell  </p>
  
  <p>I know, my problem does not sound that terrible, but I'm recording my custom gamemodes for Youtube and the taskbar is really annoying.  </p>
  
  <p>Thanks in advance :)</p>