Navigating between multiple panels

后端 未结 2 1789
不知归路
不知归路 2021-01-26 00:17

Can anyone tell me how to go about coding for navigation between multiple JPanel classes taking the event trigger from JButton from the objects (panels

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-26 01:14

    You can use JMenu with JMenuItems instead of to use the JButton for switching betweens Cards

提交回复
热议问题