• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Haw to create Image map in Java Swing  RSS feed

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i have a IMAGE - WORLD MAP

i wont when i put a cursor on same CONTINENT to shou mi INFORMATION about this Continent haw to make this hapent

Pleace give me the idea

 
Author and ninkuma
Marshal
Posts: 66788
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"mixo TODOR, please check your private messages for an important administrative matter.
 
Sheriff
Posts: 21424
94
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With a MouseListener you can find out where on a component the user clicked, using MouseEvent's getX(), getY() and getPoint() methods.
With a MouseMotionListener you can also find out where the mouse is when the user moves it.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!