Can I make a JAVA GUI listener without AWT?

Asked 1 years ago, Updated 1 years ago, 75 views

I am an introductory Java developer who is studying with an Internet tutorial, and I learned how to create a full-screen GUI application. By the way, my program says that the previous version of AWT is not available. I already know a lot of Windows components, and I'm using the event listener on the mouse and keyboard in the main program. Can't I use AWT anymore? How can I make a program without AWT? Are there other swing classes that can replace AWT?

swing java awt layout listener

2022-09-22 13:43

1 Answers

I think you misunderstood. You can use the old version of the AWT component instead of the swing component. Because the swing component is based on the AWT component, you can use the AWT Lister structure and layout managers to use the swing. In other words, you can't even use the swing without the AWT component.


2022-09-22 13:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.