i’m traying a jdialog on linux, but it still appears in my taskbar.
this is the code? what’s wrong?
import javax.swing.JDialog;
public class Main {
public static void main(String [] args) {
new mydialog();
}
private static class mydialog extends JDialog {
public mydialog() {
super();
setSize(200,200);
setLocationByPlatform(true);
setAlwaysOnTop(false);
setUndecorated(true);
setVisible(true);
}
}
}
the only solution I found is to switch from Swing interfaces to gtk interfaces, to do this I used java-gnome. the only problem is that you must change all components of the swing classes to the corresponding gtk classes.