java setVisible doesnt work (JPanel)

I have 2 JPanels in different classes. One is named "App" (main) and one "Console". I want to show console, when App starts (in the main part). I tried this:

new Console().setVisible(true)

but this doesn't work.