A Java applet displays a simple label with the text "Kunal" centered on the screen. The applet imports the necessary Java applet and Swing packages. It creates a JLabel object, sets the label text and bounds, adds it to the applet container, and sets the layout as null.
A Java applet displays a simple label with the text "Kunal" centered on the screen. The applet imports the necessary Java applet and Swing packages. It creates a JLabel object, sets the label text and bounds, adds it to the applet container, and sets the layout as null.
A Java applet displays a simple label with the text "Kunal" centered on the screen. The applet imports the necessary Java applet and Swing packages. It creates a JLabel object, sets the label text and bounds, adds it to the applet container, and sets the layout as null.