How to see the other files in swing

hi everybody,
i hope all are fine.
now i dont know how to see other type of files (like txt,doc...) on new frame in swing. for a example,
now i'm run my program,thats open a menu window and click file on menubar and also click open menuitem.now i select one file and click open button. so this time that file open in other frame or notepad.
Advance Thanks !
RSK

I believe JDK6 has the Desktop API which allows you to do this.
Prior to that you can use the Runtime class. Read the HTML page that is displayed when running the example from this posting:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=5123633

Similar Messages

  • How to see the ms files attachment in outlook in iphone

    how to see the ms files attachment in outlook in iphone

    I believe JDK6 has the Desktop API which allows you to do this.
    Prior to that you can use the Runtime class. Read the HTML page that is displayed when running the example from this posting:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=5123633

  • How to see the .AS file that .MXML file is translated to before being compiled to SWF?

    I am trying to dynamically load some other Applications in
    one Application, use ActionScript but not SWFLoader tag, it looks
    like:
    <mx:Application>
    <mx:Script>
    <![CDATA[
    private var loader:SWFLoader = new SWFLoader();
    private function loadSWF(url:String):void{
    var baseURL:String = this.url.substr(0,
    this.url.lastIndexOf("/"));
    var url = baseURL + "/"+ name;
    //even if I did not add any event listener!
    loader.load(url);
    ]]>
    </mx:Script>
    <mx:Button label="B" click="loadSWF('Top_2.swf');" y="10"
    x="58"/>
    </mx:Application>
    then when me click the button, always occured an error like
    this:(even if every method I add try...catch... )
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::updateCallbacks()[E:\dev\3.0.x\frameworks\proj ects\framework\src\mx\core\UIComponent.as:5043
    at mx.core::UIComponent/set
    nestLevel()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:2522]
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\3.0.x\frameworks\projects \framework\src\mx\managers\SystemManager.as:1583
    at
    mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\3.0.x\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:2481]
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\3.0.x\frameworks\proj ects\framework\src\mx\managers\SystemManager.as:2330
    however, if I use <mx:SWFLoader source="Top_2.swf" />
    tag, there is no such problem! So I think it must be I didn't init
    SWFLoader correctly!
    I hope someone can tell me how to crrect this mistake
    directly, but I more wish someone to tell me how to view the .as
    file that the .mxml file translated to before being compiled to a
    SWF( If there is a such step!)
    Thanks!

    Maybe the SWFLoader must be one child of one DisplayObject!??
    I found when the swfloader is been added to some
    DisplayObject in actionScript like below, the problem didn't occure
    any more.
    swfloader.visible = false;
    this.addChild(swfloader); // 'this' is current Application
    swfloader.addEventListener(".....", someHandler);
    swfloader.load("someurl");
    Why? Is this a bug or not?
    I am still waiting someone to tell me where a .mxml file can
    be translated to a .as file which could be visited!

  • How to see the hidden files

    Hi,
    anyone provide the command for seeing the hidden files (or) dot files(Ex: .example.txt) in the unix.
    Thanks
    chelladurai

    Or if you want to list only the dot files, you can do "ls -d .*".
    Personally, I like to use "ls -d .* --color" as it then makes a color distinction between files and directories.
    Kurt
    Edited by: user11084799 on Mar 4, 2010 9:11 AM

  • How to see the whole file names in finder column view?

    Hi guys,
    I like to use finder in column view. However, most of the times, the file names get trunked and I have to redim the column to see the whole names. Other day, without wanting to, I must have pressed some key combination, and the column got redim automatically, so I could read the whole file names. So, my question is if does anybody know how to achieve this?

    I don't know what "redim" means, but if you double-click the column separator, it becomes wide enough for the longest name. If you Option-double-click it, all columns become wide enough for the longest name in each column.

  • How to see the log file on the Reports Application server?

    Hi,
    I am new to this Reports, please correct me if i am wrong or in the wrong forum, we have a java based front-end application which calls oracle reports to display requested reports. We are using oracle reports (9i/10g). I need work on a report, It is working fine if i provide parameters on the report itself, but if i run from the application it is not running properly. I want to see the parameters the application is sending to this report, is there any way that i can some log file or any other one on the report server?
    thanks,

    Thank you.
    When you fire the processes to the report server you
    can trace the report with the following parameter:
    RWCLIENT.EXE SERVER=my_server
    TRACEFILE=c:\my_trace.trc
    TRACEMODE=TRACE_REPLACE
    TRACEOPTS=TRACE_ALL

  • How to see the sequential file for which data is uploaded.

    hi experts,
    here iam transferring data to  application server.
    just chk the code once...
    the output is sucess.
    in al11, in temp iam not in aposition to find this data. how to see it.
    open dataset dsn for output in text mode encoding default.
          if sy-subrc <> 0.
              write :/'dataset cannot be open'.
          else.
              loop at it_upload.
              transfer it_upload to dsn.
              endloop.
              if sy-subrc = 0.
              write :/'sucess'.
              endif.
              close dataset dsn.
          endif.

    What is the value of the variable 'dsn' (i.e. the filename?).
    If it uses directories (i.e. something like "/dir/dir/dir/filename"), you shouldn't look at the temp but follow the path that the variable 'dsn' has.
    If there is no path in the filename 'dsn' it usually is defaulted to the temp directory (DIR_TEMP ("/tmp") or often DIR_SAPUSERS "./"). If the filename doesn't show up in either, check your BASIS people.
    Remember though, the filename is CAPS sensitive the the name "filename" and "FILENAME" are seen as <i>two different names</i> and will show up at different places in in the directory (iirc CAPS are first before lowercase).

  • How to see the video file added in iTune in computer to the iPad?

    I want to transfer a video file from my Window based PC to the iPad2.
    PC OS : Windows 8
    iPad 2 OS : iOS 7.0.2
    Video file format : mp4

    Hi Kandaraj,
    you have to transport the KM Content separatly.
    The procedure is documented here:
    http://help.sap.com/saphelp_nw70/helpdata/en/46/7649426fd759dbe10000000a1553f6/frameset.htm
    When you automated the transport with CTS+ it might be possible to synchronize the transport of the PCD-Objects and the KM-Content (I have not tried this myself actually ...)
    Best regards,
    Stefan Brauneis

  • How do I clean up/archive the "other" files on my startup disk?

    I've recently gone through my computer, archived my old files and moved most of my media files on to an external drive. I've installed Onyx to clean up log files etc, but I can't seem to find where (or what) the "other" files are. About this Mac is telling me that there's 220GB of "other" files on my start up disk.
    Can anyone tell me how to reduce this to free up some more storage space?
    Thanks in advance...

    Use your Activity monitor and search for Grand Perspective on Sourceforge to help you see what's taking up room on your drive.
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • How can I see the stored files in cache?

    How can I see the stored files in cache? I need them!
    Thanks for helping me.

    The History menu lets you revisit the page where you can drag any page element from it.
    How would you sort through thousands (tens of thousands) of files found in a cache?

  • How do I erase the "other" files that are occupying my computer

    I already deleted pics, music, etc and I am ready to continue to delete unnecessary files. How should I erase the "other" files that are in my computer. Please, advice. Thanks

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • How to see the Table Names & Field Names by other than F1 help

    Hi Experts
       How to see the Table Names & Field Names by other than F1 help, & How to see the List of MM Table Names.
    Rgds

    The only option to see the active table/ field name is through F1 --> Technical Information. Apart from this, you can use any 3rd part application like GUIex (INbuilt in SAP ECC 6.0 ... can be activated by clicking on the tri-color button on the top right), but you need technical knowledge to understand the information. As far consolidated list of MM tables is concerned, SAP don;t provide you the same at one place, it experience and knowledge which help you in this regard. For your immediate reference MM tables are as under :
    EBAN  - Purchase Requisition 
    EBKN  - Purchase Requisition Account Assignment 
    EBUB   - Index for Stock Transport Requisitions for Materi
    EINA    - Purchasing Info Record: General Data 
    EINE     - Purchasing Info Record: Purchasing Organization D
    EIPA     - Order Price History: Info Record 
    EKAB   - Release Documentation 
    EKAN   - Vendor Address: Purchasing Document 
    EKBE    - History per Purchasing Document 
    EKBEH - Removed PO History Records 
    EKBZ    - History per Purchasing Document: Delivery Costs 
    EKBZH  - History per Purchasing Document: Delivery Costs 
    EKEH    - Scheduling Agreement Release Documentation 
    EKEK    - Header Data for Scheduling Agreement Releases 
    EKES     - Vendor Confirmations 
    EKET     - Scheduling Agreement Schedule Lines 
    EKETH   - Scheduling Agreement Schedules: History Tables 
    EKKI      - Purchasing Condition Index 
    EKKN    - Account Assignment in Purchasing Document 
    EKKO    - Purchasing Document Header 
    EKPA     - Partner Roles in Purchasing 
    EKPB     - "Material Provided" Item in Purchasing Document 
    EKPO    - Purchasing Document Item 
    EKPV    - Shipping-Specific Data on Stock Tfr. for Purch. D 
    EKRS    - ERS Procedure: Goods (Merchandise) Movements to b 
    EKUB    - Index for Stock Transport Orders for Material 
    EORD    - Purchasing Source List 
    EQUK    - Quota File: Header

  • I canno't see the menu:file;help;tools;downloads,they dessapear,how to show them back?Also,what's the tastature tab for forward/back and minimizing all pages at once?I am speaking for mozilla latest version under win 7

    I canno't see the menu:file;help;tools;downloads,they dessapear,how to show them back?Also,what's the tastature tab for forward/back and minimizing all pages at once?I am speaking for mozilla latest version under win 7

    I canno't see the menu:file;help;tools;downloads,they dessapear,how to show them back?Also,what's the tastature tab for forward/back and minimizing all pages at once?I am speaking for mozilla latest version under win 7

  • I have two excel files I cannot open or delete from my desktop.  One is titled 6ACAD200 and the other file is titled 8D73A700.  How can I get these off of my computer?

    I have two excel files I cannot open or delete from my desktop.  One is titled 6ACAD200 and the other file is titled 8D73A700.  How can I get these off of my computer?

    From the names I'd guess they are temporary files. If excel is running, quit and try again. If they still won't move or delete reboot. If they still won't move or delete...kill a chicken at midnight under an oak tree?

  • I have two companies sending me indesign documents. One opens up and the dictionary is set to English. The other file opens at is in Hebrew, Not sure how to fix the Hebrew part and whether or not the fualt lies at my end or at the other end

    I have two companies sending me indesign documents. One opens up and the dictionary is set to English. The other file opens at is in Hebrew, Not sure how to fix the Hebrew part and whether or not the fault lies at my end or at the other end

    If only the language is Hebrew, you should correct it in the Paragraph and Character Styles.
    But in such a case I would expect more problems.
    If you are a creative cloud subscriber you should additionally install the InDesign version, English with Hebrew support:
    Go to the preferences of you CC.app. It is found behind the Gear Symbols on the top right.
    When the preferences open, go to the Apps section.
    Change the App Language to English with Hebrew support.
    Now you can install it. It will install on the very same place where your InDesign program is found some additional plugins, which will give you access to Hebrew functionality, like RTL text. Otherwise you will inherit in the document (and where you copy and paste it from such a document into another one). But now you can change or repair problems.
    Now repeatstep 1 + 2, but you need not to install your own language again. InDesign will now, when started, run in the language of your OS (when you have it installed in that language) but with more functionality to handle problems with Hebrew documents.
    The same steps you would have to do with Arabic or Asian documents. These languages will also add more plugins. But keep it limitted to those language you need. I have installed it that way, because I get sometime documen where the text flows the wrong direction or the numbers come up in Farsi digit, not in Arabic digits. For such purposes I need versions in languages I don’t understand myself.

Maybe you are looking for

  • Zoom Issue in Color 1.5.3

    My opportunities for zooming in on the Color timeline seem to be limited - surely this is not the way it was designed?  Cmd + =/- only works to a small degree, and yet I can't find anything that will zoom me in to create a viewable timeline of much v

  • Converting CMYK colors to spot color?

    My publisher/printer requests a "hi-res pdf" as camera ready copy for a book I'm writing which will be printed in 2 colors (black and a spot color shade of blue).  The pages have images from various sources and text with CMYK approximations of that b

  • How can i enable face time in i phone sold in middle east

    How i enable face time in i phone sold in middle east

  • 13in. 2008 trackpad click not working

    The physical click on my trackpad is not working. Cleaned it thoroughly, tried removing the battery (bloating) and that did not work. Any thoughts? Things I shoud try? Thank you.

  • Logic Studio and MacBook Pro

    I'm looking into purchasing a new MacBook Pro and wanted to make sure of something. I want to get Logic Studio for work purposes, and even though the tech specs match up, is it too much for a MacBook? I mostly need the mobility and don't want to have