Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: mouse event code help

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default mouse event code help

    i need a java code which by mouse click make a thin line to a thick line?

    thanks


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: mouse event code help

    Which part of this is giving you trouble? Break your problem down into (much) smaller steps, and take those steps one at a time. Which step are you stuck on?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. [SOLVED] Code from textbook not working and I don't know why--Event-driven programming
    By BloomingNutria in forum What's Wrong With My Code?
    Replies: 12
    Last Post: May 9th, 2012, 08:58 PM
  2. Is it possible to use same event code for several objects?
    By stab in forum Object Oriented Programming
    Replies: 4
    Last Post: September 27th, 2011, 12:12 PM
  3. How to detect mouse event while painting in a loop
    By r9reen in forum AWT / Java Swing
    Replies: 6
    Last Post: March 1st, 2011, 01:58 AM
  4. Automating a Mouse Event
    By zarov in forum Java Theory & Questions
    Replies: 1
    Last Post: December 11th, 2010, 01:42 AM
  5. How to get Mouse Position even if it is not within our application?
    By Freaky Chris in forum Java Code Snippets and Tutorials
    Replies: 0
    Last Post: April 29th, 2009, 12:41 PM