mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user