Convert SysTray to use JPopupMenu for Unicode support

Correct Systray_zh.properties to ISO 8859-1 instead of UTF-8.

Added SysTray test to GuiTests
This commit is contained in:
catbref
2019-07-10 18:54:15 +01:00
parent 6942c02700
commit f8b496ff3c
3 changed files with 133 additions and 35 deletions

View File

@@ -2,6 +2,7 @@ package org.qora.test;
import org.junit.Test;
import org.qora.gui.SplashFrame;
import org.qora.gui.SysTray;
public class GuiTests {
@@ -14,4 +15,13 @@ public class GuiTests {
splashFrame.dispose();
}
@Test
public void testSysTray() throws InterruptedException {
SysTray.getInstance();
while(true) {
Thread.sleep(2000L);
}
}
}