Hi vprise, what if I wanted to put in dynamically generated values for the List? e.g ComboBox wyearBox=new ComboBox(); for(int i=1989;i<2010;i++) { wyearBox.addItem(""+(i+1)); }
This I could do normally, but I to create such a scenario with the GUI Builder? Thanks for your patience :)
Hi vprise, what if I wanted to put in dynamically generated values for the List? e.g ComboBox wyearBox=new ComboBox(); for(int i=1989;i<2010;i++) { wyearBox.addItem(""+(i+1)); }
This I could do normally, but I to create such a scenario with the GUI Builder? Thanks for your patience :)
jibike 11 months ago
@jibike You can click the "List Model" button in the events tab or just override setListModel in the state machine to write whatever model you want.
vprise 11 months ago