Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

While mouse button is pressed

 
Ulvi Cetin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to display images while the mouse button is pressed and stop displaying them when it is released. I can detect if and when the button is pressed (by mousePressed(MouseEvent e)) but how can I detect if it is released inside mousePressed(MouseEvent e)? Anyone has any ideas?
Thx.
Ulvi.
 
ali rafiq
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think it may be help full athere
 
Ashish Mahajan
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, This is not the ans. to the ques.
Ali, the html file for swing namely (home1.htm) contains a serious virus.
Here is what i get from Norton Antivirus :-
Object Name : C:\Documents and Administrator\Locale settings\..\home1[1].htm
Virus Name :HTML.Redlof.A
Action Taken :Unable to repair this file
upon searching the net for virus i get the foll link :-http://securityresponse.symantec.com/avcenter/venc/data/html.redlof.a.html
Ali, if u r lurking here, let us know that u have read this post and that u r going to remove the virus immediately. If we don;t get reply from u, we will post in a separate thread. I don;t want any of my friend's comp being crashed.
I hope u will take immediate action.
 
ali rafiq
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have understand ur problam about the extension of home.htm.. now im changing it
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic