I didn't find a tool without console, but there are some console tools: xwininfo
and xprop
You can start a console and type
xprop|grep WM_CLASS
click on the desired window and you get for example
WM_CLASS(STRING) = "Navigator", "Firefox"
some programs already have the program name in that output, for example:
WM_CLASS(STRING) = "muon", "Muon"
or
WM_CLASS(STRING) = "xfce4-taskmanager", "Xfce4-taskmanager"
If not, then use xwininfo
to search for that name:
xwininfo -root -children|grep Firefox
you get a list of all processes, and some of them contain the program name "firefox"
0x1424f98 "Firefox": ("firefox" "Firefox") 1x1+-100+-100 +-100+-100