This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 321
Windows is not refreshed on linux #39
Comments
Thanks, which window/desktop manager are you using? |
Cinnamon on Linux Mint 17.2 |
Is this still an issue? Out of curiosity I built this on a similar OS - Mint 17.3 (64 bit), Cinnamon 2.8.8, Java 1.8.0_92. Ran an integration test sending 5 emails, with and without delay. The window seems to display emails as they're being processed; I'm not sure if I'm duplicating the scene. |
To be honest I only run my forked version with my fix ... But in any case I believe your code is incorrect because as I said you're not doing the repaint operations in the event dispatch thread. |
you can have a look to ymartineau/peers#13 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello
When a mail is received the windows content is not refreshed (at least on linux running oracle jdk 1.8).
Only way to force the refresh is to resize the window.
Looking at the code I see that the gui operations are not done in the dispatch thread as it should be from what I remember in swing, not sure how to fix this cleanly in the meantime I'm forcing a repaint of the mainpanel (ugly) but that fixes the issue.
The text was updated successfully, but these errors were encountered: