How to track the Back and Forword functiona on a JFrame

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 back and Forword Functions of Internet Explorer.
I'tried with Undo() Package but I did not get the Required Output
Thanks in Adv,

How about the following:
1. Creat a top level container (ie window) with menus,
back/forward buttons etc. using whichever layout
manager is appropriate.
2. Create a panel, and add it to this window. Set the
panel to use card layout manager.
3. Display all output from your app in the panel, and
let the window's back/forward buttons call the
appropriate methods on the card layout manager.
Thanks for reply,
But i had done the same thing i.e icreated a top level(using JFrame) for the buttons menus and etc.
then using the layouts manager.
created a panel andused cardlayout manager but my problem is taht when i add those conetents(called panel contents of the frame) as component and add it this panel then i am geeting thaierror stating
java.lang.IllegalArgumentException: adding a window to a container
so that is the problem i.t it is not get added to the newpanel.

Similar Messages

  • All I get in the menu bar when I open Firefox IS "Firefox"--no bookmarks, no nothing. How canI get bookmarks back and Firefox functioning.

    I have used Firefox forever. (I also use Thunderbird.) When I opened Firefox all I get now in the menu bar is the word "Firefox" with the "About Firefox," "Preferences," etc. list. Nothing else. I cannot open Firefox and I cannot quit it, either. I can do nothing with it at all. How can I get it back. I need my hundreds of bookmarks.
    I use a MAC with Lion 10.7.5
    Please help. Thank you.
    Michael A. Smith

    Try to repair the disk permissions:
    *http://thexlab.com/faqs/repairprocess.html
    Try to remove the Firefox plist file (org.mozilla.firefox.plist).
    *http://www.macfixit.com/article.php?story=20060606082246983 How .plist files become corrupt and troubleshooting the results
    Go to "~/Library/Preferences" and remove the plist file for Firefox (org.mozilla.firefox.plist)

  • I dont have the awsome bar or the home and i also dont have the back and forword buttons how would i get them back?

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/794662]''
    i dont the a sarch bar or the back button or forward buttons how do i get them back

    * In Firefox 3.6 versions on Windows and Firefox 4 on Windows and Linux it's possible to hide the "Menu Bar" via "View > Toolbars" or via the right-click context menu of a toolbar.
    * Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    * Go to "View > Toolbars" or right-click the "Menu Bar" or press Alt+V T to select which toolbars to show or hide (click on an entry to toggle the state).
    See also:
    * [[Menu bar is missing]]
    * http://kb.mozillazine.org/Toolbar_customization

  • After the most recent firefox update I can no longer copy and paste. the fuinction only works in Windows and I HATE usign it. Any suggestions on how to restore the copy and paste function while using Mozilla?

    I have been unable to use the copy and past command while using mozilla. the fucntion does work in windows IE, but I don't want to use windows. How do I restore or fix this function? I varies, works some days and not others.

    See http://kb.mozillazine.org/Clipboard_not_working
    Try to use the keyboard if the buttons on the web page aren't working.
    * Copy: Ctrl+C or Ctrl+Insert
    * Paste: Ctrl+V or Shift+Insert
    * Cut: Ctrl+X or Shift+Delete

  • How to use the Back and Next navigation buttons on the Skin

    Hi,
    I am a Tech Writer using RH7 for my current project. We are using a skin created by our company. I am not able to include the navigation buttons "Next" and "Previous" in my Webhelp output. They are shown in the skin editor (Picture attached), but not reflecting int he output. Can anyone help me with this. You can also suggest any alternative ways of navigation. "Next" option is mandatory for me.
    Vinay Jaassiel Kankipati.
    Technical Writer

    Hi there
    See if the link below helps with that.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How to supress BACK and FORWORD button in the explorer..?????

    hi all,
    in my web dynpro application i want to supress the BACK and FORWORD button in the explorer.is there any way to supress it???
    if anybody know,please give me the solution.
    thanks in advance,
    Subhasis

    Hi Subhasis,
    The button cannot be effectively supressed. The browser effectively prevents this by various methods. Therefore, Web Dynpro ABAP educates the user not to press the back button by detecting such a user action and displaying a text message. Afterwards, the proper page is rendered.
    Best regards,
    Thomas

  • How to disable the dashboard and spotlight for the latest Iion OS

    How to disable the dashboard and sportlight function in the latest Mac OS?

    to disable spotlight, open the terminal and type "sudo mdutil -a -i off" without the quotes. ( You will be prompted to enter your admin password.)
    to disable dashboard:
    Open Terminal, and then type this command, followed by the Return key:
    defaults write com.apple.dashboard mcx-disabled -boolean YES
    This tells the system that you no longer wish to have Dashboard available. However, the Dashboard task is actually “owned” by the Dock, so to make your changes take effect, you need to restart the Dock. The easiest way to do that is to type this command into the Terminal (and press Return when done):
    killall Dock
    After the Dock restarts, hit F12 and you’ll see…nothing at all. If you run Activity Monitor, you also won’t find any Dashboard widgets in the list of tasks, even if you had several open when you ran the above command.

  • Hi, I followed the instructions to apply for the Made For iPhone Program. After submission of the necessary documents and information, I have not heard back from Apple. How to track the application progress? Can someone help?

    Hi, I followed the instructions from Apple MFI website, to apply for the Made For iPhone Program. After submission of the necessary documents and information, I have not heard back from Apple for couple weeks. How to track the application progress? Can someone help? < Edited by Host >
    Thank you.
    Best Regards,
    Gerald

    Hi Gerald
    This is a user-to-user forum, and your message will not be received by Apple. You will need to sign into your Developer/MFI account, and contact Apple that way. This can be done here.
    P.S Please do not post your e-mail address here.
    Taylor

  • How do i make the back and forward buttons function? they are visible but not functional.

    I have firefox 8.0.1 and my back and forward button are not working. They are visible but not functioning. I have tried starting in safemode and without any add-ons and the back and forward buttons are still not functioning. What do I need to do to make the buttons functional?

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • BizTalk Tracking Profile Editor not tracking the data and how to implement the Orchestration as wcf service over SSL

    Hi Ashwinprabhu,
    thank you very much for your answer.
    i have one more query, I have orchestration published as wcf service in IIS and internally orchestration calling one more service , it means orchestration sending a request and getting response back from the service.
    actually we are implementing the copy of that called service through biztalk orchestration for system automatic and tracking failed messages and n/w failures.
    But tracking profiler not tracking the Data.
    And we need to develop the http service as https(Over SSL), we implemented in iis using self 
    signed certificate, it is working just browser for wsdl(in browser), we are not able to test the service in wcf test client, it is giving wsdl error, in wsdl schema reference showing with HTTP only,
    please help me how to resolve the issue.
    Teegala

    First things first, I think it's best to publish only schemas as WCF service for dependency management reasons. That said - WSDL availability is covered in the WCF adapter under the behaviors. If you're using HTTPBasic this may be hard to modify, but using
    WCFCustom allows you to add the WSDL behavior and specify that it should be available via HTTPS.
    As to the BAM, are you using TPE within the orchestration or at the port level?  I'd imagine your TPE tracks the start and end events of your orchestration using the Orchestration Schedule.  If you're fairly confident that the TPE is correct and
    yet don't see BAM data 1) make sure your SQL Agent is running healthy and all jobs look OK and 2) check the TDDS tables in both the message box and the BAMPrimaryImport databases.  These will show you if there has been some sort of sync issue. There's
    even a TDDS errors tables - so check that out.
    Kind Regards,
    -Dan
    If this answers your question, please Mark as Answer

  • My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    The amount of storage that is shown on the box and in Settings are calculated differently - the package uses 1 billion bytes as a gig (i.e. decimal), whereas in Settings it's shown as the binary definition : http://support.apple.com/kb/TS2419
    Also some space has been used for iOS, the built-in app and some space is lost due to formatting.

  • How do I disable the back and forward gestures in F9 for OSX Lion?

    The new gestures in Firefox 9 for OSX Lion that enable you to browse forward and backward with a two-fingered swipe are driving me crazy.
    I like the idea, but it's way too sensitive. Every time I'm trying to scroll up or down a page (which also uses two fingers), I accidentally go back because I apparently don't have the skills to swipe up and down the track pad in a perfectly vertical line.
    If the feature was adjusted so that the back and forth swiping wasn't so sensitive, this would be a wonderful feature. But as it currently is, it's destroying my browsing experience in Firefox to the point where I'm considering switching browsers.
    I haven't found a way to disable just this feature and only in Firefox. Help?

    You can set the related <b>gesture</b> prefs to an empty string value on the about:config page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access the about:config page.<br />
    *Use the Filter bar at the top of the about:config page to locate a preference more easily.
    Filter: <b>gesture</b><br />
    Double-click the line with the gesture pref that you want to disable and clear its value.
    *http://kb.mozillazine.org/about:config

  • Does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"

    does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"

    Go to iTunes>Preferences>Devices and highlight the backup you want to delete and click on Delete Backup

  • My daughter used her friends apple account to login on her ipad and then the mother of her friend thought it was being hacked and consequently tracked the ipad and my daughter lost all her photos.  Can we get these back?

    My daughter used her friends apple account to login on her ipad and then the mother of her friend thought it was being hacked and consequently tracked the ipad and my daughter lost all her photos.  Can we get these back?

    Your iOS device backup only includes data and settings stored on your device. It doesn’t include data already stored in iCloud, for example contacts, calendars, bookmarks, mail messages, notes, shared photo albums, iCloud Photo Library beta, My Photo Stream, and documents you save in iCloud using iOS apps and Mac apps.

  • How to track the login time and logout times of clients

    hai
    please give me the solution
    suppose there are 5 systems connected in LAN.
    how to track the login time and logout times of clients
    for a given time(may be one day or 1 hour) using any programming language.
    please give me the solution

    When the client logs in you write the client's ID and the current time to a database. Likewise when the client logs out. Assuming of course that you have a program that knows when those events occur.

Maybe you are looking for

  • IPad cannot be synced. An unknown error occurred (-50)

    The longer I use iTunes 11, the more I'm convinced there are some serious internal issues... Every few days, my iPad refuses to Sync with my 10.7.5 Server over wireless.   Always "an unknown error occurred" -- usually -10046 -- though recently it's b

  • Reconnect clips to source audio file

    I have a FCP project with audio clips cut from a longer one hour clip. When I send my first audio clip to Soundtrack, filter it, I see that the entire one hour audio clip has been filtered. I send the clip back to FCP and continue editing. When I get

  • How to import multi-value reference with Granfeldt PowerShell MA?

    Hi, I am trying to import multi-value reference into FIM (Group object). I can import all attributes from source SQL, except Multivalue reference (into members attribute on Group object). I have defined schema like this: $obj = New-Object -Type PSCus

  • Selct query error

    Hi all I made a select query and its giving me a strange error. "Unknown column name "a~BUKRS". not determined until runtime, you cannot specify a field list."           Plz suggest...   select a~bukrs          a~fkdat          a~spart          b~vbe

  • What is needed to develop web services with DI Server using C #?

    Hi, What is needed to develop web service using DI Service ad C#? Does anyone have any examples? thanks, Willian