Cześc mam takie pytanie
- Objaśnij znaczenie instrukcji oznaczonej w poniższym fragmencie programu super()
class Frame_obstacleextends JFrameimplements ActionListener,MouseListener{
Container cp = getContentPane();
intapplet_width=800;
intapplet_height=800;
JButtonprzycisk;
Frame_obstacle() {
super("Okno aplikacji");
cp.setLayout(new BorderLayout());
JLabel lab = new JLabel("Etykieta");
Przycisk = new JButton("START");
przycisk.addActionListener(this);
cp.add(lab);
cp.add(przycisk,BorderLayout.SOUTH);
addMouseListener(this);
pack();
setVisible(true);
}
Ktoś może mi to opisać ?
super("Okno aplikacji");