Update Theme work.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@6023 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-11-09 22:12:57 +00:00
committed by derek
parent f212113e88
commit 6b11deae23
8 changed files with 20 additions and 9 deletions

View File

@ -56,6 +56,8 @@ public class ChatAreaSendField extends JPanel {
add(button, new GridBagConstraints(1, 0, 1, 1, 0.0, 1.0, GridBagConstraints.EAST, GridBagConstraints.VERTICAL, new Insets(2, 2, 2, 2), 0, 0));
button.setVisible(false);
final JScrollPane pane = new JScrollPane(textField);
pane.setBorder(null);
add(pane, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(5, 5, 5, 5), 0, 0));
@ -66,6 +68,10 @@ public class ChatAreaSendField extends JPanel {
return button;
}
public void showSendButton(boolean show){
button.setVisible(show);
}
public void enableSendButton(boolean enabled) {
button.setEnabled(enabled);
}