mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user