adds a new menu item to the menu Documents whenever a new file is opened
shows that this is the current document by seting the state of the current
item to true and of the others to false if a new JCheckBoxMenuItem is created
the name of this item is added to the Vector doc_items if the document is only
reloaded it sets only the states to the corresponding values ui.newdocument is
true if a new document is opened and false otherwise
This class builts the DialogActPanel, a window (instance of JDialog) which shows for
each input or output turn it's role in the dialogue: great, bye, politness formula etc.
Depending on the value of the boolean parameter the method enables or disables
the operations to be done on a document as opening, closing, saving etc.
this class builts a type of widget conataining a textfield and two buttons ,
one for increasing the value in the textfield, one for decreasing the value
This class creates the interface of the application by adding a frame,
a menu, the toolbars and the user interface; a window listener is added so that the
application can be closed thorugh the window manager of the OS.
records the positions where the common substring is retrieved
it has 2 rows and an arbitrary number of columns up to 50 (which is the maximum length of the input string)
pos[0] records the positions in the input string
pos[1] records the positions in the output string
This is the 3rd version of SwingWorker (also known as
SwingWorker 3), an abstract class that you subclass to
perform GUI-related work in a dedicated thread.
holds the toolbar for the actions in the "File" menu, like Save, close, Open, etc
as well as for the other windows related to the main appication:
Translation Panel, Recognized Panel etc;