i want to start another JFrame from pressing a button in a JFrame. But if I press the Button it shows the JFrame but not the Buttons and Sliders in it.
public c
Try with repaint() or revalidate() at the end of you constructor. And also try with calling setVisible(true) at the end.
repaint()
revalidate()
setVisible(true)