Previous function of CardLayout not working?

前端 未结 2 1005
礼貌的吻别
礼貌的吻别 2021-01-23 10:57

The next function of my cardlayout is working properly, but previous isnt. As far as I\'m concerned, just having \"layout.previous(_);\" in the actionPerformed method b

2条回答
  •  余生分开走
    2021-01-23 11:33

    No. I think its not gonna work that way. Simply clicking the previous button will not bring anything back. You should save your entries somewhere else and load them to corresponding fields when clicking on the previous button.

提交回复
热议问题