Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

simmultate button press

Thread view: 
Eitan M - 10 Aug 2007 14:41 GMT
Hello.
I have a JButton.
I want to do : pressing the button.
(by programming code)

How can I do that ?

Thanks :)
javayahtzee@gmail.com - 10 Aug 2007 16:09 GMT
> Hello.
> I have a JButton.
[quoted text clipped - 4 lines]
>
> Thanks :)

There is one simple way that I know of..

Try the line 'buttonName.doClick();'

that should do the trick.
Roedy Green - 10 Aug 2007 20:51 GMT
>I have a JButton.
>I want to do : pressing the button.
>(by programming code)
see http://mindprod.com/jgloss/jbutton.html#SIMULATE
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.