Can someone please explain to me the use of super(t) in the following code. Thanks alot.
import javax.swing.*;
import java.awt.*;
public class ComponentExample(String t){
super(t);
Container cp = getContentPane();
cp.add(new JButton("Click", "North");
pack();
}


Reply With Quote


Bookmarks