Java Programming/Graphics/Drawing complex shapes
From Wikibooks, the open-content textbooks collection
public class Hello{ JLabel label=newJLabel("Hello, Mundo!"); JFrame frame=new JFarme("BK*"); frame.add(label);
frame.setSize(300, 300); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); frame.setLocation Relative To(Null); frame.toFRont(); } }