I can not get the effect you intend to, or adding sliders JPanel if the elements do not fit in sight.
So I create a JPanel and conjure a method that will place the JLabel etc.
panelHome = new JPanel();
panelHome.setBounds(151, 81, 873, 688);
panelHome.setBackground(Color.GRAY);
panelHome.setLayout(null);
add(panelHome);
Home home = new Home(this, panelHome, "qwerty");
home.showHome();
The method we receive through
JPanel panelHome;
and I add them to the panel elements. Dumped element JLabel distance 1500 Y and try to do to the slider, but I can not figure out how to do it. I'm looking at different sides, to something and I do not give advice. How will add something, it's just the elements cease to appear so. How do I do?
PS: I help myself with Google Translate. My English is medium.