/// <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); }
/// <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); }