Hej
- Kidy się stosuje JFrame a Applet, jaka jest zasadnicza różnica?
- Mam taki kod:
import java.applet.Applet;
import java.awt.Color;
public class nowe extends Applet
{
Applet aplecik = this;
public void init()
{
aplecik.setSize(400, 600);
aplecik.setBackground(Color.magenta);
}
}
Okno się pojawia ale jednocześnie z taki komunikatem: "Warning: Can't read AppletViewer properties file: C:\Documents and Settings******.hotjava\properties Using defaults."
Co robię źle?
dodanie znacznika <code class="java"> - fp