simmultate button press

Discussion in 'Java' started by Eitan M, Aug 10, 2007.

  1. Eitan M

    Eitan M Guest

    Hello.
    I have a JButton.
    I want to do : pressing the button.
    (by programming code)

    How can I do that ?

    Thanks :)
     
    Eitan M, Aug 10, 2007
    #1
    1. Advertising

  2. Eitan M

    Guest

    On Aug 10, 10:37 am, "Eitan M" <nospam@nospam_please.com> wrote:
    > Hello.
    > I have a JButton.
    > I want to do : pressing the button.
    > (by programming code)
    >
    > How can I do that ?
    >
    > Thanks :)


    There is one simple way that I know of..

    Try the line 'buttonName.doClick();'

    that should do the trick.
     
    , Aug 10, 2007
    #2
    1. Advertising

  3. Eitan M

    Roedy Green Guest

    Roedy Green, Aug 10, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sara T.

    Problem on press button

    Sara T., Jul 16, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    292
    Sara T.
    Jul 16, 2003
  2. Rainer Halanek

    how to press a button programatically?

    Rainer Halanek, Oct 15, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    413
    Rainer Halanek
    Oct 15, 2003
  3. Replies:
    2
    Views:
    350
    S. Justin Gengo
    Nov 21, 2003
  4. Loke Kit Kai
    Replies:
    2
    Views:
    7,648
    Saravana [MVP]
    Dec 1, 2003
  5. Dan
    Replies:
    7
    Views:
    30,281
    cathal_mchale
    May 18, 2009
Loading...

Share This Page