Open Multiple JFrame in a single Window

hi all.........
Im developing one application using Java&Swing. I've used JFrame for Home window, That window with JMenubar and Jpanel for backround image. If i click one menuitem then it will open that JFrame in one new window, then if i click one more menuitem then i'll open that JFrame in another window, like if i click n no.of times it is opening n JFrame in n separate window.
im using like this..........
void menuitem2_ActionPerformed(ActionEvent e)
First jf= new First();
jf.setSize(200,300);
jf.setVisible(true);
this.getContentPane().add( jf, new XYConstraints(0, 0, 790, 545));
for each menuitem. In each menuitem event - ActionPerfomed im calling the corresponding Java file which extends JFrame and im adding that in "this " constuctor.So it is opening each window for each event.
But i want to open it in a same window. For this how should i declare home window JFrame and Other Java file JFrame.
Kindly help anyone to proceed....
thanking you,
Koks.

Do you have any intentions of making a patch? I see from other forums that your users are all frustrated about this.

Similar Messages

  • Preview; How can I open multiple PDF's in one window with Preview?

    How can I open multiple PDF's in one window with Preview?
    I have gone to Previews preferences and selected 'Open groups of images in the same window' and have tried every setting imaginable and nothing works. What am I doing wrong?

    Hi, a few ways..
    http://www.monkeybreadsoftware.info/Freeware/CombinePDFs.shtml
    http://www.monkeybreadsoftware.info/Freeware/CombinePDFs.shtml
    http://www.macosxhints.com/article.php?story=20060327192826493&lsrc=osxh

  • How do you get Adobe Acrobat X Pro to open multiple pdf's in one window

    How do you get Adobe Acrobat X Pro to open multiple pdf's in one window
    I just got upgraded to Windows 7 64-bit and had to update to Acrobat X Pro.
    I was using Acrobat 8 Pro on my XP machine and this was nice since i usally have muliple files open at the same time

    Hi Richard,
    Due to technical limitations, MDI was dropped with the Acrobat 9 release:
    http://blogs.adobe.com/acrobat/mdi_vs_sdi_in_acrobat/
    -David

  • Open multiple pdfs in one acrobat window

    There are many things annoying about Acrobat, but the one that really gets me is that the option to open multiple pdfs in the same window, rather than splattering them all over the toolbar, apparently has been removed in the latest versions.  I have been using Foxit for pdfs for the past few years and am only now returning to acrobat because we've purchased a piece of software that requires a plugin that works only in acrobat.
    Tabs are the proper solution.   How long ago did Firefox shake up the browser community with tabs, 15 years ago?   Where was Acrobat?   For a while, they bodged together a preference that would keep them all in the same window (no tabs however), but even that is gone.

    You can make a feature request here:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    On Thu, Sep 4, 2014 at 8:15 PM, whatsamattau <[email protected]>

  • Can I open multiple tabs in Firefox when WINDOWS starts up? Command line limits to about 204 characters...

    I know how to configure Firefox so that it opens multiple tabs every time you open ''Firefox''. I want it to open multiple tabs when I start ''Windows''. Or in other words, I don't want to connect to multiple web pages every time I open a browser, just the first time I log on for the day.
    I tried appending the web sites in the command line of a Firefox shortcut in my Windows Startup folder. The problem is that in this approach, you're limited to as many URL's as you can type in about 204 characters ('C:\Program Files (x86)\Mozilla Firefox\firefox.exe' uses up 52 of the 256 characters available in a shortcut).
    Is there a way to open more tabbed web sites than that?
    What would be cool is if there was something like a FFstartup.ini file or something, where you could provide a list of websites as long as you want, and it would open them all. So, the command line would look like:
    'C:\Program Files (x86)\Mozilla Firefox\firefox.exe' 'C:\Program Files (x86)\Mozilla Firefox\FFstartup.ini'
    ...and the FFstartup.ini file would look like:
    [Startup]
    'http://www.yahoo.com'
    'http://www.google.com'
    'http://www.firefox.com'
    etc...
    If there's no current way to do this, how would I make this suggestion to be developed?
    Thank you!

    Use a .bat or .cmd file to start Firefox if you need more space than the target line in a shortcut allows.<br />
    Separate the URLs with spaces.
    start "" "C:\Program Files\Mozilla Firefox\firefox.exe" http://www.yahoo.com http://www.google.com http://www.firefox.com
    * https://developer.mozilla.org/en/Command_Line_Options

  • Open Multiple JFrame in one window

    hi all.......
    I've developed one Java-Swing application with Menubar. If i click each menu item Im opening new JFrame. But i want to open this each JFrame in a parent JFrame. For example If i Click File->Open it will open new JFrame as separate, if i again click File->New , it will open another new JFrame for new. likewise it will open each JFrame for each menu item. But I want to open it in a parent window itself. My problem is same like MDI in VB.
    Kindly help me to proceed.........
    thankx.........
    kalai.

    I think you have to use JInternalFrame
    First declare
    JDesktopPane() desktopPane=new JDesktopPane();
    mainFrame.getContentPane().add("Center",desktopPane);
    mainFrame.setVisible(true);
    Simple way is to use Container
    if mnuNew is clicked
    JFrame templateFrame=new JFrame();
    Container container= templateFrame.getContentPane();
    the above frame is object of your <template> frame
    it will add everything in to Container including controls with actListeners
    Now call
    public void createInternalFrame(String title)
         try
         JInternalFrame iFrame=new JInternalFrame();
         iFrame.getContentPane().add(container);
    desktopPane.add(iFrame);
         iFrame.addNotify();
    iFrame.setMaximum(true);
         iFrame.setVisible(true);
    iFrame.setClosable(true);
         iFrame.setTitle(title);
    iFrame.setDefaultCloseOperation(iFrame.DISPOSE_ON_CLOSE);
         }//Try
         catch(Exception E)
    System.out.println("Error "+E);
    }//CreateInternalFrame

  • To complete multiple tasks in a single window without closing individual

    Hi Folks,
    How much it is possible to complete multiple BPM activities in a single window?
    Suppose i have a BPM process which contain 2 swimlanes and 4 steps.
    First 2 and 4th step is assigned to swimlane A and step3 is assigned to Swimlane B.
    Two users are involved in process and users are assigned at swimlane level.
    I want User A which is assigned to Swimlane A to complete first 2 steps in a single attempt without closing windows each time.
    As of now once a particular activity is over BPM prompts user to close window and then again select your task from UWL inbox and proceed. Is there any way to avoid that?
    Thanks in anticipation!
    Mandeep Virk

    It is not a bug, but a new feature.<br />
    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or other menus like the Edit menu (Alt+E) and Bookmarks menu (Alt+B) and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=626825 bug 626825] - Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)
    ''(please do not comment in bug reports; you can vote instead)''
    See also:
    * [[/questions/799856#answer-155765]]

  • Is it possible to open multiple files in the same window

    I just upgraded from Reader 8.1.0 to 9.2 and whenever I open multiple pdfs it opens a new window.
    Is there a way to prevent this. If didn't happen in 8.1.0.
    Aditya

    Thank you for the brilliant idea.....
    How about in 9.2 ?

  • Preview opens multiple pdf's in same window

    Since upgrading to Mavericks, Preview frequently (but not always) opens pdf's in an already open window.  The preferences are set to open each pdf in its own window, but that is being ignored.  If I could easily separate them, it would not be such a problem, but I can't find a way to do that.  How do I fix this annoying bug?  Thanks

    Without this radio button in Preview's preference selected files are opened in separated windows:
    If you don't want groups opened at the same time to be in the same window unselect the radio button below it.
    OR, select the last radio button.

  • Opening multiple files with a single click?

    I have searched this topic here and online elsewhere, but haven't gotten an answer.
    I teach English, and I download multiple student documents to grade. I want to just open all of them and go through one at a time quickly... like a stack of papers on my desk.
    I swear to goodness that I used to be able to select a folder full o' files and bam... they would all open in whatever app they were intended to open in. However, now I'm having trouble with this.
    I have a series of items... some are .doc some are .docx and some are .txt
    When I select all of them, only one .docx opens (and it opens in Pages because I have trained it to do this.)
    If I select all the .txts they all open in textedit like they should. But I can't get the stupid MS Word docs to do the same. I am not sure whether to blame Apple yet.
    I have tried Open With... Word, Pages, etc. but only one document opens at a time. What am I missing? I just did a perm repair and software update... nothing new under the sun.
    Any ides? Please? Thanks!

    There are a few ways you can open them:
    1) Select all of the files and under the File menu select "Open"
    2) Select all of the files and use the shortcut for open, which is command-O
    3) Select all of the files and drag them to the dock icon of the app you want to open them with
    You need to do these actions with the files selected and not the folder that they are in. To quickly select all items in a folder, click one of them and hit command-A (shortcut for "select all")

  • Acrobat X -- Opening multiple pdf's in same window

    It appears from the forum, this problem was there in Reader 9.
    I migrated from 8 to X and find there isn o setting as in 8 for opening inthe same window..
    But then why in the window tab, cascade and tile are still there?
    Can someone urgently help?

    You are complaining about the new user interface. Adobe is following Microsoft Guidelines. Microsoft will need to change their guidelines before Adobe changes the application. Alas, I don't have Steve Ballmer's email address or telephone number for you to reach him at.

  • Multiple Weblogic nodes on single Windows server  - Dispatcher question?

    Hi All,
    My experience is with other J2EE web servers (SAP's Netweaver predominantly) and typical installations on this platform include the installation of a dispatcher J2EE node which balances load across potentially multiple J2EE nodes on a single server. Does Weblogic have a similar set-up, as it appears when you create multiple nodes in Weblogic, you need to set-up a load balancer to achieve this same effect (that is installed by default on other platforms).
    Obviously creating a single node is pretty useless for the majority of production installations; hence what is the recommended option (without setting up a dedicated load balancer) to achieve this on a single (albeit large) server?
    Thanks,
    Matt

    Hi,
    I had just remembered another option, we can set up weblogic as webserver which does the load balancing. Below are the two ways you can do that.
    1. While creating the domain using "config.sh" you will get an option to set up "weblogic server as webserver". This option is enabled only on condition "cluster must be created, and few managed servers needs to assigned to cluster". For example if we create 3 managed servers and we assign 2 managed to cluster then "Http Proxt screen" would be enabled where remaining server can be set up as "http proxy webserver".
    2. Below is the lengthy procedure.
    a. Create a standalone weblogic server.
    b. We need to create a dummy war, which just contains below "web.xml" adn "weblogic.xml", let me know if you have trouble creating this war file.
    Contents of "web.xml"
    <?xml version='1.0' encoding='UTF-8'?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <servlet>
    <!-- Add HTTPClusterServlet -->
    <servlet-name>HttpClusterServlet</servlet-name>
    <servlet-class>weblogic.servlet.proxy.HttpClusterServlet</servlet-class>
    <init-param>
    <param-name>WebLogicCluster</param-name>
    <param-value>127.0.0.1:7003|127.0.0.1:7005|127.0.0.1:7007</param-value>
    </init-param>
    </servlet>
    <!-- Add HTTPClusterServlet Mapping elements -->
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>/</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>*.htm</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>*.html</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>browsestore</url-pattern>
    </servlet-mapping>
    </web-app>
    Contents of "weblogic.xml" . This deployment descriptor is used to deploy this application as "default application".
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!-- Add the context root here -->
    <context-root>/</context-root>
    </weblogic-web-app>
    c. Now deploy this war file to standalone weblogic server.
    d. Lets suppose you had deploy application "vas.war" on managed server "VASMS1", "VASMS2", which are running on host "vasunix1" and "vasunix2" on ports 8002. You can access the application directly "http://vasunix1:8001/vas" or "http://vasunix2:8002/vas".
    Now since you had set up "http proxy webserver" which does the load balancing, you can directly hit "http proxy webserver" url and it redirects traffic to "VASMS1" or "VASMS2". Lets suppose "Http proxy webserver" "VASMS3" is running on "vasunix1" on port "8003". You can access the application "http://vasunix1:8003/vas", this request is directed to MS1 or MS2.
    I hope this is what you are looking for. Have great day.
    Vijay Bheemineni.

  • I have version 3.6.17...I cannot get multiple websites in a single window, I have tried several things in troubleshooting, and tabs but cannot reslove this issue, please help

    I removed Version 4. I had trouble getting Norton on the toolbar and it will not support the Yahoo toolbar with many of my bookmarks. I down graded and now it open a new window with each website...I am not use to this clutter since I quit using IE in favor of you

    Right click any tab and choose "Bookmark All Tabs".

  • Opening multiple databases in a single file

         Hello everybody, I need create 1000 small databases(tables) in a single physical file, how to solve? ( I have read chap 3 Access Method Operations in BDB programmer reference,  so I know it’s need create a shared database environment, but I don’t know which ENV FLAG or API I need .)
         thank you very much.

    I would suggest taking a look at the example programs in the /examples directory in the install.   ex_env.c covers basics on creating an environment and creating a database in that environment.   This program could be easily modified to create 1000 databases.
    thanks
    mike

  • Opening multiple images in Photoshop CS3 windows

    I can open an image just fine in Photoshop CS3 by going file-open and clicking on the file, I then want to bring in another image into Photoshop CS3 by using file-open which I can do but then the first image disappears and only the second image is in Photoshop. Any ideas?
    Thanks, Larry

    Freeagent- It worked! Thanks for the advice.
    Larry

Maybe you are looking for

  • My lock/sleep button is stuck and my screen is all white. What do i do?

    my button has beem stuck for a while and the people who works at the apple store said that they cant do anything about it and that was two months ago. Now my screen just frozed then turned white when i was using a app. so what do i do now ?

  • Importing pictures from MS Windows Photoshop Album (Elements)

    I currently have all my photos in Photoshop Elements on a PC with MS Windows. All photos are nicely tagged with multiple tags. My tags are arranged in categories and sub-categories. Since I have now been totally sold on using MAC instead of PC I am t

  • DML on materialized view

    Hi, I generated materialized view and will maintain data on it when I run delete statement that show below error ORA-01732: data manipulation operation not legal on this view So my question is How to maintain data on M View (delete old data)? because

  • IPhoto lost my pictures.  Help!

    I uploaded about 1000 pictures from my SD card onto my MacBook Pro using iPhoto.  When prompted I deleted the photos from the SD card (the usual prompt in iPhoto).  The events are now showing up in iPhoto, but they are empty and the pictures are not

  • Problem with hula setup

    hey there all, i followed the wiki to install hula and when i got to the step where it says ./hulamanager, the processor spiked at 100 percent and just stayed there for a while this is what the terminal gave me Unhandled Exception: System.ObjectDispo