setLayout(new BoxLayout(pnlMain, BoxLayout.Y_AXIS));. Edit: Here is the main function inside my JFrame extension class. Above the function is just the creation ...
確定! 回上一頁