else if (x+getWidth()>screenBounds.x+screenBounds.width) { // completions don't fit
x = screenBounds.x + screenBounds.width - getWidth();
}
setLocation(x, y);
}
<BUG>public void setParameter(int param, String alreadyEntered) {
</BUG>
model.clear();
if (choicesListList!=null && param>=0 && param<choicesListList.size()) {
List choices = (List)choicesListList.get(param);

else if (x+getWidth()>screenBounds.x+screenBounds.width) { // completions don't fit
x = screenBounds.x + screenBounds.width - getWidth();
}
setLocation(x, y);
}
public void setParameter(int param, String prefix) {
model.clear();
if (choicesListList!=null && param>=0 && param<choicesListList.size()) {
List choices = (List)choicesListList.get(param);
