0
Hello. I understand that people use the method invokeLater
of SwingUtilities
when extending directly the class JFrame
and initialize it in the method main
. But what if I happen to have one JFrame
as an attribute within a class which does not extend any other class, I must still use this method, no matter where exactly the JFrame
, but because it is present in the code?
I think I understand it better now. The method does something different than I imagined. Thank you for the answer!
– Nona Mi