An eclipse plug-in is being developed over the past few days. Some of the functions are to read information in Excel and generate some new Excel files.
The problem is that the project uses the jxl. jar package for Excel file operations,In the main function, writeCode, No problem. However, when you place the same code in the response function of the shortcut menu of the plug-in, or in the message response function of the completion button of the wizard dialog box, the Code cannot be used.
When a breakpoint is added for debugging, the try-catch exception cannot be caught,ProgramWill directly jump to eclipse related events, message sending and other exception handling places, very strange.
Currently, the work und is to use C ++ or C # To develop the Excel operation function, and then call the EXE file in Java to implement the response function.