How to view the source code from jar file in my own JAVA GUI ?
I have one GUI with one list box to display the list of methods in the class.
I can achieve it using reflection.
But can I view the source code in anotehr text area on selecting the method name ?

I knew about decompilers. but I don't want to see source code in their window.

I want to use some thirdparty lib so that I can see the source code of specific method in my own GUI.

Please suggest is there any API is avaliable for this ?
How to view the source code from jar file in my own JAVA GUI ?
===

I have one GUI with one list box to display the list of methods in the class.
I can achieve it using reflection.
But can I view the source code in anotehr text area on selecting the method name ?

I knew about decompilers. but I don't want to see source code in their window.

I want to use some thirdparty lib so that I can see the source code of specific method in my own GUI.

Please suggest is there any API is avaliable for this ?