1 24 25 package org.objectweb.cjdbc.console.wizard.objects; 26 27 import javax.swing.JComponent ; 28 29 import org.objectweb.cjdbc.common.i18n.WizardTranslate; 30 31 38 public class User extends JComponent 39 { 40 String password; 41 String username = WizardTranslate.get("label.user.undefined"); 42 43 48 public String getPassword() 49 { 50 return password; 51 } 52 53 58 public void setPassword(String password) 59 { 60 this.password = password; 61 } 62 63 68 public String getUsername() 69 { 70 return username; 71 } 72 73 78 public void setUsername(String username) 79 { 80 this.username = username; 81 } 82 83 86 public String toString() 87 { 88 return username; 89 } 90 } | Popular Tags |