use of org.openecard.gui.swing.SwingDialogWrapper in project open-ecard by ecsec.
the class UpdateDialogTest method testUpdateDialog.
@Test(enabled = false)
public void testUpdateDialog() throws MalformedURLException, InterruptedException {
String dlUrl = "https://drivers.luxtrust.lu";
UserConsent gui = new SwingUserConsent(new SwingDialogWrapper());
final UpdateDialog ud = new UpdateDialog(gui, dlUrl, true);
new Thread(new Runnable() {
@Override
public void run() {
ud.display();
}
}).start();
Thread.sleep(500);
final UpdateDialog ud2 = new UpdateDialog(gui, dlUrl, false);
new Thread(new Runnable() {
@Override
public void run() {
ud2.display();
}
}).start();
Thread.sleep(500000);
}
Aggregations