mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Fixed loss of focus with ctrl + f
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5548 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -91,6 +91,10 @@ public class JContactItemField extends JPanel {
|
||||
|
||||
}
|
||||
|
||||
public void dispose(){
|
||||
popup.dispose();
|
||||
}
|
||||
|
||||
public void setItems(List list) {
|
||||
this.items = items;
|
||||
}
|
||||
@ -183,6 +187,18 @@ public class JContactItemField extends JPanel {
|
||||
textField.setText(text);
|
||||
}
|
||||
|
||||
public void focus(){
|
||||
textField.requestFocus();
|
||||
}
|
||||
|
||||
public JTextField getTextField(){
|
||||
return textField;
|
||||
}
|
||||
|
||||
public JWindow getPopup(){
|
||||
return popup;
|
||||
}
|
||||
|
||||
class PopupRenderer extends JLabel implements ListCellRenderer {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user