The Artima Developer Community
Sponsored Link

Java Answers Forum
Mouse movement

1 reply on 1 page. Most recent reply: Sep 21, 2003 9:56 PM by mausam

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Chulo Marques

Posts: 1
Nickname: chongo
Registered: Sep, 2003

Mouse movement Posted: Sep 20, 2003 11:17 AM
Reply to this message Reply
Advertisement
I'm currently trying to make a demo program that shows the user how to use my game. I want to have the mouse move to a specific button, click, etc. With C its not too difficult but im new to JAVA. Please help.


mausam

Posts: 243
Nickname: mausam
Registered: Sep, 2003

Re: Mouse movement Posted: Sep 21, 2003 9:56 PM
Reply to this message Reply
In java its even more easier friend.

Use the mouseListener and mousemotin lisner.

How to do that??

http://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html

http://java.sun.com/docs/books/tutorial/uiswing/events/mousemotionlistener.html

Hope that will help

Flat View: This topic has 1 reply on 1 page
Topic: help needed in snmp in java....!!!!! Previous Topic   Next Topic Topic: Rounding In Java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use