-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
When another thread is running, some codding stops working! #62
Comments
I I use something like this codding, All is working fine `` TrayIcon trayIcon = new TrayIcon(Toolkit.getDefaultToolkit().createImage(getClass().getResource(ICON))); final SystemTray tray = SystemTray.getSystemTray(); try { MenuItem mnuSoftVersionStatus = new MenuItem(SOFT_VERSION); mnuSoftVersionStatus.setLabel(SOFT_VERSION + " : " + "Starting");
|
I didn't originally intend for the label text to be changed after the MenuItem was added. I will look into implementing a listener to update this on the Event Dispatch thread when attributes of the MenuItems are changed. Thanks for opening this issue! |
@ctoabidmaqbool I believe I've fixed this with commit 992c9b0. Could you please try your original code again with a copy of the source code before I push another release with the fix. I've written a test class and it appears to work on my end. |
@dustinkredmond Hi! I have tried source files, and it's actually works as expected. Thanks I have some other issues too, will put as separate issues. |
Glad that fixed it! I will close this issue, review the others, then plan on a minor version release by the end of the week to resolve these. |
For example, I am using this code:
After this
new org.hsqldb.Server().start();
themnuSoftVersionStatus.setText()
is not working?The text was updated successfully, but these errors were encountered: