CSC419 ยท 2076 ยท 10 marks
Write a Java program to find the sum of two numbers using swing components. Use text fields for input and output. Your program displays output if you press any key in keyboard. Use key adapter to handle events.
Write a Java program to find the sum of two numbers using swing components. Use text fields for input and output. Your program displays output if you press any key in keyboard. Use key adapter to handle events.[10]
Advanced Java ProgrammingChapter 3: Event HandlingHandling Action Events, Key Events, Focus Events, Mouse Even