import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public DemoComboBox() {
String s1 = "<html><font color=red>Nama:</font></html>";
labelNama = new JLabel(s1);
labelNama.setLocation(10, 10);
labelNama.setSize(labelNama.getPreferredSize());
String s2 =
"<html><font color=red>Tanggal Lahir:</font></html>";
labelLahir = new JLabel(s2);
labelLahir.setLocation(10, 55);
labelLahir.setSize(labelLahir.getPreferredSize());
frame.setVisible(true);
}