How to recently opened files as Menuitem (swing)

we have a menubar which contains some internalframes and we have to display some html files which we get from a directory directly as a menu item. so if some body puts some more files in the diretory the menu automatically shows all the files in the menu.
Now i come to the problem , we have a menu called WindowMenu .if somebody opens either internalframes or html files we want WindowMenu to display the recently opened internalframes or the htmlfiles as JMenuitem.
and if a user goes to window menu and select a recently opened file it should open that respective frame

http://forum.java.sun.com/thread.jsp?forum=57&thread=397569&tstart=0&trange=30

Similar Messages

  • (Need Help) how to clear the recently opened file list on Flash Player 11?

    excuse me pals, may i ask how to clear recently opened file list under "File" tab on Flash Player 11 (the standalone player) ? i've tried to browse my registry but i can't find the solution (and i can't find the .mru files containg the list). my OS is Windows 7 32bit, i hope i can find solution here

    I found it in the Windows registry under HKCU\Software\Macromedia\FlashPlayer

  • How to Increase the # of Recently Opened Files in DW CS6 ???

    Can anyone please give a detailed instruction on how to increase the number of Recently Opened files in Dreamweaver CS6? I have read the forums everywhere and do not see a solution here that works. For me there is no: Menus/MM/File_RecentFiles.htm
    I mean I have a "Menus" directory but no "MM" directory inside that... also, if I create one... I still need a sample "File_RecentFiles.htm" to copy. Or maybe someone knows another solution?

    I don't have DWCS6, just DWCS4 and DWCC. When I go to Program Files(x86) > Adobe >  Adobe Dreamweaver CC (or Dreamweaver CS4) > configuration > Menus > MM > and then open the file named "File_RecentFiles.htm" at either location, this is the code...
    <!-- MENU-LOCATION=NONE -->
    <html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
    <HEAD>
    <!-- Copyright 2000, 2001, 2002, 2003, 2004, 2005 Macromedia, Inc. All rights reserved. -->
    <TITLE><MMString:loadString id="Menus/MM/File_RecentFiles/title" /></TITLE>
    <SCRIPT LANGUAGE="javascript" SRC="../../Shared/MM/Scripts/CMN/string.js"></SCRIPT>
    <SCRIPT LANGUAGE="javascript" SRC="File_RecentFiles.js"></SCRIPT>
    <SCRIPT LANGUAGE="javascript">
    <!--
    //--------------- LOCALIZEABLE GLOBALS---------------
    var MENU_RecentFile  = dw.loadString('Menus/MM/File_RecentFiles/MENU_RecentFile');
    //--------------- END LOCALIZEABLE   ---------------
    // -->  
    </SCRIPT>
    </HEAD>
    <BODY>
    </BODY>
    </HTML>
    EDIT: It appears you should definitely have this file, unless something is wrong with your installation, or perhaps you are in the wrong directory?

  • How to delete recent opened files.

    How to delete recent opened files.

    [discussion moved to the Reader/Acrobat DC for mobile forum]
    Forum moderators,
    The old Adobe Reader mobile forums (such as the Adobe Reader for iOS forum, the Adobe Reader for Android forum, etc.) are now read-only for users.
    Please move new discussions/questions to the new Reader/Acrobat DC for mobile forum instead.  Thank you!

  • How to delete latest opened file in the recent opened files list?

    Does any one know if there is any api to modify the recent opened files list under the meun File->Open Recent File?

    There is not.

  • How to clear recently opened files

    I'm using Flash Player 11, and I was wondering if I'd be able to remove the recently opened files under "file". Thanks!
    (Also, not related to this question, but is there a keyboard shortcut for "close" or "exit"?)

    What is your operating system & version?
    Do you mean the standalone player (Projector)?

  • How to add "recently opened files" option in my menubar?

    In MS Word & others there will be a option to retrive all the recently opened files.Where exactly these files have been stored? Can I get the code for adding this option in my menu bar?
    regards,
    Madhu

    HI, i believe taht word stores that in the windows registery but yuo could always save it in a file. then each time your application opens or saves a document modify your file. then everytime your application starts just read that file and add the content to your recently opened files list in your menu.
    Hope this helps you,
    Robert

  • How to remove Recently opened files?

    Is there a way to remove Recently opened files (File>Open Recently Edited File)?

    Reset the preferences. in PSE version 10 and older quit the editor (quit PSE in PSE 8 and lower on a mac) then restart it while holding down ctrl+alt+shift (command+option+shift on a mac). Keep the keys down till you see a window asking if you want to delete the settings file. You do.
    In PSE 11 and 12, go to the editor preferences>general and click this button, then restart the editor:

  • Recently open files

    HI!
    How I can change the number of recently open files?

    Here are the locations of the Preferences file, as copied
    from this
    technote, where it is easier to read in point form.
    http://www.adobe.com/go/tn_13188
    FreeHand MX
    Windows - C:\Documents and Settings\[username]\Application
    Data\Macromedia\FreeHand MX\11\English\Settings\FHprefs.txt
    Macintosh OS® X - [harddrive]> Users >
    [username]> Library > Application
    Support > Macromedia> FreeHand MX > 11 > English
    > Settings > Preferences
    Macintosh OS 9 - [harddrive]> System Folder >
    Application Support >
    Macromedia > FreeHand MX> 11 > English > Settings
    > Preferences
    FreeHand 10.0.1 (Windows only)
    C:\Documents and Settings\[username]\Application
    Data\Macromedia\FreeHand\10\English\Settings\FHprefs.txt
    FreeHand 10.0 and 9
    Windows - C:\Program Files\Macromedia\FreeHand
    [#]\English\FHprefs.txt
    Macintosh - [harddrive]> Applications > FreeHand
    [#]> English > Preferences
    FreeHand 8 and 7
    Windows - C:\Program Files\Macromedia\FreeHand
    [#]\FHprefs.txt
    Macintosh - [harddrive]> System > Preferences >
    FreeHand [#] Preferences
    Judy Arndt

  • Projects, Recently Opened files tab missing

    Windows shut down my machine after doing an update, when i started it and opened jdeveloper, it was missing the following tabs (Projects, Application Resources, Data Controls, Recently Opened files tab) under Application Navigator. How do i get them back. I can't see any of my project. I tried to create a sample application and put projects in it, but still can't see the projects.
    Thanks for any help

    It would be located in a directory with a path similar to the one below, replacing "ric" with your windows username.
    C:\Documents and Settings\ric\Application Data\JDeveloper\system11.1.1.0.22.47.32\o.ide
    --Ric                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Clearing recently opened files

    How does one clear an application's recently opened files when control-clicking on an application? Clicking on the mac at the top left corner and clearing recently items only clears that menu, there still remains individual menus for say, preview or quicktime, that I wish to clear and I can't seem to find a way to. Cheers.

    It would be located in a directory with a path similar to the one below, replacing "ric" with your windows username.
    C:\Documents and Settings\ric\Application Data\JDeveloper\system11.1.1.0.22.47.32\o.ide
    --Ric                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How can i open file from adobe reader..i already have adobe read

    how can i open file from adobe reader..i already have adobe reader installed and cannot open a
    file and i cannot convert my file into pdf..

    Is the file really a PDF? Where is it? Have you tried opening it from within Reader?

  • How do I open files in InDesign CS5.5 CS5?

    How do I open files in InDesign CS5.5 CS5?

    Hi, are you trying to open up a CS5.5 document in CS5? If so you need to export the docment while in InDesign CS5.5 to the IDML format.
    Please refer to this document: http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6d52a.h tml#WSa285fff53dea4f8617383751001ea8cb3f-6d4da

  • How can I OPEN files I just downloaded? They're on the DOWNLOADS screen of Firefox but I can't open them even after double-clicking? And they're not on the FOLDERS as well. I tried RIGHT-CLICK and the "open dowloading folder" or something does not work! P

    How can I OPEN files I just downloaded? They're on the DOWNLOADS screen of Firefox but I can't open them even after double-clicking? And they're not on the FOLDERS as well. Even the right-click is not working ... the "open containing folder" does not work.
    == This happened ==
    Not sure how often
    == ALWAYS! ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)

    Open Containing Folders is never active.

  • The recently open files are greyed out.

    The recently open files are greyed out.
    I am using Word Excel 2003 and Windows 8.1
    I have uninstalled and re installed to no effect.
    Any suggestions welcome.

    Hi,
    Please try the following 2 methods:
    1.Click to select the Add new documents to Documents on Start Menu check box on the
    IE tab of Tweak UI. To do this, follow these steps.
    Note To perform the following steps, you must be logged on as a member of the local Administrators group.     
    In Control Panel, double-click Tweak UI.
    Click the IE tab.
    Click to select the Add new documents to Documents on Start Menu check box, and then click
    OK.
    http://support.microsoft.com/default.aspx?kbid=284896
    2.Go to Start—>Run—>Type regedit click ok
    Now you need to navigate the following key from left pane
    HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\POLICIES\EXPLORER
    Now you need to select the following key and delete from right pane
    NoRecentDocsHistory
    Exit your registry editor
    Now you need to go open MS office application click on Tools—>Options
    Click on General Tab, Check the Recently used file list checkbox and use the designated dropdown to select the desired number of entries and click ok
    Note Please backup your Registry before modifiying.
    http://www.windowsreference.com/ms-office/fix-for-ms-office-2003xp2000-recently-used-file-list-is-grayed-out/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support

Maybe you are looking for

  • ERROR :  SSO Partner application could not be registered successfully

    Hi, when i run txkrun.pl to register sso my regisitration fails perl txkrun.pl -script=SetSSOReg You are registering ORACLE HOME, Instance with SSO and OID Servers. Enter the host name where Oracle iAS Infrastructure database is installed ? hschbscgn

  • New Mighty Mouse have better scrollwheel?

    The new iMacs ship with a new mighty mouse -- anyone know if there's changes to the scroll wheel so it won't get dirty as easily? http://usage.wordpress.com/2007/08/14/apple-quietly-updates-mighty-mouse/

  • Downloaded songs disappearing

    I have loaded a bunch of cd's onto my IPOD mini, and a few albums I purchased on ITUNES. The songs from ITunes are on my computer, and were transferred over to my IPod. Sometimes the songs will play. Other times, the screen will speed through all the

  • Highlight Text

    I would like to option to Highlight selected Text in Preview, Pages and Mail. I would prefer to have a right Click option similar to the Bold and Color selections.

  • How do i prevent lightroom from automatically applying a star rating to my images during my import?

    i have consistently imported images, apply my metadata preset, location(folder). i then scroll thru my filmstrip and apply star ratings. suddenly my images are appearing with a one star rating automatically. not sure why?