How can i open a new frame when i click on a button

hi,
i create 2 frames and i want when i press a button in the first frame the second will be showed.
thanks for the help

call "new NameOfYourClass(your_parameters)" to get a new instance of your class... if your class extends JFrame and you setVisble(true); at the end of its constructor, for every new instance a new window will show up.
but yes, you should describe more specific what you want :O

Similar Messages

  • Can Firefox open a new tab when I click on a bookmark?

    Can I get Firefox 5.01 to open bookmarks in a new tab when I click on them?

    '''Keyboard shortcut is built into Firefox''' there is no need for an extension, but you will have to make a modification perhaps to a configuration variable.
    set the following configuration variable
    browser.tabs.loadBookmarksInBackground
    to the same value as you have for
    browser.tabs.loadInBackground
    Opening links in the background with Ctrl+Shift+click or foreground with Ctrl+click
    or the other way around is controlled by Tools > Options Tabs > when I open a link in a new tab switch to it immediately.
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config entries] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config] (How to change).

  • Open a new window when you click on a button

    Hi all,
    I'm a newbie on BPS and web interface on BPS. I have a problem on how to open a new window.
    I explain:
    We have a page with a button which call a function. We want to change this button in the way when you ckick it, a new window appears and present a page with two buttons which call each a function(this page is already created thanks to bps_wb).
    The problem is : how to modify the button in the way it opens a new window with in parameter the page.
    Thanks by advance.
    Best regards,
    Nicolas

    Hi Nicolas,
    I don't know about a pop-up, but if you are trying to open a page (page 2) in a new window (internet explorer window), then do the following:
    Instead of using a navigate pushbutton, use a hyperlink component.
    In the URL selection option insert the URL (web address) of page 2. You can find the URL by going to SE80, in the repository browser select "BSP Application" and "THE TECHNICAL NAME OF YOUR BPS". Open your BSP and go to the folder "pages with flow logic" and find your "page 2". Double click on your page and then select the "properties" tab and navigate to the bottom where you will see the pages URL.
    Insert this URL address into your hyperlink component back in the Web Interface Builder.
    Leave the Target selection as parent. Make sure your internet explorer enhanced options are set to "not reuse the same window" under the browser options.
    Good luck.
    Rael

  • How do i open a new JPanel on mouse click

    i'm trying to make the program open a new JPanel when i click on a button in the main JPanel.
    how do i do this?

    regarding that example given ( [CardLayoutDemo.java|http://java.sun.com/docs/books/tutorial/uiswing/examples/layout/CardLayoutDemoProject/src/layout/CardLayoutDemo.java] )
    when i add buttons/text fields, and/or new JPanels, the changes are not reflected when i compile and run it. other than the title of the JFrame.
    oh, never mind. it is because of a one liner stupid mistake.

  • How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    To make a new document, go to File > New From Template chooser and choose the type of document you wish to create.
    To add a new page to an existing document go to Insert > Sections > Blank.

  • Can I set Safari to open a new window when I click on it in the dock?

    is there a way to set my safari to open a new window when i click on it in the dock i surf multiple websites at once and i dont like how i have to right clik and scroll up to pick open a new window. can i set it to just open a new window instead of opening the page that already opened

    yeah, instead of using multiple windows, you can use multiple tabs inside one window. That way, you can browse multiple websites at once without having to flick back and forth between multiple windows.
    To open tabs of the websites you want to browse, just right-hand click on whatever website you want to visit (For example a site from your bookmarks or a site from a Google search result) and select 'open link in tab'.

  • How can we open a new folder in the email account (ex: need to save certain emails into a new fodder called "work". can anyone help

    How can we open a new folder in the email account (ex: need to save certain emails into a new fodder called "work".
    Anyone can help?

    Right click on any folder in mail and select Create new mailbox.

  • HT1414 how can i open my iphone because when i try to restore it from my back up all the files it didn't open anymore & always my iphone have a problem that it automatically shut down then the itunes logo appear then i need it to connect to itunes then re

    how can i open my iphone because when i try to restore it from my back up all the files it didn't open anymore & always my iphone have a problem that it automatically shut down then the itunes logo appear then i need it to connect to itunes then restore to enable to open it..what should i do?i cannot bring it to the smart center because i lost my receipt..is there any chance to recover it?thank you so much..i already update my operating system to ios 6.1.3 but when i recover my  back up the operating system was ios 6.1.2..

    Your phone is in recovery mode. Did you plug it to the computer running itunes? What happend?

  • How can I open the taps(now) when I open the firefox next time?

    How can I open the taps(now) when I open the firefox next time?

    There is no way to programitically bring up the dialog window for the timestamp control. I recommend building your own dialog window VI that will work by opening when you want the user to set the time and when it closes, it can programatically update the timestamp control. It will not be as pretty but it will be just as functional.

  • How can i open my iphone 4s when i have forgotten my passcode ? without deleting everything on it

    how can i open my iphone 4s when i have forgotten my passcode ? without deleting everything on it

    Put it in recovery mode to restore, you'll get the option to reset the passcode during this process.
    iOS: Wrong passcode results in red disabled screenand iOS: Recovery mode
    If you have previously synced your device with iTunes
    You may be able to reset the passcode by restoring the device.
    Connect the device to the computer with which you normally sync and open iTunes.
    Note: If iTunes prompts you to enter the passcode, try another computer that you have synced with. Otherwise, go to "If you have never synced your device with iTunes", below.
    Right-click the device in the left column and select Back up.
    When the backup is complete, select Restore.
    When finished, restore from your most recent backup.
    If you are using Find My iPhone, you can use Remote Wipe to restore your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode.
    Message was edited by: Ingo2711

  • How can i open a new blank page, if i open a new tab??

    how can i open a new blank page, if i open a new tab?? because if i click the plus "+" sign(at right corner) it open a website that i don't like.... please help meee....

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • I can only open a new tab by right clicking on an item in an already open tab and selecting open in new tab

    I can only open a new tab by right clicking on an item in an already open tab and selecting open in new tab. Nothing else works e.g. File, New Tab, or clicking on the New Tab to the right of the last tab.

    Uninstall the '''''Ask Toolbar'''''. It can cause that problem.
    *http://support.mozilla.org/en-US/kb/Uninstalling+add-ons
    *http://support.mozilla.org/en-US/kb/Cannot%20uninstall%20an%20add-on
    *http://kb.mozillazine.org/Uninstalling_toolbars
    If that does not solve the problem:
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.org/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • I can't open my iphoto. When I click on it the screen opens but will not load.

    I can't open my iphoto. When I click on it it opens the screen but will not load. Can't see any of my pictures. HELP!

    It's Iphoto '11 version 9.2.1

  • While browsing in Releaselog, I can't open a new Tab from a link(Ctrl left button). It opens in the same Tab and has just started happening

    While browsing in Releaselog, I can't open a new Tab from a link(Ctrl left button). It opens in the same Tab and has just started happening this week. All other websites are ok.

    You're welcome

  • How can I turn off my computer when I push de STOP button from de program?

    How can I turn off my computer when I push de STOP button from de program?

    You might also want to have a look at the old winutil>Windows API Function Utilities (32-bit) for LabVIEW. While they are written in LabVIEW 4.0 (!), they still seem to work fine under W2000 and LabVIEW 7.0. In particular, have a look at "exit windows.vi" inside "winevent.llb" of the above link. It calls the function "ExitWindowsEx" of user32.dll. Since this is part of the OS, you don't need to include extra DLLs.
    (All the above assumes Windows OS. I don't know how to shutdown the OS on e.g. MAC or linux.)
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • How to backup library before an iTunes reinstallation

    I run Vista, and I happened to have the problem of my CD/DVD drive disappearing on me. I googled it, figured out how to fix it by deleting a couple registry items and restarting, and it started working again. Only thing is, right after that every tim

  • Function CALCULATE_DATE and  leap year

    Hi, I need to substract some months from a date. I tried to use the standard function CALCULATE_DATE but it has a proble with leap years. If I execute it with the following parameters: CALL FUNCTION 'CALCULATE_DATE'      EXPORTING           days     

  • Reader 9 Acrobat PDF Printer Driver Continuously Installs

    Since I have installed Reader 9, the Acrobat PDF Printer Driver Continuously Installs in the background degrading system performance. Does anyone else have this problem? It auto created a System Restore point, so check that. I am running XP with all

  • Assign Value to Graph/bar chart?help

    Anyone who know how to transfer a value in an variable to a graph plot such as 88/100 marks.The bar status

  • Reg : Extension set

    Hi , sorry for asking such a basic question . What do we mean by r/3 4.7 extension set number . What does that number signify.Thanks in advance .