I'm trying to develop my own application for placing notes on the desktop (similar to Sticky Notes under Windows OS). Everything is working nicely but I am still facing a problem: since I want the application to be as "minimal" as possible, I would like it not to appear in the taskbar, so that it doesn't bother the user. Eventually, I would like it to appear in the system tray but, for the moment, this is not the point. To make the application cross-platform, I am developing it in Java, and I read that in order not to make it appear in the taskbar one could use a JDialog. Now my class is
public class NoteWindow extends JDialog implements WindowListener, WindowFocusListener, KeyListener, ComponentListener,
MouseMotionListener, MouseListener
and in the code I also put
setType(Type.UTILITY);
setBounds(100, 100, 235, 235);
getContentPane().setLayout(null);
setUndecorated(true);
but it doesn't seem to be working: under Linux Mint 17.2 I still see the windows (each window corresponding to a note) in the taskbar (or its equivalent under Linux).
Am I missing something?
EDIT
I post an image to show what I mean, and what I would like not to see: