Exemple #1
0
  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);
  }
Exemple #2
0
 public Book() {
   send = new JButton();
   nick = new JLabel(Messages.getString("FaceMe.iam"));
   feel = new JTextField();
   init();
 }