Switching between panels

Hi.
I'am got five different GUI files.. where one of them is a controlling block. In that file, I opening an own class, where I have Jmenu's, and a container, with an JPanel inside.. So when I change between the files, I'am just removing the present JPanel from the container, and adding a new one.. The changing between the sites works well.. container.add(window).. But the problem is that the container totally is upsetting the layout.. It don't look the same as when I'am viewing on single file
What can the reason be?.. Can I change between JPanel without having them in a container.. Would that work better? Any suggestions.?

Thanks.
I trying to use, its function.. It worked well, when I added to JPanels to the coontainer, with a "shift color underneath" thing..
But when I tried to implement into my program.. where I have JMenu inserted into the JFrame, I got problems getting the actionlistener to react.. Can't get it to change between windows..
Te JFrame are created in static main...

Similar Messages

  • Switch between panels

    I have an applet and two custom Panel classes derived from awt.Panel.
    I want when i click a button, that panel1 hides and panel2 shows. I did it changing the visible property. But when panel1 hides i can't see the other panel. But when i minimize and maximamize the applet, panel2 appears.
    Please anybody can help me?
    I read about this topic in this forum, but without an answer.
    Thanks for read this.
    I'm waiting for your response...

    I think you probably want to look at the CardLayout class which is a type of layout manager. This allows you to swap between panels exactly as you want. Add all the panels you want and use show(panelAddedTo, name) to flip between them.
    chris.

  • Switching between two tables in the front panels

    Hi
    I am working on an application,which has two "Tables"
    in the front panel. Both the tables do get updated
    simultaneously from the same test,
    Table-A displays
    A short summary report while the test is beign executed, and result.
    Table-B displays
    A detailed report of the test and its condition and parameter
    along with results.
    My front end is a simple display table, along with couple of
    Button controls,like "START","ABORT","DeTAIL DISPLAY" and "QUIT"
    ofcourse.
    All these buttons are used in Event driven case structures except
    "DeTAIL DISPLAY"
    as the execution beigns, on the press of start button,
    there are number of tests in which i have to pass, parameters to
    DLL and get back the result parameters.
    The end customer requires to switch the display between the TABLE-A  & TABLE-B during execution.
    so i have a, seperate while loop,where in a case structure is wired to "DeTAIL DISPLAY"
    button, and if true, visible is set to true to TABLE-B, and false to TABLE-A,
    and vis-versa. as per the logic this while loop should take care of switching between the
    tables.
    The other while loop Takes care of the entire test.
    My problem is that, while i execute the switching of tables are not fast.
    it waits till the tests are over,and event case structure is in idle state, and then switches to the other table.
    Also some times i am unable to click on button"DeTAIL DISPLAY", as the event control
    case structure, is not responding till end of the execution.
    How to over come this problem
    rags

    Hi,
    Have you tried using notifiers in master slave architecture?
    check this out
    Attachments:
    Notifier.vi ‏45 KB

  • Nested Panels: Switching between

    I'm writing a program that has to switch between two panels that are nested in a parent panel. Is anyone there who has done this before and has a workable solution? Thanks in advance...

    Thanks very much, I tried this and this is the error I got when I clicked on the 'proceedBtn' in this case colorBtn...
    Using the content pane, the program does not know where to add the panel, is there a way of directing it to add the panel to the parent panel directly?.. I couldn't find any method that helps in this direction. Thanks again for the help.
    java.lang.Error: Do not use Talk2Me.ChatRoom.add() use Talk2Me.ChatRoom.getContentPane().add() instead
    at javax.swing.JFrame.createRootPaneException(JFrame.java:458)
    at javax.swing.JFrame.addImpl(JFrame.java:484)
    at java.awt.Container.add(Container.java:307)
    at Talk2Me.ChatRoom.colorBtnMouseClicked(ChatRoom.java:257)
    at Talk2Me.ChatRoom.access$100(ChatRoom.java:12)
    at Talk2Me.ChatRoom$2.mouseClicked(ChatRoom.java:190)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
    at java.awt.Component.processMouseEvent(Component.java:5096)
    at java.awt.Component.processEvent(Component.java:4890)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3174)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
    at java.awt.Container.dispatchEventImpl(Container.java:1609)
    at java.awt.Window.dispatchEventImpl(Window.java:1585)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

  • Ios7 Update Problems on iPad 3 - My iPad is not going to black screen after not being touched.  Also, am I crazy; I can't find timing adjustment to go to black.  Finally, iPad slow to switch between some catgagories in control panel

    O.K.  I found 3 issues on my iPad 3 after ios update:
    1.  iPad does not go to black after non-use
    2.  iPad is slow to switch between some catagories in control panel
    3.  Speaking of control panel; have I lost my mind?  I can't find time adjustment responsible for iPad going to black.

    Outside of the contact number for that you've already used I don't know another way of direct contact. Here are some things that they may or may not of had you try that might help you. If you will go to the settings app and pick general on the right-hand side you will see accessibility. Within that you can adjust a text size make the text bowl you can also increase the contrast. You can also adjust the brightness and control panel.
    As for Siri again in the settings app under general you should see Siri on the right-hand side with the switch to turn it on. If that is turned on and you're still having issues
    Try a Restart. 
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
     Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
    Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple. 
    Here is a link to their contacts with most of the information below. 
    http://www.apple.com/contact/

  • How to make my applicatio​n programmat​ically switch between English and Russian

    Greetings from Colorado...
    My application needs to be switchable between English and Russian.  Future languages to add are Spanish and Chinese.  The user selects a language
    from a control before starting the program and then the program changes the Captions, Boolean Texts, Graph Labels, and Enum Type Strings to the
    chosen language.  For Russian, this requires a different set of characters.  I have made substantial progress by:
    Control Panels>Region and Language>Keyboards and Languages>Change Keyboards added Russian>Keyboard>Russian on my development
    computer.
    In the LabVIEW.ini file, I added UseUnicode=TRUE (thanks to a suggestion found in this forum)
    Made property nodes for controls and used properties such as Interpret As Unicode (True for Russian, False for English), Text, Font Name, Font Size, etc.
    I have used fonts Arial and Arial CYR for Russian and MS Sans Serif for English
    Set the keyboard for Russian and enter Cyrillic characters into text constants that are set for Arial or Arial CYR font.  Sometimes one works and
    sometimes the other works.  As long as I set the font name in the property node the same way the text went into the text constant, it generally
    works.  I wish I could understand why one works sometimes and the other works other times!
    I have had trouble with the Boolean Text going off-center when changing fonts and languages and it seems that by setting the Lock Text In Center
    property to False and then True again, it seems to work.  Often changing Boolean texts between short and long texts causes some of the long text
    to be non-displayed; I have remedied this by explicitly setting the width of the Boolean text in a property node.
    Often, the Russian text appears as gibberish with strange right-angle characters, :s, =s, and tiny numbers.  I have been able to remedy this on my
    development computer by ensuring that the text constant on the block diagram has the same size as the caption is supposed to have.  This
    is not necessary for normal programming in English, but it seems to help here.  But it doesn't always solve the problem.
    Sometimes the English text appears as Chinese gibberish in an Enum Type selection list or in a graph label.  On my development computer,
    it seems that making the text the last property to change helps here.
    By changing the sequences of assignments to a single property node with a long list of properties, I have been able to make some of these
    controls to switch between languages without gibberish showing up.
    A few hours ago, I had the Russian strings in the Enum Type control working, except that when selecting from the available items, only the first
    word of the Russian string was displayed.  Two of the items start with the same word, so the user can't distinguish them.  
    At that time the English strings were appearing as Chinese gibberish while the list during the selection process displayed in English.  As soon
    as I changed the selection, future attempts to change the selection gave Chinese gibberish during the selection process, too.  But this was only
    a problem in the executable version; the source-code version worked fine.
    In an attempt to get rid of the Chinese gibberish, I made new constants and retyped the items into them.  This worked!  But then, the Russian
    stopped working and gave gibberish angles and tiny numbers, even though I didn't touch any of the code that sets the properties in Russian mode.
    After trying a few sequences of setting the properties for the graph X label on page 2 of my tab control, this label started working correctly for both
    languages.  But the text of that label comes through on page 1 of the tab control, partly obscured by other controls on that page.  After the
    program runs a few more seconds, these shadows disappear.
    Most times I restart LabVIEW, I get an error message saying there was a crash due to fontmgr.cpp, line 7494.  But there actually wasn't a crash.
    My computer has Windows 7 64-bit.  Deployment Computer has Windows 7 32-bit.  LabVIEW version is 8.5.  
    I have probably 50 or 100 more controls and indicators to change to language programmability and figuring out all this stuff for each one is
    terribly time-consuming and there is no assurance that all of them will ever work.  
    At this point, I'm hoping that I am on an entirely wrong path and someone will send me a clue to get me on a path that is more predictable.
    Thanks in advance to all who post ideas!
    Cheers
    Halden 

    Hi All,
    I've made a lot of progress on this translation, but it's been really hard.  There are lots of weird things going on that must be logical because they're in a computer, but I can't figure out what the logic is.  When changing a font on a caption using the front panel, it sometimes changes the font on the caption and sometimes doesn't although the indicator always indicates the new font.  Removing the first character of the unicode font string being sent to the caption seems to help...huh?  Anyway, tabs still can't change language programmatically, and niether can ring controls (some kinds will take the new list of strings, but when selecting, they only display the first word of the string!).  Boolean text can be reprogrammed, but only if the boolean text is set to be the same for both true and false states.  When reprogramming captions on a non-displayed page of a multi-page tab-controlled user interface, the new text appears on the current page until I change pages back and forth.  What a pain!
    Sooo, NI....does LabVIEW 2011 have support for unicode fonts?  Or, is there anything else in the new control style that will support programmatic language changing?
    Halden 

  • MDIChildren flickering problem while switching between child form with dockstyle.fill and borderstyle.none

    I have an mdi applicaton in Visual studio 2010 (.Net framework 4.0). I'm having a flickering problem when user switch between an MDI Child form. I'm declaring the child form then setting the borderstyle.none at design time and dock property to fill
    through programming and make them a MDIChildren before I show them so that it takes up the entire space of the MDI Parent window without being maximized (client request). 
    i don't want to display control box(minimize, maximize,close) of child form in mdi parent form. (client request)
    The problem is that when the child form is being displayed it is briefly shown in it's default size with icon and control box before being resized to fill the available area on the MDI Parent form. When a Child Form loads, you can see it in it's original
    size (the size from Design-time) then all this flickering while maximizing .
    In other words, child form show up in the client area of the MDIForm, not maximized, with a caption, very shortly, before they are finally filling the client area. there is a short flicker when a new form is created and displayed. This process is most noticeable
    with a not-so-powerful PC or there are lots of control inside child form.
    below is my code to show child form 
       MyChild1 c1 = new MyChild1();
                                c1.MdiParent = MdiMainParent;
                                c1.Dock = DockStyle.Fill;
       c1.Show(); 
    how can i solved the problem of flickering issue?
    I tried many options which i have described below
    1.double buffering.
    2.set style property to child form
          this.SetStyle(ControlStyles.UserPaint, true);
          this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
          this.SetStyle(ControlStyles.DoubleBuffer, true); 
    3. override below method in each child form
    protected override CreateParams CreateParams
                get
                    CreateParams cp = base.CreateParams;
                    cp.ExStyle |= 0x02000000;
                    return cp;
    4. override below method in each child form
      const int WM_NCPAINT = 0x85;
            const int WM_SIZE = 0x05;
            protected override void WndProc(ref Message m)
                if (m.Msg == WM_NCPAINT)
                    if (this.WindowState == FormWindowState.Maximized)
                        return;
                if (m.Msg == WM_SIZE)
                    if (this.WindowState == FormWindowState.Maximized)
                        return;
                base.WndProc(ref m);
    but I didn't see any effects.  please someone help me to resolve flickering issue. thanks in advance.

    Hi hardikvaishnav,
    This is a known issue which has been reported to Microsoft Connect. Unfortunately, this issue will not fix due to stability issues around MDI. For more details, see 
    https://connect.microsoft.com/VisualStudio/feedback/details/97787/border-of-mdi-child-form-flashes-up-despite-formborderstyle-none.
    You might use a user control or panel instead.
    Best Regards,
    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

  • Is it possible to use booleans to build a VI that uses buttons to switch between screens (3 only) while the other screens disappear?

    As a beginner, I need help figuring out how to build a simply VI that uses boolean logic to switch between three different screens. I need a "Home" screen, the next screen which has a button to go back "Home" and a third screen which has two buttons to go "Home" and "Previous Screen". Can someone help me with a simple block diagram?

    Hi,
    Or put the data in three tab controls. The tabs itself are hidden. The
    program switches between the tab sheet if one of the buttons is pressed.
    The buttons are best not copied, e.g. the same buttons are used in every tab
    sheet (buttons hover above the tab, a black shadow will apear). If the first
    sheet is shown, button 2 and 3 are hidden, sheet two: only button 3 is
    hidden, sheet three no button is hidden.
    Showing the tabs allows the user to choose the views directlly. The button
    logic is not needed anymore. But you'll have to live with a simple tab
    sheet, instead of a fancy button system!
    Regards,
    Wiebe.
    "Jason R" wrote in message
    news:[email protected]...
    > Another solution if you want to avoid property-node hell...
    >
    > Divide your screen into 1/4ths. That is, make your FP 4x larger than
    > your desktop.
    >
    > Place screen 1 on the upper left quadrant.
    > Place screen 2 on the upper right quadrant.
    > Place screen 3 on the lower left quadrant.
    > Screen 4 (lower right quadrant) is unused.
    >
    > Disable the ability to scroll at run time.
    >
    > As the user clicks buttons, use the properties of this vi to move what
    > the user can see on the front panel.
    >
    > Cheating? yep. Easier? yep.
    >
    > Hope this helps! =)
    >
    > btw - be sure not to update the FP controls when they are not visible,
    > or this will eat processor cycles.
    >
    > Sincerely,
    > Jason G Richmond
    > Project Engineer II and LVAAD Instructor
    > VI Engineering
    > [email protected] (domain should be vieng.com (no A's))
    >
    >
    > missileman wrote:
    > > Is it possible to use booleans to build a VI that uses buttons to
    > > switch between screens (3 only) while the other screens disappear?
    > >
    > > As a beginner, I need help figuring out how to build a simply VI that
    > > uses boolean logic to switch between three different screens. I need a
    > > "Home" screen, the next screen which has a button to go back "Home"
    > > and a third screen which has two buttons to go "Home" and "Previous
    > > Screen". Can someone help me with a simple block diagram?
    >
    >

  • How to? switch between the following mission control preference "group windows by application" on the fly? OR have both readily available

    Is there any way to switch between the following mission control preference "group windows by application" on the fly?  I would like to turn this feature on and off quickly. OR have both readily available?
    If osx 10.9 does not support this, does any one know if automater can be used to creat a short cut to turn this preferance on and off?
    Current solution (not much of a solution)
    I currently added the preferance control icon for mission control on my dock.

    4u2nv247 wrote:
    Current solution (not much of a solution)
    I currently added the preferance control icon for mission control on my dock.
    Do you mean the general System Preferences icon? ...If so, it's possible to put the icon specifically for the Mission Control pane in the Dock:
    I'm on Mountain Lion and that Preference Pane is in: Macintosh HD > System (not Users) > Library > PreferencePanes > Expose.prefPane
    ...Drag that Expose.prefPane to the right-hand side of the Dock, say, next to the Trash. Then you can simply click on the resulting Expose Prefs icon in the Dock to open its Prefs panel.

  • AE 2014.2 crash when switching preview panel with Matrox

    I newly bought a pc with Matrox M9138 card, and using it for professional use. All works fine, except for Adobe After Effects CC 2014.2: it simply crashes when switching between the Preview-panel and Render-Cue panel.
    When I look in AE preferences under Video-preview > Mercury transmit doesn't even show that there is a Matrox-card. The only option there is Adobe DV. So, I guess AE doesn't find and even makes use of my Matrox card.
    Technical info:
    Windows Version: 8.1
    Processor: Intel Core i7-4790 CPU, 3.6 GHz
    RAM: 16GB
    Type: 64bits
    Matrox M9138 LP PCIex16
    Driver version 2.4.3.2 (4.4.3.2) for Win 8-64bit
    Adobe CC After effects 2014.2
    After Efects error: "Crash in progress. Last logged message was: <816><ae.blitpipe><2> Making New Context"
    First I installed the Matrox driver, and then Adobe CC, but After effects crashed when switching between preview-panel and render-cue-panel (No Matrox recognition in AE preferences > Mercury transmit)
    Now I did it in other order:
    - I removed Adobe CC (AE included) and all parts
    - Did extra checkup removal with Adobe CC cleaner
    - Removed the Matrox driver
    - Restarted PC
    - Reinstalled Adobe CC with AE
    - Reinstalled Matrox Driver
    - Restarted PC
    - matrox fully installed and working perfectly (no errors in Display Adapters info).
    But still, After effects crashed (Still no Matrox recognition in AE preferences > Mercury transmit)
    I contacted Matrox technical support, and as I suspected, they say they haven't had this problem before and all works fine.
    Typical...
    Does someone has an idea what the problem would be?
    Help or info would be very appreciated.

    Solution:
    My graphics card did not supported the "Mercury Playback Engine GPU Acceleration (Open CL)". You can change it into "Mercury Playback Engine Software Only" in your Project Settings.
    But this is in the wrong place in my opinion. Why not in "Edit/Preferences"? I could've changed it by myself but I did not find the menu.
    Thanks Michaela from the Adobe Support Chat!

  • Switch between speakers and headset on X-

    I've got X-Fi Fatalty FPS edition and desperately need to find a way to switch between headset and speakers. Especially since I use teamspeak a lot in games and don't want my speakers to echo while I'm talking.
    There is an option to mute speakers when the headphone jack is connected, but that requires me to reconnect the headphone plug each time I want to use them.
    There must be a switch to turn only the speakers off manually as well?
    With Soundblaster Li've! Digital, this problem was easily solved by switching between digital mode on and off, as my speakers were connected digitally and my headset on analog.
    But with X-Fi, there's no way to turn off the digital speakers alone.
    Please help.

    Plug your speakers into the soundcard as usual.
    use the front mounted headphone socket on the fromt of the X-Fi I/O unit to connect your headset and set the control panel to automatically mute your speakers when the headset is connected. Your speakers will mute when the headset is plugged in and all you have to do is plug or unplug the headset at the front to switch modes!...Now please do not ask about doing the same with your mike connector!! see other thread by me!! p.s creative do ship a /4" to 3.5mmm adapter with the card.
    Hope I have understood your post
    AndyMessage Edited by slef2003 on 0-4-2006 03:54 AM

  • Software switch between internal speakers and digital out?

    I have a brand new Aluminum iMac.
    My iMac is connected to my stereo receiver with the built-in S/PDIF Digital Output.
    But sometimes I'd like to just use my iMac's internal speakers, so I don't need to power up the receiver.
    But when I plug in the digital cable, OS X turns off my speakers, and vice-versa. The Sound Control Panel doesn't give me the option.
    I've googled for a while on this -- it looks like Windows leaves the digital output on even if the internal speakers are playing, so this is clearly a software issue.
    Is there any way I can use software in Leopard to switch between my internal speakers and my digital output? (Or to use both at once?)

    Funkey Monkey wrote:
    Isn't there a software option out there somewhere?
    I don't know fore sure, but I believe inserting a plug into
    the audio output jack electrically disconnects the speakers.
    Yep, totally brain-dead -- but so is the entire analog/digital
    "combo jack" nonsense. It leaves you with no way to monitor
    any digital audio signal being sent to an external device.
    Not with headphones OR speakers!
    IMO, the only workable solution is a USB or Firewire
    audio interface. If you only need digital audio output,
    the cheapest stuff available ($25-ish) should be fine.
    If you also want good 24-bit A2D/D2A converters, mic
    preamps, etc. expect to pay $150 and up.
    ..."clever" is usually the opposite of "smart",
    Looby

  • Shortcut to switch between states?

    Hey there gurus,
    Simple one for you.
    Fireworks CS4. Mac OS 10.5.2.
    Is there a shortcut to switch between states?
    Thanks in advance.
    Tom

    Hey Tom,
    Glad to see you found your way to the keyboard shortcuts area. Here are a couple notes that might keep your Fireworks experience happy:
    •Try to keep your Fireworks files small... Don't have too many pages when you are going to be using a lot of states; I know it is tempting to have the entire project in one file... separating the different sections by pages and the different states of the sections by the states, but it will be worth your while to keep these files smaller and have multiple files in place of multiple pages. This will do wonders for helping the app remain consistent.
    •If you do choose to use multiple smaller files in place of large ones, use 'Command + `' (1 key left of 1/! key). This will let you flip through open pages. If you want to go in reverse, add shift (Command+Shift+`).
    •Try using the terminal command 'purge' if/when things get slow, this coupled with the aforementioned smaller files has helped me avoid crashes.
    •Make some custom tool panel layouts and save them in Window > Workspace Layouts > Save Current. If you want to update a workspace layout, just type the name of the layout you wish to save over.
    Best wishes and good luck with the clients!

  • Switch between headset jack and internal speakers?

    How can I switch from "Rear Panel 3.5 mm Jack" to the internal speakers, "ATAPI Internal ATAPI Jack" without unplugging the 3.5mm headset?  Does anyone know? 
    I have a Windtop 2400 and it has Realtek HD audio ACL888S.  I looked at the specs on Realtek's website and as far as I could see this is possible in the hardware, but can the software trigger this?

    Great, you fixed it!
    It looks like the msi gaming control center should be bundled with WMIHookBtnFn, but it's not. This "utility" by now it's almost useless, only the Wifi and camera switch worked.
    A detailed explanation of what I did here if someone has the same issue:
    -> I looked in msi support-downloads http://www.msi.com/support, selected my  and went to "Exclusive downloads"
    -> http://event.msi.com/aio/sw/ In there I just downloaded the msi gaming control center
    -> But! when I wanted to install it, he told me that it would update WMIHookBtnFn and when he tried he'd say it's already updated.
    -> Solution: Uninstall WMIHookBtnFn and re-run the installation program. Then it says to install the gaming control center.
    -> Reboot the computer
    -> And that's it, it should work. You can change the display's configuration, "share internet connection", change microphone/speakers volume and switch wifi, camera and supercharger on off and.. switch between speakers and headphones! *yay!*
    -> I tried installing the last version of WMIHookBtnFn again, and it says that it will upgrade the Gaming Control Center. And then tries to execute a "Gaming Control Center.msi" that should be found in the extraction folder of WMIHookBtnFn but it's not.
    Thank you very much again, Mog!

  • Switching between different run-time menu programati​cally

    Hi All
     I am planning to build a Bilingual program…….am just doing trial and errors in changing all captions and run-time menu s programmatically with a single button click……….Here my logic is working fine for all captions and graphs also…………..but I could not change the run-time menu……….i am unable to switch between different run-time menus……………
    Here I am sending the program am working on………..please have a look on this, and suggest me something………….hope my problem get resolved.
    Thanks
    Anil Punnam
    Attachments:
    Caption_program.ZIP ‏31 KB

    Hi Anil,
    I'm guessing you're using 7.1?  When I first ran your program in 8.0, it worked perfectly and switched back and forth perfectly.  However, I tried it in 7.1 and saw some bad behavior.  The customer run time menu was not updated in the menu bar.  It looks to me like the run time menu is changing, but the front panel is not updating.  After pressing one of your front panel buttons to change the run-time menu back and forth, if you click on the file menu it should update, although this can lead to some funny looking menus since "affiche" is longer than "file" and you can still see the remnants of the old menu.  Try this and let me know if this is indeed the behavior you are seeing (check out the attached pic).  I thinkt hat R&D already had a report on this, and that is why it is fixed in 8.0.
    Megan B.
    National Instruments
    Attachments:
    RTM.JPG ‏34 KB

Maybe you are looking for