Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #269

Merged
merged 5 commits into from May 21, 2016
Merged

Master #269

merged 5 commits into from May 21, 2016

Conversation

jncharon
Copy link
Contributor

Implementation if issue #56 - a double click will popup the main window

@@ -75,6 +70,23 @@ private void initMinimizeExitHandler(Runnable exitCommand) {
private void initTrayIconExitHandler(Runnable exitCommand) {
final TrayIcon trayIcon = createTrayIcon(exitCommand);
try {
// I'm sorry but no lambda here as several methods must be implemented
trayIcon.addMouseListener(new MouseListener() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use MouseAdapter instead? Still no lambdas, of course, but at least only one method to be overwritten.

@jncharon
Copy link
Contributor Author

It's done !

@overheadhunter overheadhunter merged commit fe3efdf into cryptomator:master May 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants