hello... everyone! i have included graphics over Map like a popup menu, but now i need to provide a mouse click action over the graphic. Is it possible...??
let me explain properly. i have given city details over open street maps by using graphics2D, now i need to give a clickable link such that when i click that round rectangle (of graphics i.e the popup menu) then it must take me to the given website link.
i can do it from a JLabel, but i cannot able to do it from a graphics. i cannot add JLabels to the graphics. if it can be added then the problem can be solved. please give me some valuable suggestion regarding my problem. Any help will highly be appreciated. Thanks in advance.