1 19 20 package org.netbeans.modules.exceptions.settings; 21 22 import java.awt.BorderLayout ; 23 24 final class ExceptionsPanel extends javax.swing.JPanel { 25 26 private PasswordPanel panel; 27 28 ExceptionsPanel() { 29 initComponents(); 30 } 32 33 private void initComponents() { 34 setLayout(new BorderLayout ()); 35 panel = new PasswordPanel(); 36 add(panel, BorderLayout.CENTER); 37 } 38 39 public void load() { 40 panel.load(); 41 } 42 43 void store() { 44 panel.store(); 45 } 46 47 boolean valid() { 48 return panel.valid(); 49 } 50 51 protected String getUserName(){ 52 return panel.getUserName(); 53 } 54 55 protected String getPasswd(){ 56 return new String (panel.getPasswd()); 57 } 58 59 60 61 } 62 | Popular Tags |