Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

G4P question

$
0
0

@Quark

Hi,

I have a drop list but once I have selected a value it doesn't display in the drop list box. I get the value like this:

intListIndex = lboxLine.getSelectedIndex()-1;

Then I try to set the selected value like this:

lboxLine.setSelected(lboxLine.getSelectedIndex());

Can you advise please how to make the drop list show the value that has previously been selected?


Viewing all articles
Browse latest Browse all 2896

Trending Articles