public class HalloGUI extends JFrame{
public HelloGUI(String title)
{
// Some explanation about this method
super (title);
/*Why super(title)? What is the usage of super() */
/* Here some other codes */
}
}
I don't understand the usage of super(title);
. I know that title is a parameter of the method super(), but why does ine use it? Do you really need to use it? What is the function of super(title);
in this code?