public class TryWindow extends JFrame implements eWirelessAPIListener, WindowListener, ActionListener
{
protected String rcStrings[] =
{ "eOK",
"eOperationPending",
"eErrFailed",
"eErrMemoryFailure",
"eErrInvalidParameter",
"eErrQueueAlreadyRegistered",
"eErrForcePasswordChange",
"eErrCoreNotStarted",
"eErrNotInitialized",
"eErrNotSupported",
"eErrModemInitFailed",
"eErrCommPort",
"eErrTooManyInterfaces",
"eErrInvalidConfiguration",
"eErrBadState",
"eErrNdisNotConfigured",
"eErrNoActiveInterface",
"eErrTimeout",
"eErrPassword",
"eErrProtocol",
"eErrAuthorizationRequired",
"eErrGatewayDown",
"eErrAccountDeleted",
"eErrAccountUnknown",
"eErrAlreadyConnected",
"eErrOperator",
"eErrVersion",
"eErrAccountLocked",
"eErrAccountExpired",
"eErrInvalidNewPassword",
"eErrInitUnknown",
"eErrModemConnectFailed",
"eErrAddressNotAvailable",
"eErrAddressInUse",
"eErrDestinationInvalid",
"eErrBufferTooSmall"};
protected eWirelessAPI api;
protected eInterfaceHandle hInterface;
Vector hInterfaces;
protected String displayString;
//The window object
static JFrame aWindow;
JScrollPane logevents;
JTextArea logging;
JTextField cName;
JButton conButton,startButton,stopButton;
public JMenuBar menuBar = new JMenuBar(); //Window menu bar
public JMenuItem dConnectMenuItem,getActIntMenuItem,getAllIntMenuItem,getConIntMenuItem,getNetCapMenuItem,getNetStatMenuItem,getStatMenuItem,getNetSpecMenuItem,resetStatMenuItem,