C:\Users\LagerAndAle\Desktop\Java Sandbox\jpanel\CreateAJPanel.java:23: cannot find symbol
symbol : variable BorderLayout
location: class CreateAJPanel
panel.add(new JButton("print", BorderLayout.NORTH));
Tool completed with exit code 1
Scotty Steven wrote:It works if I remove the BorderLayout.NORTH from the JButton? What am I doing wrong now?
Scotty Steven wrote:I'm not sure what your post means. Went completely over my head.