Question: private void performSearchAction( ActionEvent e) { // TODO complete method // before calling search, setText on conectionStatus pass to it searching. // call search and
private void performSearchAction( ActionEvent e) { // TODO complete method // before calling search, setText on conectionStatus pass to it "searching". // call search and pass searchText.getText().trim(). store the result in a variable called list. // after calling search, call populateTextArea( list) // setText on conectionStatus and pass to it "finished". // if exception is thrown, setText on conectionStatus pass to it "failed: " + ex.getMessage(). // don't forget search throws an exception, so use try and catch. }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
