JMenu and Window Contents

I was wondering if someone could show me an example for this question I am posing. I am writing a program in which you select various operations through the menu bar. Now when you click on an operation, I want the content in the window to change, basically what happens in a program. Can I have for example different (psuodocode) content pages (psuodocode) for each different operation in the menu bar. And when the menu item (operation) is invoked on, the content page changes in the same window. Thanks.

Use a CardLayout:
http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html

Similar Messages

  • A bug in Hide Caption Titlebar Plus (2.4.x) causes browser borders to toggle and window content to jump and no addon setting affects this. Can I do anything to fix this except disable the addon?

    Hide Caption Titlebar causes the window content to be displaced when mousing over certain areas and controls. These areas includes mousing over the left window edge as well as leaving any control on the topmost area (buttons, location bar, search bar or tab).
    When this happens the window content is shifted right and up, approx 10 and 5 pixels, respectively, and a border to be displayed around the full inside of the window area, overwriting existing contents, the border being thicker to the left and bottom, and thinnest to the top. This border disappears after about half a second and the content is shifted back to its original position.
    This bug has followed me since FF4 and only disabling the addon makes the glitch go away.

    http://ww2.cs.fsu.edu/~rosentha/linux/2.6.26.5/docs/DocBook/libata/ch07.html#excatATAbusErr wrote:
    ATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated by
    ICRC or ABRT error as described in the section called “ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)”.
    Controller-specific error completion with error information indicating transmission error.
    On some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.
    Unknown/random errors, timeouts and all sorts of weirdities.
    As described above, transmission errors can cause wide variety of symptoms ranging from device ICRC error to random device lockup, and, for many cases, there is no way to tell if an error condition is due to transmission error or not; therefore, it's necessary to employ some kind of heuristic when dealing with errors and timeouts. For example, encountering repetitive ABRT errors for known supported command is likely to indicate ATA bus error.
    Once it's determined that ATA bus errors have possibly occurred, lowering ATA bus transmission speed is one of actions which may alleviate the problem.
    I'd also add; make sure you have good backups when ATA errors are frequent

  • Finder/Window-Content not responding to changes and doesn't refresh

    Hi,
    i have a very strange Problem with the Finder since i upgraded to 10.6.4. The Finder doesn't react to changes from certain Applications.
    I noticed the effect in the Folder 'Downloads', f.e. if i try to download a file. Usually two files appear, the intended file with 0 kB and another temporary file. After the download is complete the temporary file will be deleted and only one file remains.
    Usually the whole process is visible and shown in the finder window. After the update it isn't which means that if i download a file, the Window content does not reflect the changes and the new files are not shown, even after the download is complete. To see the new files i have to trigger a change, either by creating a new folder or by changing the location (moving up a level).
    Interesting enough this only happens with certain Applications like Firefox or 'the Unarchiever' (a compression tool). If i download a file with Safari the temporary files and the downloaded files are shown in the window content without manually triggering a change. If i use 'keka' (another compression tool) the changes are also immediatly shown.
    In order to narrow down possible errors i have taken different approaches:
    a) i intently scanned and watched the console and read all error reports. There are no errors shown (with firefox or the unarchiever).
    b) I created a new user profile and the effects are the same.
    c) i ran 'disk utilities' and scanned the Access priviliges. Apart from the common problem within /system/java/... there are no problems
    d) i ran 'onxy' to clean the user and system cache. I rebuild the LaunchService Database.
    I didn't fix my Problem.
    That leads me to conclude that the problem is located in some system-function which is correctly triggered by some applications and apparently not by others.
    My Questions:
    1. Does anyone else has this problem and possibly a fix?
    2. Does anyone know how the finder is triggered by applications in order to refresh a window?
    tia,
    jc

    Hi Jeanclaude,
    You've described the problem well and took some excellent troubleshooting steps
    b) When you created the new profile, were you still engaging your third party apps, or are they installed in log-in items?
    1. It would be interesting to try a Safe Mode startup (It will take more time to startup in Safe Mode because it runs a directory check.)
    2 If step 1 doesn't turn up anything, re-install from your 10.6.x install disk (10.6 has the ability to "install in place" without touching anything other than system specific files.) Just pop in the disk, double-click and follow the prompts. Remember to uncheck language localizations if you don't use them & Printers except the one/ones you use.
    Let us know your results after these 2 steps.
    -mj

  • SCCM 2012 R2 and client content sharing on Windows 7 Pro

    Is it possible to use "Allow clients to share content with other clients on the same subnet" option on Windows 7 Pro clients? It's bit confusing  because based on documentation, branch cache is only available on Windows 7 Enterprise and
    Ultimate editions. Why does Windows 7 Pro have branch cache service when it's not usable?

    Hi,
    Is Branch Cache working with Windows 7 Professional?
    No, it will not work with Windows 7 professional . Only Windows® 7 Enterprise and Windows® 7 Ultimate will support it.
    We can confirm that form the official link below:
    Client computer. A computer at a branch office that is running either Windows 7 Enterprise or Windows 7 Ultimate and that has BranchCache enabled.
    BranchCache Overview
    http://technet.microsoft.com/en-us/library/ee307962(WS.10).aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Keep getting a pop up at the top of many websites I visit 'firefox security error content at *web address* may not load" I am using the most recent firefox and windows 7.

    Keep getting a pop up at the top of many websites I visit 'firefox security error content at *web address* may not load" I am using the most recent firefox and windows 7. This is happening at many sites, such as hotmail, google reader, and many others.

    Sorry, I don't think that is a message from inside Firefox, the wording doesn't sound correct - at least the beginning of that message. My "gut" thinks that is a MSN Live message to explain and compensate for their lack of security with a re-direct from a secure domain to an un-secure domain. ''(the end of that message)''
    {Ctrl + Shft + J} will open the Firefox Error Console - I'm curious what Firefox has to say about that situation. If you find the error message for that domain, you can right-click the message to '''copy''' it and then paste that error message here.
    Maybe '''TonyE''' or '''cor-el''' will be more familiar with the situation at Live and maybe at Google Reader, I don't use either of those services and have never seen a message like that myself.

  • My software is updated to 3.0.2 but I still have the same problem. My content keep on disappearing. Any suggestions? Apple TV, iOS 5.0.1 and windows 7

    My software is updated to 3.0.2 but I still have the same problem. My content keep on disappearing. Any suggestions?
    Apple TV 1st gen., iOS 5.0.1 and windows 7.

    Thank you for your reply. I tried but it didn't work. I also tried rebooting the atv. Any other suggestions?

  • Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Go to the support site for the provider of the MRI software.
    Sounds like it windows/PC. I have ran across that for the CDs that veterinarians provide for digital x-rays.
    I would try on a PC or on yuur Mac with Windows via BootCamp or a virtual machine like VirtualBox

  • Installation Question CS4 Master Collection (Windows Content CD)

    I am running Windows Vista Utlimate SP1-32 bit
    I have installed CD's 1 thru 4 with no issues.  I installed the last CD in the package (it is labeled WINDOWS CONTENT). When I attempt to install this CD, the auto-run feature generates an error message that says "Application not found".  I can access the files through explorer, but I can't get the things to install.
    I am also a VERY new user to Creative Suite.
    Thanks in advance for your help.

    The content is just a collection of goodies that may or may not interest you. Once you get familiar with the individual programs you'll know what to do with the disk. Just keep it handy and check it out from time to time and you'll start to understand what's on there.
    Bob

  • DirectAccess Client not connecting without error code on Windows Server 2012 R2 and Windows 8.1

    Hello,
    we are currently migrating from Windows Server 2012 to 2012 R2 and are not able to get the new Direct Access Service up and running. Our goal is to establish DirectAccess connection for a handful of clients using the IPHTTPS-adapter on the default port 443.
    Errors:
    There is actually no error showing up. It seems the infrastructure tunnel cannot be created but none of the IPv6-transition adapters is connecting (teredo and 6-to-4 are down) and the IPHTTPs adapter gives no informations about a problem:
    >Get-DAConnectionStatus
    Status    : Error
    Substatus : CouldNotContactDirectAccessServer
    >Get-NetIPHttpsState
    LastErrorCode   : 0x0
    InterfaceStatus : Failed to connect to the IPHTTPS server; waiting to reconnect
    Setup:
    Our setup is a virtualized Windows Server 2012 R2 Standard running on Hyper-V. It is located behind a NAT having the Port 443 mapped to the server. The only role installed after the basic install is RRAS including DirectAccess and VPN. The assistants completed
    successfully (running the configuration for DirectAccess and VPN). Operation Status says everything is green und working (for multiple days in the meanwhile). A previous direct access installation (on a different machine running Windows Server 2012) has
    been removed before installing the new server. The new installation is using a different router, so this might also be the cause of a problem.
    The client is a Windows 8.1 notebook located outside the company network accessing the internet through another NAT-device. The client has been able to connect to the previous DirectAccess setup but has never been able to establish a connection after the
    setup of the new Direct Access server. The device has no outbound constraints concerning the NAT-device and is only running the integrated Windows Firewall.
    Diagnosis:
    So far I've done some basic DNS and connectivity checks. The DNS-name can be resolved correctly and the router even responds to pings. The port forward is working and HTTPs connections are generally possible (temporarily routed the port to
    access the NLS-Website located on the server, which worked fine).
    Network monitor shows that both computers are communicating, traffic on the expected Port 443 is incoming on the server and responses from the server reach the client.
    Opening the IPHTTPs-url and in an endless page load. Sometime the browser page closes but I've never seen any result. Using telnet on the port shows that the server is accepting connections. I've even build a small test application that does a GET-Request
    on the URL returning HTTP-200 and no content.
    I'm currently running out of ideas what to do and since no error occurs this is kind of a bit frustrating. Any help appreciated.
    Regards
    Matthias

    Hi,
    In addition, have you disabled the DA client components on the DA client? If no, please also check
    the settings on the Name Resolution Policy Table.
    More information:
    DirectAccess
    Client Location Awareness – NRPT Name Resolution
    In addition, error 0x4C9 means the remote computer refused the network connection. It may be due to the invalid
    registry or corrupt drivers. For more detailed information, please refer to the link below:
    Error 1225 - Error Code 0x4C9
    Note:
    Microsoft is providing this information as a convenience to you. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best regards,
    Susie

  • I am trying to store music for two different iPods on the same computer, against two different Apple IDs. When I try and download content from the Cloud I get an error message?

    I am trying to store music for two different iPods on the same Windows 8 computer, and when I try and download content from the Cloud I get an error message. Is it possible to have two different Apple IDs on the same computer?

    Unfortunately you've discovered too late how important it is to maintain an up-to-date backup of your iTunes library (and all other data of value).  You could, before wiping the drive, have considered making use of a commercial data recovery service that could (albeit at considerable cost) have extracted your library from the hard disk, even if virus infected.
    In the absence of that option, you will need to restore the content of your library from its original sources:
    Depending on your location, you may be able to re-download any iTunes Store purchases that are still available on the Store
    Likewise, most digital purchases from Amazon (including auto-rip copies of purchased CDs) should be available from the Amazon Cloud and via the Amazon Music application - the same may be true of other commercial sources for digital downloads
    Content imported from your CDs will have to imported again
    The specific situation that you describe regarding the music imported from your friend's external HDD suggests that either the source is badly organized and/or originates from a source other than iTunes (other media players may use alternative tags for information like artist, title, album, etc. that are not wholly consistent with how iTunes handle these).  Without details of the issues you're seeing it is difficult to suggest a remedy other than going through the media album-by-album, track-by-track, and correcting the inconsistencies.
    In the absence of a backup or access to the original library data there is no option other than painstakingly recreating your library as described above.  As you do so, you'll now realize how important creating and maintaining backups are - in my case I have at all times three separate duplicates of my library, in two different locations, where none is ever more than a week old compared to the content of my master library.

  • How To Use The Same Library - MacBook Pro's And Windows XP Pro?

    Background:  I have a fully configured MacBook Pro running OS X 10.8.3. Also, I run Windows XP Pro SP3 using Parallels Desktop. My primary iTunes Library and all content is stored on an external hard disk and the iTunes is "pointed" to that location by setting the iTunes' Preferences' Advanced Settings to the full path where the Library is located. Everything I have inside iTunes works perfect - the size if the Library is over 225GB!
    BUT, when I install and use iTunes on my Windows XP Pro operating system (under Parallels), the contents of the Library SEEMS to work okay (while I'm in Windows) but the Windows' iTunes Library location in Preferences' Advance Tab is NOT THE SAME LOCATION AS IS THE MAC's LIBRARY LOCATION! It is not at the same location as my main/primary iTunes Library is "pointed to".
    The problem occurs when I close Windows and return to the Mac OS X and then try to use my primary iTunes. All of the contents (and any content) within iTunes no longer work! When I attempt to play ANY song, movie, TV show, music video, audiobook, etc., a message pops up saying in effect "Location of 'x' can't be found, do you want to locate it?" I can then click 'yes' and navigate to the Library file that contains the song's file and it will then play fine, as it should. BUT, ONLY THAT SINGLE SONG WILL WORK - THE REMAINING 225GB STILL DON'T WORK!!!
    So, I am forced to go into iTunes' Preferences' Advanced tab and click on "Change Location" then navigate to the proper library file (NOTE, THE LOCATION HAD BEEN CHANGED TO THE LOCATION FOR THE WINDOWS' LIBRARY LOCATION!!!)! Doing this corrects the primary iTunes functionality, but only after being forced to deleting the "iTunes Media Folder", quit iTunes, restart iTunes and Consolidate the Library - a whole bunch of steps and time to get back to "normal"!!!!!
    Again, this all happens by going into Windows, opening its iTunes, then THAT triggers the entire scenario I've described above - EVERY TIME!
    Thus, I avoid iTunes when I go into Windows, but I should NOT have to avoid using iTunes inside Windows! I hope I have described the problem/issues well enough that someone of you experts can provide a practical solution for me.
    A potential remedy I've thought of is:  Go into Windows' iTunes then go into its Preferences' Advance tab and change ITS location to be the exact same location as the primary Mac OS X's, click OK, then immediately close that iTunes.
              DOES THIS SOUND LIKE IT WILL WORK - I.e., USING THE EXACT SAME LIBRARY LOCATION FOR BOTH iTUNES?????
              IF THIS WOULD WORK, WHAT ELSE MUST I DO TO EITHER iTUNES OR TO BOTH iTUNES TO USE BOTH iTUNES
              USING THE SAME LIBRARY???
    Thank you for any suggested solutions - VERY MUCH!
    Larry

    Note that sharing a folder between different OS that use different file paths is not recommended as some files can have an absolute path or other OS specific data.
    You can click the Choose Folder button if you want to create or use a folder in a different location.<br />
    Make sure to select an empty folder (you need to create this folder in advance) and not a folder that already has files as Firefox will use the specified location in this case.
    *http://kb.mozillazine.org/Profile_Manager
    You can also create a new profile via the command line.
    *https://developer.mozilla.org/Command_Line_Options
    You can consider to use Sync to sync the two profiles

  • How to print window contents at the backside of a page(In scripts&smartform

    Hi,
    How to print the window contents at the back side of a page
    in scripts and smartforms?
    regards,
    prajwala

    Create a new page with the window and select "duplex" printing. Use Search button to get more information.

  • HELP!!  Issues with iTunes and Windows 8.1.

    So I recently upgraded to a new laptop with Windows 8.1 and I have been experiencing some issues that I need assistance with. So far the issues I need help with are:
    When I try to get album artwork for my songs, it gets through a small fraction then just kind of freezes.I have a lot of songs and albums but I have never had this problem before.
    When I try to connect to the iTunes store, it takes quite awhile and then I am left with either a blank screen or album/song/etc. names and no pictures.And when I click on another link, it takes forever (again) and I experience the same issue while trying to travel to the new page.
    I don't know what else to do and I can't figure out a solution. Please help me!!!

    Hello RavensFan94
    For both your issues, it sounds like you are having a hard time connecting to the iTunes Store to get album artwork and viewing content. Check out the article below for some troubleshooting options to get it working again.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Regards,
    -Norm G.

  • Help with iTunes and Windows 8

    Hi. I just upgraded to Windows 8. Somehow all my iTunes music transferred to Xbox Music instead of to the the iTunes application. Does anyone know how to transfer the music back to iTunes? I also tried to sync my iPhone to my desktop, since my iPhone has all the songs, but I could not find out how to do that either.  HELP!
    Thank you!

    Hello RavensFan94
    For both your issues, it sounds like you are having a hard time connecting to the iTunes Store to get album artwork and viewing content. Check out the article below for some troubleshooting options to get it working again.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Regards,
    -Norm G.

  • I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    Hi
    And if You change view - in main "window/view field" so that You see the box-plot structure.
    No exclamation marks there either ?
    and non at the front page ?
    iDVD do not copy Your material - only points to where it is stored. So if on any external hard disks, USB-memories, CDs or DVDs are missing - assetts are broken.
    Or if You changed location of any material or directed iPhoto or iTunes or GarageBand to a new Library - Then iMovie/iDVD also get's lost.
    Yours Bengt W

Maybe you are looking for

  • Issue in Production Order Creation

    Hi, We are facing a problem on our production side. The background of the issue is that we have a subcontracting process in our Chemicals Business and we use to transfer material to Tolleru2019s location using 541 movement type. When we receive the f

  • Setting pl/sql procedure as the data source in a Report Query

    Is there a way to set PL/SQL as the data source in a Report Query? we want to able to use the ReportQuery function and query results returned by a PL/SQL procedure. thanks

  • When I export an email as a PDF it only displays the sender details not the content

    I normally export any email I wish to save as a PDF, for some reason a tax receipt I've just received, when exported as PDF, displays only as the sender's details, i.e. name, address, date sent etc. I've tried saving as RTF and converting but when it

  • Auto delete duplicate pages in a merged pdf?

    Hi, I was wondering if anyone knew of a way to automatically have Adobe Professional search a pdf and delete/remove all of the duplicate pages?  I have merged a bunch of separate pdf files where some of the files have duplicate pages...thus instead o

  • How can I retrieve my hidden videos from Imovie?

    I went in to my Imovies and tried to retrieve hidden videos that I hid so the kids wouldn't see them.  I would like to know how to find these hidden videos.