예제 #1
0
 /// <summary>Run the GUI.</summary>
 /// <remarks>
 /// Run the GUI.  This program accepts no command-line arguments.
 /// Everything is entered into the GUI.
 /// </remarks>
 public static void Main(string[] args)
 {
     //Schedule a job for the event-dispatching thread:
     //creating and showing this application's GUI.
     if (IsMacOSX())
     {
         Runtime.SetProperty("apple.laf.useScreenMenuBar", "true");
     }
     SwingUtilities.InvokeLater(null);
 }
예제 #2
0
 /// <summary>Run the GUI.</summary>
 /// <remarks>
 /// Run the GUI.  This program accepts no command-line arguments.
 /// Everything is entered into the GUI.
 /// </remarks>
 public static void Main(string[] args)
 {
     //Schedule a job for the event-dispatching thread:
     //creating and showing this application's GUI.
     SwingUtilities.InvokeLater(null);
 }
            public override void Run()
            {
                string taggedStr = Edu.Stanford.Nlp.Tagger.Maxent.MaxentTaggerGUI.tagger.TagString(s);

                SwingUtilities.InvokeLater(null);
            }