/* -------------------------------------------------------------------------- */ /* */ /* TEXT MINING DEMONSTRATOR APPLICATION 1 */ /* Frans Coenen */ /* Tuesday 28 February 2006 */ /* */ /* -------------------------------------------------------------------------- */ //import lucsKDD_ARM.*; import javax.swing.JFrame; public class TextMiningGUI_App { /* ------ FIELDS ------ */ // No fields /* ------ METHODS ------ */ /** Main method (to start the "ball rolling"). */ public static void main(String Args[]) { // Create Text mining model TextMiningModel newTMmodel = new TextMiningModel(); // Create parameters input window and set frame size. Thresholds tHoldInputWin = new Thresholds(newTMmodel); tHoldInputWin.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE); tHoldInputWin.setSize(475,300); // Create barch mode input window and set frame size. BatchModeParams bModeInputWin = new BatchModeParams(newTMmodel); bModeInputWin.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE); bModeInputWin.setSize(490,310); // Creat Text mining control module, set frame size and display TextMiningControl newTM_GUI = new TextMiningControl(newTMmodel, tHoldInputWin,bModeInputWin); newTM_GUI.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); newTM_GUI.setSize(700,700); newTM_GUI.setVisible(true); } }