Java Programming/Graphics/Drawing complex shapes

From Wikibooks, open books for an open world
< Java Programming | Graphics
Jump to: navigation, search

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(); } }

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export