posted 18 years ago
i cant seem to figure this out, or why it does this.
panel3 = new JPanel(new BoxLayout(panel3,BoxLayout.Y_AXIS));
This line of code does not work, it makes a awt error. yet when i type it this way:
panel3 = new JPanel();
panel3.setLayout(new BoxLayout(panel3, BoxLayout.Y_AXIS));
this works.
i dont get it. Can someone please explain this to me.
("Anger is not an emotion, its a symptom of fear.")