← Back to team overview

simple-smime-core team mailing list archive

Re: Fancy Loading Animation Added

 

Hy!

The loading animation is working great. Nice work. There's only one little thing. When generating a cert in windows the words "Bitte warten ... erstelle Zertifikat" are printed in white letters with white background. It's hard to read.

And I found another Bug when creating a cert:

try {
// Connect to DB.
Database db = new Database(path, password);

// Write private key in DB.
db.writeCertPair(cert);
if (db.checkExists(cert.getHash())) {
JOptionPane.showMessageDialog(null,
"Zertifikat wurde erfolgreich erstellt!",
"Erfolg", JOptionPane.DEFAULT_OPTION);
}
gui.clearCertFields();

// Close connection to DB.
db.close();
} catch (WrongPasswordException e) {
JOptionPane.showMessageDialog(null, e.getMessage(), "Fehler",
JOptionPane.OK_OPTION);
}

The cert gets generated but also an WrongPasswordException is thrown. I tried to debug the problem but it only happens when running in normal mode. It's a little weird to first get an error message an then it says that the cert was generated correctly. I think that the thread is not synchronized.



DONE:

- closing of password window via window-button not supported (asks again)

TODO:

- no exception thrown if port is wrong
- server warnings all not yet translated
- button "revert changes" is too short
- focus in password field (i'm working on it, but it's a really annoying bug)
- error message when creating certs

Why's the button revert changes to short??? In which OS???



References