Nov 6, 2019 Replies: 1 You can use displayMessage to show a task bar message as per below Code: Dim jo As JavaObject = icon1 jo.RunMethod("displayMessage",Array As Object("Success", "Changes pushed successfully", "INFO")) However as you'll see below it says "OpenJDK Platform Binary" which is a bit unhelpful. I found on Stack Overflow (https://stackoverflow.com/a/47851505) that if you set the icon to "NONE" then it will use your tray icon and not show the OpenJDK text. Code: Dim jo As JavaObject = icon1 jo.RunMethod("displayMessage",Array As Object("Success", "Changes pushed successfully", "NONE")) Click to expand...
You can use displayMessage to show a task bar message as per below Code: Dim jo As JavaObject = icon1 jo.RunMethod("displayMessage",Array As Object("Success", "Changes pushed successfully", "INFO")) However as you'll see below it says "OpenJDK Platform Binary" which is a bit unhelpful. I found on Stack Overflow (https://stackoverflow.com/a/47851505) that if you set the icon to "NONE" then it will use your tray icon and not show the OpenJDK text. Code: Dim jo As JavaObject = icon1 jo.RunMethod("displayMessage",Array As Object("Success", "Changes pushed successfully", "NONE"))
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2019 #2 (icon1 is a TrayIcon object from the SystemTray library)