Advanced Java Practical 10
Advanced Java Practical 10
Q1. Write a program to generate KeyEvent when a key is pressed and display “Key Pressed” message.
Source Code:
Output:
Q2. Develop a program which will implement special keys such as function keys and arrow keys.
Source Code:
Output:
Exercise
Q3. Develop a program to accept two numbers and display product of two numbers when user pressed “
Multiply” button
Source Code:
Output: