i am into development of authoring tool using swings. the current requirement is to create a table with the no.of rows and cols. equal to user input. the resizing of the rows and cols, the entering of content(text/image) into the cells of table and simultaneous html source code generation has to be done. I used JTable but am not able to generate html source code. if i use table from html package, the tracking of mouse and keyboard events in order to generate html source code has become tedious. kindly show me a way to acheive this