java - this is my first applet. but when i run is using either eclipse or web browser all i get is an empty applet screen. what went wrong? -


import java.util.*; import java.awt.*; import javax.swing.*; //basic applet public class test2 extends japplet { //print method     public void print(graphics g)     {         super.paint(g);         g.drawstring("black mamba", 50, 50);         g.drawrect(25, 25, 50, 100);     } } 


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -