Now i already have a panel with 25 Jbutton and its shows on the frame, but i neeed other panel with other information so i created another panel and add to this a button for example. But the location of this a dont know how to set it. Some advice for this. Remember i have other panel and i want the new one on the left side from panel with buttons
JPanel panel = new JPanel();
panel.setSize(100,100);
jPanel.setBorder(new TitledBorder(new EtchedBorder(), "hi"));
JButton b = new JButton("test");
panel.add(b);
frame.getContentPane().add(panel);