depricated method removed

cusax-fix
Yana Stamcheva 20 years ago
parent 57277e469d
commit 509b97e22c

@ -36,15 +36,21 @@ public SIPCommComboPopup(JComboBox combo)
{
super(combo);
}
/**
* Implementation of ComboPopup.show().
* Makes the popup visible if it is hidden and makes it hidden if it is
* visible.
*/
public void show() {
setListSelection(comboBox.getSelectedIndex());
protected void togglePopup() {
if ( isVisible() ) {
hide();
}
else {
setListSelection(comboBox.getSelectedIndex());
Point location = getPopupLocation();
show( comboBox, location.x, location.y );
Point location = getPopupLocation();
show( comboBox, location.x, location.y );
}
}
/**

Loading…
Cancel
Save