When I click cancel on this below option it throws
alot of errors how to handle this???
Thanks Lisa
//prompt for server and port number.
serverPort = (
String)JOptionPane.showInputDialog(flightTable, "Enter the server and port number of the network database. \n I.E. Server:Port");
serverPort = serverPort.trim();
if (serverPort.equals("") | | serverPort.equals(null)) // user has not entered a server
JOptionPane.showMessageDialog(flightTable,"You have not enter a server and/or port.","Server Error", JOptionPane.ERROR_MESSAGE);
else{ //user entered a server
.
.
.
.
.