Removed Swing dependencies from the enhanced text grid model.