At the moment we have displayed components, adding them to applications, and they work to the extent that you can press the buttons, select from the list etc., however they do not currently interact with your own code. If we want to use these components we must be aware of how the An Button b = new Button("Test Button"); b.addActionListener(this); Where The application should display which button is pressed in the
Some notes about this code segment:
The
The
The These notes are copyright Dr. Derek Molloy, School of Electronic Engineering, Dublin City University, Ireland 2013-present. Please contact him directly before reproducing any of the content in any way. |