private void init() { send.setText(Messages.getString("FaceMe.postit")); send.setToolTipText(Messages.getString("FaceMe.tooltip")); feel.setToolTipText(Messages.getString("FaceMe.tooltip")); send.setEnabled(false); setLayout(new GridLayout(3, 1)); add(nick); add(feel); add(send); }
public Book() { send = new JButton(); nick = new JLabel(Messages.getString("FaceMe.iam")); feel = new JTextField(); init(); }