Tweet
import java.awt.*;
import javax.swing.*;
/*
<applet code="label" width=300 height =100>
</appelet>
*/
public class label extends JApplet
{
public void init()
{
Container contentPane=getContentPane();
ImageIcon i=new ImageIcon("Spain.gif");
JLabel j1=new JLabel("Spain",i,JLabel.CENTER);
contentPane.add(j1);
}
}
Create an image alongwith string with Java Applet
Posted by
LAHAUL SETH
~
Create an image alongwith string with Java Applet
2012-01-19T13:10:00+05:30
LAHAUL SETH
Java
|
Java Applet
|
Comments
Create an image alongwith string with Java Applet
2012-01-19T13:10:00+05:30
LAHAUL SETH
Java
|
Java Applet
|