Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Re: how to show hashmap value in a textbox

Sun Jul 29, 2012 2:24 am

no , you will change the value of textfield inside the listener function :
Code:

        
final JTextField jTextField = new JTextField();
         
         
insert.addActionListener(new ActionListener() {

            public 
void actionPerformed(ActionEvent e) {
                
jTextField.setText("your test Here.");
            }

        });
 




Post a reply
  Related Posts  to : how to show hashmap value in a textbox
 HashMap class with generics     -  
 Print the content of hashMap object     -  
 AutoComplete TextBox     -  
 Disable TextBox html by php     -  
 add data from form1 textbox to form2 combo box     -  
 calling method to form- displaying textbox data in messagbox     -  
 Re: An example show what is LAN     -  
 show the content of set     -  
 image slide show     -  
 Show Progress Bar using JQuery     -  

Topic Tags

Java Collections