java app with INSERT statement...

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Nov 2007
Posts: 121
Reputation: puneetkay is on a distinguished road 
Solved Threads: 23
puneetkay's Avatar
puneetkay puneetkay is offline Offline
Junior Poster

Re: java app with INSERT statement...

 
0
  #11
Jan 4th, 2009
Hello again,

Lession: How to Write an Action Listener
http://java.sun.com/docs/books/tutor...nlistener.html
Puneet Kalra
www.PuneetK.com
Sun Certified Java Programmer


Admin of Pikk - Object Relational Mapping Framework
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 24
Reputation: jeffreyjs is an unknown quantity at this point 
Solved Threads: 0
jeffreyjs jeffreyjs is offline Offline
Newbie Poster

Re: java app with INSERT statement...

 
0
  #12
Jan 6th, 2009
Thanks for the helping tutorial above... i have yet another question to ask regarding the button thingy... i currently have a entity, which i would like to call using the click of a button, is this possible? Thanks
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,205
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 486
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: java app with INSERT statement...

 
0
  #13
Jan 6th, 2009
That is the main purpose behind action listener that on mouse click you want to get something done
  1. JButton btn = new JButton();
  2. btn.addActionListener(new ActionListener(){
  3. public void actionPerformed(ActionEvent ae){
  4. //call which ever method or numerous methods to do something
  5. //retrieve data from form fields and send it for validation
  6. //get data from database and fill form fields
  7. }
  8. }
Last edited by peter_budo; Jan 6th, 2009 at 5:21 am.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC