Created
September 24, 2011 13:54
-
-
Save Kagee/1239348 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.BorderLayout; | |
import javax.swing.JButton; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import javax.swing.JToolBar; | |
public class ChlMiniprosjekt1 extends JFrame { | |
public ChlMiniprosjekt1(){ | |
super("GridBagMaker"); | |
JToolBar t = new JToolBar(); | |
add(t,BorderLayout.NORTH); | |
pack(); | |
setVisible(true); | |
} | |
public static void main(String [ ] args){ | |
new ChlMiniprosjekt1(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment