removed unused runtime properties
This commit is contained in:
parent
2c6a1974e8
commit
6abe0c5881
@ -90,13 +90,7 @@ public class KeepassApp extends JFrame {
|
|||||||
private TrayIcon trayIcon;
|
private TrayIcon trayIcon;
|
||||||
|
|
||||||
public KeepassApp() {
|
public KeepassApp() {
|
||||||
// Set properties before anything else
|
|
||||||
System.setProperty("sun.awt.enableExtraMouseButtons", "true");
|
|
||||||
// Force GTK 2 or 3 for better X11 integration in Cinnamon
|
|
||||||
System.setProperty("jdk.gtk.version", "3");
|
|
||||||
// Ensure we don't use the old way of drawing that can conflict with XApp
|
|
||||||
System.setProperty("sun.java2d.xrender", "true");
|
|
||||||
|
|
||||||
setTitle("JKeepass");
|
setTitle("JKeepass");
|
||||||
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
|
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user