dcsimg
submit button
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, August 15, 2006 11:20 PM

how to add an action to the submit button that will have the content of a textfield?

Re: submit button

Posted By:   vikas_kumar  
Posted On:   Wednesday, August 16, 2006 05:35 AM



Try out this event handler. this will certainly help you...



private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) {
// TODO add your handling code here:
String text=jTextField1.getText();
jButton1.setText(text);
}

About | Sitemap | Contact