m_listenerFlags.add( "Logging" );
m_listenerFlags.add( "Core" );
Panel flagPanel = new Panel();
flagPanel.setLayout( new BorderLayout() );
flagPanel.add( new Label( "Event Flags: " ), BorderLayout.WEST );
flagPanel.add( m_listenerFlags, BorderLayout.CENTER );
flagPanel.setSize( 100, 10 );
Panel flagPanel2 = new Panel();
flagPanel2.setLayout( new BorderLayout() );
flagPanel2.add( flagPanel, BorderLayout.WEST );
buildCommand( panel, gridBag, c, getRes().getString( "Update Event Listener" ), "listener", flagPanel2 );
buildCommand( panel, gridBag, c, getRes().getString( "Service List" ), "service_list", getRes().getString( "Displays a list of registered services on Windows." ) );
m_serviceName = new TextField( "testwrapper" );
Panel servicePanel = new Panel();
servicePanel.setLayout( new BorderLayout() );
servicePanel.add( new Label( getRes().getString( "Interrogate Service. Service name: " ) ), BorderLayout.WEST );
servicePanel.add( m_serviceName, BorderLayout.CENTER );
Panel servicePanel2 = new Panel();
servicePanel2.setLayout( new BorderLayout() );
servicePanel2.add( servicePanel, BorderLayout.WEST );
buildCommand( panel, gridBag, c, getRes().getString( "Service Interrogate" ), "service_interrogate", servicePanel2 );
buildCommand( panel, gridBag, c, getRes().getString( "Service Start" ), "service_start", getRes().getString( "Starts the above service." ) );
buildCommand( panel, gridBag, c, getRes().getString( "Service Stop" ), "service_stop", getRes().getString( "Stops the above service." ) );
buildCommand( panel, gridBag, c, getRes().getString( "Service User Code" ), "service_user", getRes().getString( "Sends a series of user codes to the above service." ) );
m_consoleTitle = new TextField( getRes().getString( "Java Service Wrapper" ) );
Panel titlePanel = new Panel();
titlePanel.setLayout( new BorderLayout() );
titlePanel.add( new Label( getRes().getString( "Console Title: " ) ), BorderLayout.WEST );
titlePanel.add( m_consoleTitle, BorderLayout.CENTER );
Panel titlePanel2 = new Panel();
titlePanel2.setLayout( new BorderLayout() );
titlePanel2.add( titlePanel, BorderLayout.WEST );
buildCommand( panel, gridBag, c, getRes().getString( "Set Console Title" ), "console_title", titlePanel2 );
m_childCommand = new TextField( getRes().getString( "(Please enter command)" ) );
m_childDetached = new Checkbox( getRes().getString( "Detached (Professional)" ), false);
Panel childPanel = new Panel();
childPanel.setLayout( new BorderLayout() );
childPanel.add( new Label( getRes().getString( "Command: " ) ), BorderLayout.WEST );
childPanel.add( m_childCommand, BorderLayout.CENTER );
childPanel.add( m_childDetached, BorderLayout.EAST );
Panel childPanel2 = new Panel();
childPanel2.setLayout( new BorderLayout() );
childPanel2.add( childPanel, BorderLayout.WEST );