We are working on a Java program with a GUI and we are looking for a tool that shows us which parts of code are executed as we click on the buttons in the GUI. Any suggestions ? Thanks in advance
GUI stands for Graphical User Interface. It refers to an interface that allows one to interact with electronic devices like computers and tablets through graphic elements. It uses icons, menus and other graphical representations to display information, as opposed to text-based commands.
GUI Component classes, such as Button , TextField , and Label . GUI Container classes, such as Frame and Panel . Layout managers, such as FlowLayout , BorderLayout and GridLayout . Custom graphics classes, such as Graphics , Color and Font .
In Java applications, the components that comprise a GUI (Graphical User Interface) are stored in containers called forms. The Java language provides a set of user interface components from which GUI forms can be built.
Eclipse with debug mode can do that, you just need to put break points in your listeners and click on the buttons.
It works out of the box with eclipse... a simple run Debug and it's done.
The simplest approach is to use print statements. If you require more sophistication, either use an IDE (e.g. Eclipse, NetBeans, and etc.) in debug mode, or some logging mechanism (e.g. log4j).
Personally, I use BlueJ debugger:
http://www.stfrank.com/debug-21.png
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With