Combining a JSPDynpage and a Dynpage into one iView

Hi!
Does anyone have any idea if it is possible (and if yes, how) to display a JSPDynpage and a Dynpage in the same iView in different trays. Not a page with two iViews though, basically one component containing both of them. I know it's a bit tricky, but there must be a way and I cannot find any documentation on this. Otherwise I would have to rewrite the JSPDynpage code into the original Dynpage which is not as easy given that it uses a bean. Anybody ever seen this kind of problem before?
Cheers,
--Sebastian

Hi Sebastian,
> one component containing both of them
Think of it, what's "both of them" ... in the end, both will be components! So you won't achieve really to have two components as one, all you could do would be to <i>integrate</i> one component into the other (just put an isolated HTML container into one tray and call the component there directly).
Hope it helps
Detlev

Similar Messages

  • How do I combine separate audio and video files into one Quicktime movie?

    I have DVDs that contain separate audio and video files in folders marked Audio_TS and Video_TS. I would like to know how to combine these files into a single Quicktime movie. Is there inexpensive or shareware software that imports and unites these files reliably? A simple solution is preferred, rather than getting into complex media editing applications.
    G4 eMac   Mac OS X (10.4.9)  

    Doug - the VOB files (in the VIDEO_TS folder) are MPEG-2 files. MPEG-2 have the video and audio mixed into the one file - there are no audio files to combine.
    The rest are directions to a DVD player (e.g. the BUP and IFO's) . The AUDIO_TS folder is used for DVD Audio discs and on video DVDs is always empty.
    Many people use Handbrake or iSquint to convert VOB to iPod video though MPEG Streamclip is the best - open the first numbered VOB and it will prompt you to open all of them. ALWAYS fix timecodes when it asks. You can then edit/trim and export to MPEG-4.

  • How do I combine my three apple id's into one account, purchases?

    How do I combine my three apple id's into one account, purchases?
    These apple id's used different email accounts.
    I would like to close down the two other apple id's and use only my iCloud account.

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with another Apple ID with a new Apple ID.
    The only way to get down to one Apple ID is to abandon content from the other two, or abandoning the idea of ever updating anything from the other two.

  • Convert different types of files and merged them into one pdf

    Hi, everyone. I'm girl from China.
    There is folder containing severl files of different types, like doc, msg, jpeg etc.   And I want to convert and merge them into one pdf following a certain order. I know that PDFmaker can do that nicely, but the problem is that I have like 3000+ fodlders that requires the same work.
    I want to do it with VBA and Acrobat. I have a Acrobat XI Standard Version and a perfect license, by the way
    And I have got the code(Thanks, Karl Heinz Kremer) of merging two pdfs into one, but how can I convert them into pdf first?
    Thank you very much.
    If I can finish this, I would like to publish my code on this forum.

    Wow, that's great news. But how should I add the Action?
    1. There is no action named "Covert files into Pdf" in the tools panel....
    And if I write Javascript code to do this action. How should I write it?
    app.openDoc({
    cPath: "/c/temp/myPic.jpg",
    bUseConv: true
    These code only works when I specify the path of the file.
    If you know how, pls tell me..........

  • How can I open all my itunes libraries and merge them into one?

    Some of my music can't be opened by itunes because it says it is in another library.  As there are several of these and they won't open,I can't see where the songs I want are.  Therefore I would like to open ALL the libraries and merge them into one.  Thanks for any help.

    Hmm, read that post of Dave Sawyer's and thought well, that's Ok I have it on my iPod, but no, it's not there either.  Then resorted to Time Machine (not used for a few months (took it away with us when we evacuated to avoid Cyclone Yasi) only to find that is playing up also, and it doesn't appear to be anywhere there either!
    One thing leads on to another - Time Machine has only backed up to 3 months back; then there is nothing beyond!  yet there is tons of stuff on it.  Maybe it backs up the whole system each time, and not just the changes made inbetween times.   The prefs. won't appear and so I can't change the setup.
    All this just because of one sone!

  • How do you combine two or more movie clips into one movie clip in iMovie '09

    how do you combine two or more movie clips into one movie clip in iMovie '09

    First create an iMovie project. Then drag the clips (or portions of clips) that you need into the project.
    When finished, use the SHARE menu to share the project.

  • Can I mix docs from document feeder and scanner glass into one PDF?

    When working with the HP Scanner software, prior to Windows 8, I was able to MIX the source of my documents, meaning I could put all the standard size docs on the document feeder, scan them, and then ADD non-standard sized documents, one at a time, to the same PDF from the scanner glass.  The Windows 8 Scan and Capture software seems to make me pick one or the other.  It was SO convenient, when doing my expense reports, to be able to scan 15 pages or so using the ADF, then use the glass for all of my receipts that were small or damaged.  Am I missing something, or is the Win8 software more limited?  Thanks for any help you might provide!!

    Hi ysroq,
    Welcome to the HP forums! I see that you are wondering if you can mix docs from document feeder and scanner glass into one PDF. I am happy to help, I have a couple questions for you: 
    What type of printer do you have? To find your printer's Product/Model Number follow instructions in this link. Finding Your HP Product Model Number.
    How is the printer connected? Wireless or USB?
    Hope to hear back from you, and have a good day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • How to Combine an .m2v and and an .AC3 into one QT.mov file

    A few years ago I converted a .mov file into an .m2v and an .AC3 using Compressor 1.2 (that was for DVD Studio Pro 3.0). I lost the .mov and now need to combine the two files into one QT .mov file. How can I do that please?
    I have QT 7.1 3 in OS 10.3.9 and also the QT that came with OS 10.5.8 (I can run either OSs.) (I know that the combined file will be of poorer quality compared to the original .mov). I have Aimersoft Total Media Converter 2.0.4 which can convert video from one form to another, but it can't combine (at least I don't think so).

    I lost the .mov and now need to combine the two files into one QT .mov file. How can I do that please?
    If you don't have software to do this directly, basically you would have only two other options. The first would be to mux the M2V and AC3 files and then convert the "muxed" file using a compatible converter. The second, would be to convert the audio and video files separately and merge the converted files in a video editor, QT Pro, GarageBand, or a similar application.

  • How to combine images from several different shoots into one

    Have LR 3.6 for Win xp.
    I have 4 differernt photo shoots that I want to combine into one big single catalogue.  I want to be able to rank and choose images from all 4 shoots at the same time so I can get the best ones identified.
    Each shoot is already in its separate catalogue but I cant figure out how to get all 4 shoots to show up at once so I can rank the best shots and maybe even make a collection of my best images from the 4 shoots.
    How might I do this??
    Thanks Suzzie

    My primary suggestion is that you watch the many videos by Julianne Kost provided in the Adobe site about organizing in the Library Module in LR 4, or read one of the many good LR books. If you want to venture on your own here's a very shorthand description of one of many ways to do what you want. Choose which Catalog you want to use. Open that Catalog and choose "Import from Another Catalog" under the File Menu in the Library Module. Select the images and import them to your chosen main catalog. Once all are in the same Catalog either Keyword all similar images you wish to compare, or make separate Collections of each one. Use the Compare function in the Library ("c" key) and eliminate the one you don't want. Unless you have one client viewing your images in LR and you don't want them to see that you have other images for other clients, I would suggest you use only a single catalog from here on out.

  • How to combine sql.Date with sql.Time into one?

    I have a database where I keep dates and times separately, and getting date only and time only out of a java.util.Date is no problem thanks to the classes java.sql.Date and java.sql.Time. However, I need to read these values back in, put them back together, and then do date comparisons with java.util.GregorianCalendar. I tried just adding the millisecond long values together but that didn't seem to work, and I've tried setting the year, month, date, hours, minutes and seconds individually into a GregorianCalendar but I haven't figured that out yet. Certain queries work out better keeping the date and time separate in the database and it takes less bytes than a timestamp, so please don't suggest I use a timestamp!
    Thanks for your help!
    Stephen

    You can add the milliseconds (ms), but you need to use just part of it. For this example, let X be one more than the maximum number of units in time and also the minimum number of units in date. If we were using hours instead of ms X would be 24.
    t = total ms from time
    d = total ms from date
    T = new combined time
    T = ((d / X) * X) + (T % X);Add (the date, rounded to the nearest day) and (the portion of time which is less than a day).

  • Using DATA_CELL and multiple queries into one table

    Hi WAD experts,
    I have been trying to work out how to combine multiple hidden query result sets in their own tables in the template, into one table displayed as if the data originated from one query.
    I have been looking at using the DATA_CELL method of "modify table" class.
    Has anyone had to do this before - and if so do you have any clues as to how best to do this ?
    Thanks
    Chris

    Here is what I want:
    Say I have a query that tells me about how many items were sold at a hardware store for each week. Then the output would look something like this:
    Week,Item,Num_Sold
    13,Hammer,15
    13,Nail,594
    13,Screw,398
    14,Hammer,16
    14,Nail,382
    14,Screw,331
    But I want my output to look like this:
    <space>,13,14 <-- these would be the week numbers
    Hammer,15,16
    Nail,594,382
    Screw,398,331
    I asked this same question in a SQL-only forum and one person responded that they did not know how to do that. But I figure that this is done often enough that there must be some Open Source program that can transform the output data into a table. As you can see, it's not a pure transform. It's more like I take one column, make that the x-axis, another column, make that the y-axis, and "plot" the data based on the two columns. It's kinda like taking 1D data and making it 2D. There's no existing open source program which does this? I figure that I could just give the program my SQL queries, specify some rule such as "Make the first column of the resultset the row, make the second column the column and create a table with the 3rd row, using the first two rows to map the 3rd row into the table". Note that I think this only works with 3 columns.
    Anyway, if there is no simple program that already does this, I can make a program to do what I just described. I just asked the question here because I figure that there are a lot of people knowledgeable about SQL and Java on this forum and that someone would know of a tool which already does what I want if one exists.

  • I want to combine several libraries on several drives into one library, Can this be done?*

    I have several itunes libraries and playlists on several drives and directories.  Is there an easy way to combine all these files into one library with one play list?  Currently it takes up alot of space and I do not have all the media available readily useable.

    Interesting. If it claims to do it, then it should; I didn't think it did. Importantly, Acrobat doesn't know how to read INDD files, except that it knows how to run InDesign to make a conversion. If there is any trouble running InDesign on that machine, it will affect it.
    Still, I'd recommend exporting. With InDesign documents the export settings used are critical, and you'd want to control them rather than have some default.

  • Combine selected Debit memo request Items into one invoice

    Hi
    The requirment is to select line items from multi debit memo request documents and combine those line items into one invoice.
    So far, our ABAP developer is designing an selection screen to list all the line items met certain criteria (e.g. certain material number, or certain service rendered dates etc.) from multi debit memo request.
    My challenge is how actually combine all these line items and push into one invoice ?
    I see that in VF01 SAP provides the capability to combine multi sales documents into one invoice processing . ( forget about the invoice split rule for now.) , but the item selection is greyed out.
    If I use VF06 do the collective billing, where to enter the line items ?
    Is there some user exit / BAPI can push line items from different sales document into one invoice creation ?
    Please let me know if my requirement is not clear.
    Thanks
    Edited by: Eric Y on Aug 25, 2008 6:04 AM

    Reply to R.Janakiraman:
    1.) As my understanding that debit memo is a billing invoice. Debit Memo Request is a sales doc. At least what I meant here debit memo and billing invoice is the same document.
    2.) We would like create the debit memo (invoice) through "SD" not FI.
    The challenge still exists, let me explain.
    Let's say we have 50 Debit Memo Request (DMR) Documents ready to bill the customer and each DMR has multi line items.
    e.g. DMR 001 has 20 line items and DMR 002 has 30 line items.
    The customer would like to take the 10 line items from DMR 001 and 20 line items from DMR 002 ( by certain selection criteria) to combine into one invoice.
    I was thinking use VF01 to combine the DMR 001 and 002 and let the program put billing block on those non-billed items, but in reality it doens't work; because some of the line items in the original DMR may have already been blocked the user. If the program put billing block, I can't tell whether the line item billing block is set originally by end user or the program.
    What I am trying to search for is the solution to take some of the line items from different DMRs and combine into one invoice, not combine several DMRs into one single invoice.
    Please help if there is any BAPI can do the job .
    Thank you, Ashish Mohapatra , I will ask our ABAP developer to investigate the bapi
    BAPI_SALESDOCU_CREATEFROMDATA1.
    SNavaneetha
    You said that "The line items being greyed out is due to the property of the Item category of the DMR". Does that mean I can config the item category to allow to be entered ? Which field in the Item category that I can do that ?
    Great thanks for all
    Edited by: Eric Y on Aug 30, 2008 7:13 PM

  • Combine CSV columns from multiple sources into one

    Hi, 
    I am trying to import column from one CSV file and output it into additional columns on a Get-MailboxStatistics | Export-CSV command. The issue with the script I have created is that when use an Expression to create the new column it outputs all of the items
    in the column from the import CSV into one row. See script below, I have highlighted the expressions that are not working.
    Any assistance would be appreciated. 
    [Array]$Global:NotesMailSizeMaster = (Import-Csv c:\usermigration.csv).MailSizeMaster
    [Array]$Global:NotesMailSizeRefresh = (Import-Csv c:\usermigration.csv).MailSizeRefresh
    [Array]$Global:UserAlias = (Import-Csv c:\usermigration.csv).Alias
    if (!(Get-PSSnapin |
    Where-Object { $_.name -eq "Microsoft.Exchange.Management.PowerShell.Admin" }))
    ADD-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin
    $Output = ForEach ($Alias in $UserAlias)
    { Get-MailboxStatistics $Alias | select-object DisplayName, ServerName, StorageGroupName, Database, @{ Name = "TotalItemSize"; expression = { $_.TotalItemSize.Value.ToMB() } },
    @{ Name = "NotesMailSize(PreRefresh)"; expression = { $NotesMailSizeMaster } }, @{
    Name = "NotesMailSize(PostRefresh)"; expression = { $NotesMailSizeRefresh }
    $filename = (Get-Date).ToString("yyyyMMdd")
    $Output | export-csv -Path c:\"$filename-mailboxstats.csv" -NoTypeInformation

    There's a lot wrong with this script:
    1.  You're importing the same file 3x; you should import one and reference the things you need out of it.
    2.  If the CSV has more than one row in it, your .notation you're using to access the MailSizeMaster, MailSizeRefresh, and Alias properties is used incorrectly.  If you are trying to reference each of those properties from an array of different entries,
    the proper way would be:
    $Import = @(Import-Csv C:\usermigration.csv)
    $MailSizeMaster = $Import | Select-Object MailSizeMaster
    OR
    $MailSizeMaster = $Import | Select-Object -Expand MailSizeMaster
    ...the "OR" is not PowerShell. 
    3.  I don't know if you can concatenate different objects with the select-object cmdlet like you are.  However, what you could do is create a custom object to load the values into and then output that object:
    $filename = (Get-Date).ToString("yyyyMMdd")
    foreach ($item in $Import) {
    $MS = Get-MailboxStatistics $item.Alias
    New-Object PSObject -Property @{
    'DisplayName' = $MS.DisplayName
    'ServerName' = $MS.ServerName
    'StorageGroupName' = $MS.StorageGroup
    'Database' = $MS.Database
    'NotesMailSizePre' = $item.MailSizeMaster
    'NotesMailSizePost' = $item.MailSizeRefresh
    } | Select-Object DisplayName,ServerName,StorageGroupName,Database,NotesMailSizePre,NotesMailSizePost | Export-Csv -NoTypeInformation "C:\$($filename)-mailboxstats.csv"

  • Read multiple files and save all into one output file(AGAIN)

    Hi, guys
    I need your help for reading data from multiple files and save the results into one output file. When files are selected from file chooser, my program read the data line by line , do some calculations and save the result into the output. I made an array to store input files and it seems to be working fine, but when it comes to SaveFile() function, issues NullPointException message.
    public class FileReduction1 extends JFrame implements ActionListener
       // GUI definition and layout
        /* ACTION PERFORMED */
        public void actionPerformed(ActionEvent event) {
            if (event.getActionCommand().equals("Open File")) getFileName();
        /* OPEN THE FILE */
        private void getFileName() {
            // Display file dialog so user can select file to open
         JFileChooser fileChooser = new JFileChooser();
         fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
            fileChooser.setMultiSelectionEnabled(true);
         int result = fileChooser.showOpenDialog(this);
         // If cancel button selected return
         if (result == JFileChooser.CANCEL_OPTION) return;
            if (result == JFileChooser.APPROVE_OPTION)
             files = fileChooser.getSelectedFiles();
                textArea.setText("");
                if(files.length>0)
                    filelist="";
                    System.out.println("files length"+files.length);
                    for(int i=0;i<files.length;i++)
                         System.out.println(files.getName());
    filelist+=files[i].getName()+" ,";
    if (checkFileName(files[i]) )
    openButton.setEnabled(true);
    readButton.setEnabled(true);
    textArea.append("file "+files[i].getName()+"is a proper file"+"\n");
    readFile(files[i]);
    textfield.setText(filelist);
    else{JOptionPane.showMessageDialog(this,"Please select file(s)",
                    "Error 5: ",JOptionPane.ERROR_MESSAGE); }
         // Obtain selected file
    /* READ FILE */
    private void readFile(File fileName_in) {
    // Disable read button
    readButton.setEnabled(false);
    // Dimension data structure
         getNumberOfLines(fileName_in);
         data = new String[numLines][4];
         // Read file
         readTheFile(fileName_in);
         // Rnable open button
         openButton.setEnabled(true);
    /* GET NUMBER OF LINES */
    /* Get number of lines in file and prepare data structure. */
    private void getNumberOfLines(File fileName_in) {
    int counter = 0;
         // Open the file
         openFile(fileName_in);
         // Loop through file incrementing counter
         try {
         String line = fileInput.readLine();
         while (line != null) {
         counter++;
              System.out.println("(" + counter + ") " + line);
    line = fileInput.readLine();
         numLines = counter;
    closeFile(fileName_in);
         catch(IOException ioException) {
         JOptionPane.showMessageDialog(this,"Error reading File",
                   "Error 5: ",JOptionPane.ERROR_MESSAGE);
         closeFile(fileName_in);
         System.exit(1);
    /* READ FILE */
    private void readTheFile(File fileName_in)
    // Open the file
    //int row=0;
    int col=0;
    openFile(fileName_in);
    System.out.println("Read the file");
    // Loop through file incrementing counter
    try
    String line = fileInput.readLine();
    while (line != null)
    boolean containsDoubles = false;
    double temp;
    String[] lineParts = line.split("\t");
    try
    for (col=0;col<lineParts.length;col++)
    temp=Double.parseDouble(lineParts[col]);
    data[row][col] = lineParts[col];
    containsDoubles = true;
    System.out.print("data["+row+"]["+col+"]="+lineParts[col]+" ");
    } catch (Exception e) {row=0; col=0; temp=0.0;}
    if (containsDoubles){ row++;}
    System.out.println();
    line = fileInput.readLine();
    catch(IOException ioException)
    JOptionPane.showMessageDialog(this,"Error reading File", "Error 5: ",JOptionPane.ERROR_MESSAGE);
    closeFile(fileName_in);
    System.exit(1);
    //System.out.println("length"+data.length);
    closeFile(fileName_in);
    process(fileName_in);
    /* CHECK FILE NAME */
    /* Return flase if selected file is a directory, access is denied or is
    not a file name. */
    private boolean checkFileName(File fileName_in) {
         if (fileName_in.exists()) {
         if (fileName_in.canRead()) {
              if (fileName_in.isFile()) return(true);
              else JOptionPane.showMessageDialog(null,
                        "ERROR 3: File is a directory");
         else JOptionPane.showMessageDialog(null,
                        "ERROR 2: Access denied");
         else JOptionPane.showMessageDialog(null,
                        "ERROR 1: No such file!");
         // Return
         return(false);
    /* OPEN FILE */
    private void openFile(File fileName_in) {
         try {
         // Open file
         FileReader file = new FileReader(fileName_in);
         fileInput = new BufferedReader(file);
         catch(IOException ioException) {
         JOptionPane.showMessageDialog(this,"Error Opening File",
                   "Error 4: ",JOptionPane.ERROR_MESSAGE);
         textArea.append("OPEN FILE\n---------\n");
         textArea.append(fileName_in.getPath());
         textArea.append("\n");
         //System.out.println("File opened successfully");
    /* CLOSE FILE */
    private void closeFile(File fileName_in) {
    if (fileInput != null) {
         try {
              fileInput.close();
         catch (IOException ioException) {
         JOptionPane.showMessageDialog(this,"Error Opening File",
                   "Error 4: ",JOptionPane.ERROR_MESSAGE);
    System.out.println("File closed");
    private void process(File fileName_in) {
    //getNumberOfLines();
         //data = new String[numLines][3];
         // Read file
    double temp,temp1;
         //readTheFile();
    //System.out.println("row:"+row);
    //int number=data.length;
    //System.out.println(number);
    for (int i=0; i<row; i++)
    temp=Double.parseDouble(data[i][1]);
    sumx+=temp;
    temp1=Double.parseDouble(data[i][3]);
    sumy+=temp1;
    multixy+=(temp*temp1);
    square_x_sum+=(temp*temp);
    square_y_sum+=(temp1*temp1);
    //System.out.println("Sum(x)="+sumx);
    double tempup=(row*multixy)-(sumx*sumy);
    double tempdown=(row*square_x_sum)-(sumx*sumx);
    slope=tempup/tempdown;
    double tempbup=sumy-(slope*sumx);
    intb=tempbup/row;
    double tempside=(row*square_y_sum)-(sumy*sumy);
    double cordown=Math.sqrt(tempdown*tempside);
    corr=tempup/cordown;
    r_sqrt=corr*corr;
         textArea.append("Data for file"+ fileName_in.getName()+" have been processed successfully.");
         textArea.append("\n");
         textArea.append("Please enter output file name including extension.");
    System.out.println("number"+row);
    System.out.println("slope(m)="+slope);
    System.out.println("intecept b="+intb);
    System.out.println("correlation="+corr);
    System.out.println("correlation="+r_sqrt);
    saveFile();
    private void saveFile()
    textArea.append("SAVE FILE\n---------\n");
    if (openFile1())
         try {
              outputToFile();
    catch (IOException ioException) {
              JOptionPane.showMessageDialog(this,"Error Writing to File",
                   "Error",JOptionPane.ERROR_MESSAGE);
    private boolean openFile1 ()
         // search for the file path
    StringBuffer stringpath;
    title=textfield1.getText().trim();
    int temp=fileName_in.getName().length();
    int temp_path=fileName_in.getPath().length();
    int startd=(temp_path-temp);
    stringpath=new StringBuffer(fileName_in.getPath());
    stringpath.delete(startd, temp_path+1);
    //System.out.println("file-path="+temp_path);
    //System.out.println("length-file="+temp);
    path=stringpath.toString();
    fileName_out = new File(path, title);
    //System.out.println(file_out.getName());
    if (fileName_out==null || fileName_out.getName().equals(""))
         JOptionPane.showMessageDialog(this,"Invalid File name",
                   "Invalid File name",JOptionPane.ERROR_MESSAGE);
         return(false);
         else
    try
    boolean created = fileName_out.createNewFile();
    if(created)
    fileOutput = new PrintWriter(new FileWriter(fileName_out));
    fileOutput.println("File Name"+"\t"+"Slope(m)"+"\t"+"y-intercept(b)"+"\t"+"Coefficient(r)"+"\t"+"Correlation(R-Squared)");
    return(true);
    else
    fileOutput = new PrintWriter(new FileWriter(fileName_out,true));
    return(true);
    catch (IOException exc)
    JOptionPane.showMessageDialog(this,"Please enter the file name","Error",JOptionPane.ERROR_MESSAGE);
    return(false);
    private void outputToFile() throws IOException
    // Initial output
         textArea.append("File name = " + fileName_out + "\n");
         // Test if data exists
         if (data != null)
         fileOutput.println(fileName_in.getName() +"\t"+ slope+"\t"+intb+"\t"+corr+"\t"+r_sqrt);
    textArea.append("File output complete\n\n");
         else
    textArea.append("No data\n\n");
         // End by closing file
    initialcomp();
         fileOutput.close();
    private void initialcomp()
    slope=0.0;
    intb=0.0;
    corr=0.0;
    r_sqrt=0.0;
    sumx=0.0; sumy=0.0; multixy=0.0; square_x_sum=0.0; square_y_sum=0.0;
    for(int i=0;i<data.length;i++)
    for(int j=0;j<data[i].length;j++)
    data[i][j]=null;
    /* MAIN METHOD */
    public static void main(String[] args) throws IOException
         // Create instance of class FileChooser
         FileReduction1 newFile = new FileReduction1("File Reduction Program");
         // Make window vissible
         newFile.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         newFile.setSize(500,400);
    newFile.setVisible(true);
    Sorry about the long lines.
    As you can see, all input files saved in array called files, however when OpenFile1() function is called, it take input (fileName_in) as a single file not an array. I'm assuming this causes the exception.
    When there's muptiple inputs, program should take each file from getFileName() to outputToFile() sequentially.
    Does anybody have an idea to solve this?
    Thanks a lot!!

    you naming convention is confussing. you should follows Java naming convention..you have a getXXX but decalred the return type as "void"...get usully means to return something...
    your code is doing too much..and hard to follows..
    1. get the selected files
    for each selected file
    process the file and return the result
    write out the result.
    /** close the precious resource */
    public void closeResource(Reader in){
        if (in != null){
            try{ in.close(); }
            catch (Exception e){}
    /** get the total number of line in a file */
    public int getLineCount(File file) throws IOException{
        BufferedReader in = null;
        int lineCount = 0;
        try{
            in = new BufferedReader(new FileReader(file));
            while ((in.readLine() != null)
                lineCount++;
            return lineCount;
        finally{ closeResource (in);  }
    /** read the file */
    public void processFile(File inFile, File outFile) throws IOException{
        BufferedReader in = null;
        StringBuffer result = new StringBuffer();
        try{
            in = new BufferedReader(new FileReader(inFile));
            String line = null;
            while ((in.readLine() != null){
                .. do something with the line
                result.append(....);
            writeToFile(outFile, result.toString());
        finally{ closeResource (in);  }
    public void writeToFile(File outFile, String result) throws IOException{
        PrintWriter out = null;
        try{
            out = new PrintWriter(new FileWriter(outFile, true));  // true for appending to the end of the file
            out.println(result);
        finally{  if (out != null){ try{ out.close(); } catch (Exception e){} }  }
    }

Maybe you are looking for