IntelliJ IDEA uses a different approach to GUI forms, instead of extending JFrame, it hides all GUI code in .form files and instantiates the form in main() of Bound class.
Now for example, I have two forms in the project. Login and Page.
In any other IDE, I would have called Page.java after successful login using
Page page = new Page();
it works because Page extends JFrame class and thus has setVisible() method. But how do I do that in Intellij?