0
Can we use close button for closing and terminating the program of awt in java ?
Like we use in swing setDefaultCloseOperation for closing and terminating the program at the same time ... so is there any way we can use the same thing in awt???
2 ответов
+ 4
activity.finish(); (...not sure...)
+ 1
i think it can be done by window listener .. but don't know exactly 😑😑