Results 1 to 5 of 5
  1. #1
    RTP_123 is offline Member
    Join Date
    May 2012
    Posts
    7
    Rep Power
    0

    Post Point and Click Application

    Hey, I need to create an application, in Ready To Program, in which you can point and click on certain aspects of the application. Could anyone tell me how to code something like this?
    By this i mean there will be a "button" on the output console, and I want the user to be able to point to and click this button; in order to go wherever the button is linked to.
    If you could tell me the method for this, and any other relevant information I would be grateful.

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,785
    Rep Power
    7

    Default Re: Point and Click Application

    You have to attach an ActionListener to the button.

  3. #3
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,785
    Rep Power
    7

    Default Re: Point and Click Application

    If you have a question ask it on the forum so everyone can participate.

    You read all there is on ActionListeners in a very short time!

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Point and Click Application

    Not all will have the Ready To Program library, and this may limit the ability we have to help you, but please show your code and ask your questions regarding your code and we'll try to help you as best we can.

  5. #5
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,785
    Rep Power
    7

    Default Re: Point and Click Application

    From private message:

    "Hey, sorry about that, but I figured it out, thanks for your help. I completely forgot about ActionListener. But I got it working.
    Thanks again"

Similar Threads

  1. Replies: 5
    Last Post: 02-16-2012, 05:16 PM
  2. Replies: 2
    Last Post: 06-22-2011, 01:19 PM
  3. run java application from desktop with double click
    By Rose88 in forum Advanced Java
    Replies: 4
    Last Post: 09-29-2009, 06:32 PM
  4. Replies: 21
    Last Post: 08-01-2008, 11:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •