• Post Reply Bookmark Topic Watch Topic
  • New Topic

need a Help(very Urgent)

 
Priya M
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sir/Madam,
We are Developing an Application with Java swings.In this we 've used some of the components and are JFrame,JPanel,SplitPane,JButtons and etc.
In this we've used JButton for the Back and forword function as we have with the I.E.

So the Problem is that
when I click Back Button I need to get the Previous JFrame Contents and for Forword I need to get next JFrame Contents the Function are same as Internet Explorer back and Forword Functions It is an Internet/Extranet application
I'tried with Undo() Package but I did not get the Required Output
Help me to solve this Problem
Thanks in Adv,
Regards,
Bharati
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure exactly what you are trying to display... web pages? help text? images? If it's something dynamic, that the user can choose for themselves( like web pages ), you would be better off defining some sort of stack structure to store previously viewed pages. If it is static information that the user can only go through in a pre-determined path( like pages of text instructions ), you would be better off using CardLayout...

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!