Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to find out the class of form using eclipse?

I am working on a large undocumented application written in swing/awt. I have to make changes to it and i need to find out what class a form belongs to when i open it. Is there a way to do this via eclipse?

For example: I open the application and to do something with the app such that some frame opens. How do i find out the class of that form? Can this be done through eclipse?

I know i can comb trough the logic but this is a very laborious and largely ineffective process, chunks of the logic are either in jar files or obfuscated.

Thanks.

like image 324
LoudNPossiblyWrong Avatar asked Dec 04 '22 23:12

LoudNPossiblyWrong


1 Answers

For figuring out how a given Swing frame is put together, I have found Swing Explorer to be VERY helpful.

https://swingexplorer.dev.java.net/

After installing the Eclipse plugin, note that you need to "Run as ->" to invoke Swing Explorer properly.

like image 50
Thorbjørn Ravn Andersen Avatar answered Dec 09 '22 14:12

Thorbjørn Ravn Andersen