pankaj saxena wrote:And another page that extends JPanel.
pankaj saxena wrote:
Can i call a JPanel page from a click on JButton?
Can i call a JPanel page from a click on JMenuItem?
If you meant this to be- making the JPanel visible on the click of a JButton or JMenuItem- You can initially set the JPanel to visible as False. And in the actionPerformed method you can set the visibility to True.
If you can provide details as asked by Pete, it will help you get quicker and correct response