Importing from different subdirectory

Hi, Can anyone help?
I would like to import a package from a different subdirectory.
The main file is looking for:
import test.assumptionsInputScreen1;
That file is in a parallel subdirectory called test.
Do I need a more specific path? The compile results in a cannot resolve symbol : class assumptionsInputScreen1
Thanks

You import a class (not a file) and the compiler looks for classes using the Classpath directories and the fully qualified class name. For "import test.assumptionsInputScreen1;" the compiler will look thru the directories in the Classpath to find a directory that contains a directory named test that contains file named assumptionsInputScreen1.class. Inside the file must be a class defined to be in a package named test and a name of assumptionsInputScreen1 - and java is case-sensitive.

Similar Messages

  • File Crashing FCP - Can import from different tape brand be at fault?

    I always use Sony Premium mini DV tapes and import my video through my Sony DSR-11 miniDV deck into FCP.
    I was recently handed a Fujifilm miniDV tape. The video imported fine. But once I dragged it to the timeline, rendering any transitions or filters caused big gray boxes to appear on the video. Sound also fell. I was able to make it work - but the exported file retained the boxes at different places each time I exported.
    Now the file doesn't open at all and it crashes FCP. All other files on my system still open and export fine except for this one.
    My question is 1. whether the change of tape brand can cause the import to go haywire.
    and 2. Is there any way I can open this file? I trashed preferences and restarted with no luck.
    Any suggestions ar emuch appreciated. Thanks!
    Dual 1.8 GHz G5 Mac OS X (10.4.8) 4 GB DDR SDRAM

    I've never had the same experience, so this is purely speculation.
    Changing brands used in the same camcorder has been reported as the cause of recording & playback problems. But, since the playback from the DSR was okay, I'm guessing the brand isn't the problem.
    Could be the camcorder settings don't match your FCP settings?
    What if you copied the Fuji tape to Sony tape in your camcorder. That way you would have control of both the tape and the camcorder settings.

  • Trying to import from different csv files into multiple JTables

    This might seem like something that isn't commonly done, but I'll see if anyone has done this before anyways.
    I currently have a JTable (tab #1) and it successfully reads in the data from a CSV file to populate the cells. Now, I am looking into making 3 more JTables. I can tab between the four different tables, but I can't seem to figure out how to get the data to go to the correct JTable. Tab #1 = table, Tab #2 = table2, Tab #3 = table3, Tab #4 = table4.
    Thanks.
            try
                FileInputStream fileInput = new FileInputStream ("upcoming.csv");
                BufferedReader InputCSV = new BufferedReader (new InputStreamReader (fileInput));
                line = InputCSV.readLine(); //start reading into the records.
                    //Create data for the table.
                    //the row variable = starting row
                int row = 0;
                while(line != null)
                    tmp = line.split(",");
                    for (int col = 0; col < columnNames.length; ++col)
                        data[row][col] = tmp[col]; //store cells' data to the 2-dimensional array.
                    row++;
                    line = InputCSV.readLine();
                }//end of WHILE-statement.
            } //END of TRY-statement.
            catch(Exception e)
                System.out.println(e);
            }

    I have been successful in my quest to get 4 different datasets into 4 different JTables. The previous posters suggestion to use the Table model led me to this page:
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/table/TableModel.html
            TableModel myData = new MyTableModel();
            JTable table = new JTable(myData);I had some very similar code in my program. I use the DefaultTableModel and the SortFilterModel before having 4 different JTables.
            DefaultTableModel model = new DefaultTableModel(data, columnNames);
            DefaultTableModel model2 = new DefaultTableModel(data2, columnNames);
            DefaultTableModel model3 = new DefaultTableModel(data3, columnNames);
            DefaultTableModel model4 = new DefaultTableModel(data4, columnNames);I use the code in the first post 4 times, and only change the filename and the data#.
    I also have some code that counts the number of lines that will be needed.
    Thanks.

  • Import Data Table from Different DB Schema in BI Administration

    Here is my scenario:
    Tables are imported from different DB schema in Administration. They are then joined together.
    When I select fields from more than one schema in BI Answer, incorrect result is returned.
    Below is the SQL it returns:
    -------------------- Sending query to database named DW_TESTING (id: <<15875>>):
    select D1.c4 as c1,
    D1.c5 as c2,
    D1.c2 as c3,
    D1.c1 as c4,
    D1.c3 as c5
    from
    *(select D1.c1 as c1,*
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5
    from
    *(select sum(T34.PRODUCT_SALES) as c1,*
    T52.DESCRIPTION as c2,
    T52.BE_TYPE as c3,
    T137.YEAR as c4,
    T137.QUARTER as c5,
    ROW_NUMBER() OVER (PARTITION BY T52.BE_TYPE, T137.QUARTER ORDER BY T52.BE_TYPE ASC, T137.QUARTER ASC) as c6
    from
    BEADMIN.BE_MASTER T52,
    DWADMIN.DATE_MASTER T137,
    BEADMIN.BE_DAILY_SALES T34
    where  ( T34.BE_TYPE = T52.BE_TYPE and T34.SALES_DATE = T137.CALENDAR_DATE )
    group by T52.BE_TYPE, T52.DESCRIPTION, T137.YEAR, T137.QUARTER
    *) D1*
    where  ( D1.c6 = 1 )
    *) D1*
    order by c2
    +++Administrator:7e0000:7e001f:----2009/06/08 17:22:09
    -------------------- Sending query to database named DW_TESTING (id: <<15938>>):
    select D2.c2 as c1,
    D2.c3 as c2,
    D2.c1 as c3
    from
    *(select D1.c1 as c1,*
    D1.c2 as c2,
    D1.c3 as c3
    from
    *(select sum(T109.PRODUCT_SALES) as c1,*
    T137.YEAR as c2,
    T137.QUARTER as c3,
    ROW_NUMBER() OVER (PARTITION BY T137.QUARTER ORDER BY T137.QUARTER ASC) as c4
    from
    DWADMIN.DATE_MASTER T137,
    DWADMIN.DAILY_SALES T109
    where  ( T109.SALES_DATE = T137.CALENDAR_DATE )
    group by T137.YEAR, T137.QUARTER
    *) D1*
    where  ( D1.c4 = 1 )
    *) D2*
    order by c2
    It seems that query has been seperated into two, and doesn't have relationship between each others.
    However, I also tested the same situation in other environment, and it returns correct result. I found that the query hasn't been seperated into two, but one. The query is as below:
    -------------------- Sending query to database named BI (id: <<2392>>):
    WITH
    SAWITH0 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    *(select sum(T29.PRODUCT_SALES) as c1,*
    T96.DESCRIPTION as c2,
    T120.YEAR as c3,
    T120.QUARTER as c4,
    ROW_NUMBER() OVER (PARTITION BY T96.DESCRIPTION, T120.QUARTER ORDER BY T96.DESCRIPTION ASC, T120.QUARTER ASC) as c5
    from
    SIMULATION.BE_MASTER T96,
    SIMULATION.DATE_MASTER T120,
    BIEE.BE_DAILY_SALES T29
    where  ( T29.BE_TYPE = T96.BE_TYPE and T29.SALES_DATE = T120.CALENDAR_DATE )
    group by T96.DESCRIPTION, T120.YEAR, T120.QUARTER
    *) D1*
    where  ( D1.c5 = 1 ) ),
    SAWITH1 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    *(select sum(T102.PRODUCT_SALES) as c1,*
    T120.YEAR as c2,
    T120.QUARTER as c3,
    ROW_NUMBER() OVER (PARTITION BY T120.QUARTER ORDER BY T120.QUARTER ASC) as c4
    from
    SIMULATION.DATE_MASTER T120,
    SIMULATION.DAILY_SALES T102
    where  ( T102.SALES_DATE = T120.CALENDAR_DATE )
    group by T120.YEAR, T120.QUARTER
    *) D1*
    where  ( D1.c4 = 1 ) )
    select distinct case  when SAWITH0.c3 is not null then SAWITH0.c3 when SAWITH1.c2 is not null then SAWITH1.c2 end  as c1,
    case  when SAWITH0.c4 is not null then SAWITH0.c4 when SAWITH1.c3 is not null then SAWITH1.c3 end  as c2,
    SAWITH0.c2 as c3,
    SAWITH1.c1 as c4,
    SAWITH0.c1 as c5
    from
    SAWITH0 full outer join SAWITH1 On nvl(SAWITH0.c4 , 8) = nvl(SAWITH1.c3 , 8) and nvl(SAWITH0.c4 , 9) = nvl(SAWITH1.c3 , 9)
    order by c1, c2, c3
    This query returns correct result and seems reasonable.
    Assume that the setup in BI Administration is the same for both environment, why the first situation returns query that are separated?

    I have made the same remark but not with two different environment and same design.
    What can influence the construction of two queries ?
    Here some ideas :
    - if you have of course two connections pools (I assume not)
    - if in our database features (double click on the icon and choose the tab feature), full outer join is not supported
    But I have this two requirement on my laptop and I can see that I have also two sql fired.
    What you can do is to make a comparison of your two repository.
    In the administration tool, File/Compare.
    The result will be very interesting.

  • Split up of events into clips, imported from VHS cassettes

    I have been trying to split up events which I imported from different video cassettes, they import in one big clip into one event, but the thing is I need to split up this event into several independant events, I dont seem to be able to find a solution,
    Bye for now, Peter

    I am assuming that once you have split up your Event you will create a Project for each of them in order to do your editing  etc.
    What you could do is create several Projects from the one Event, thereby achieving, hopefully, the same thing.
    Try this.
    From your Event create new Project ie File -- New Project.You could call this Project 1.
    At top of screen select iMovie then down to Preferences.Select the Browser tab and click on "Clicking in Events Browser selects entire clip " Close the Imovie Preferences.
    Click on your big clip in your Event and a yellow box will surround this whole clip .You should see that the left and right sides of this yellow box have what look like small loops or handles. Click and hold down on the handles and move the sides (left or right ) to the position where you want to start and finish a particular section.You can view these positions on your screen as you move left or right, let go of mouse when in wanted position.
    You might want to expand your clip using the slider at bottom right of the Event before doing this to give you more visibility and control.
    When you have positioned the left and right handles to your liking, ( covering say the first 20 minutes of your Event ) click in the yellow box, hold down and drag to your project.
    Now create a new project---  Project 2  and repeat the above for the next section of your Event, and so on untill you have covered your entire Event.
    If you wanted to break up your Event into say 5 sections, you have 1Event but 5 Projects.( Instead of 5 Events and 5 Projects)
    Each Project can be edited as you wish.
    Moving the handles left and right takes a bit of getting used to at first but you will get the hang of it quite quickly.
    Hope this achieves what you were trying to get to.

  • Compare Merge Model problems with models from different connections

    Hi all,
    I've experienced a problem while using the compare/merge model funcion under tools.
    Just to put in place:
    I've 4 model, one for each enviroment that I have: DEV, INT, TEST, PROD(*each model imported from different connections*). Because I haven't found any reliable way to keep them sincronyzed, using DLL deltas. Is there a way to do that?
    Anyway, regarding the main subject problem. Whem I try to sync for example, from PROD, to TEST, using compare/merge model function under tools, the process find the differences. When I selecte those that I want, and click on merge, the destination model TEST, get the selected objects merged into.
    But now, the model Schema, when I select sincronyze model with data dictionary to get de DLL delta, things get crazy, and the merged objects doesn't get detected to be created.
    If it's help, I think that the is with the associated import connection than the merged objects have. They have the PROD connection name, instead of the TEST connection name. Also when I try to syncronize the relational model againts de data dictionary(database), datamodeler ask me wich connection to use, PROD or TEST. When, before, merging, model, data modeler did not ask me anything.
    Why is data modeler doing this?
    What I have seen is when you import in a model things from different connections/models, when you try to sincronyze agains a connection, all objects that are not from the selected connection doesn't get compared.
    Is there a bug or a problem?
    How can I can keep a schema in different enviroments, sync? What are the step that I shoulf follow?
    Thanks in advance.
    Edited by: morfeo8marc on 14-mar-2012 11:17

    I shall try to explain what is happening here.
    When you import objects from TEST data dictionary, their source information (see Summary info in Properties dialog) will refer to TEST.
    The relational model for TEST will contain source information (see Summary info in Properties dialog) for the connection to TEST.
    Similarly, imported objects from PROD will refer to the PROD data dictionary, and the PROD relational model will hold connection details for PROD.
    If you merge PROD objects into the TEST model, they will retain their source information (i.e. referring to PROD).
    The TEST model will be updated to include connection details to PROD.
    When you synchronize a model, if it only has one source connection, it uses that.
    If it has more than one, it will prompt you to decide to which data dictionary it should synchronize.
    In your case, for the TEST data dictionary, it will synchronize all objects that have source information for TEST (i.e. those imported from TEST).
    It will also compare any new objects (i.e. those not imported from a data dictionary).
    It will not compare objects that were imported from a different data dictionary (e.g. PROD).
    This supports the scenario where a model consists of objects imported from more than one data dictionary, and where the data dictionaries are maintained separately.
    We may need to review the above strategy in light of your experience and development process.
    In the meantime, may I suggest that from your updated TEST model, you Import from Data Dictionary using the TEST connection.
    The resulting Compare Models dialog should show all objects (i.e. those from TEST and PROD).
    You may need to set the Swap Models option to generate DDL with which to update your TEST data dictionary.
    Thank you for raising this matter.
    Regards,
    Tony Rose

  • Iphoto 11 import problem.  My camera is importing photos as 4x4.  I see a single image in the preview window, but the import is 4x4.  I just imported from a different camera and that one was OK.  I can't find any setting to change to fix this problem

    I am having a new problem in IPhoto'11.  An older camera is importing photos as 4x4 (16 copies to a single image).  In the preview pane the photos are fine (single copy per image).  I have tried disconnecting and reconnecting but the problem repeats.  Earlier I had a successful import from a different camera.
    I can't find any settings to change this. Help!

    Sorry but I do not understand your question
    As to importing iPhoto simply copies the photos to the iPhoto llibrary - no changes of any sort are made
    LN

  • I would like to import two different cf cards from two different cameras into the same project/folder and have them be in order of the times they were taken, is there a trick?

    I would like to import two different cf cards from two different cameras into the same project/folder and have them be in the order of the times they were taken, any ideas on how to do this?

    Just import them normally and sort the project by date. They will fall into place. If you tried this and it isn;t happening then make sure the data and times on the two cameras are identical and make sure you are sorting by date and time and nothing else.

  • How do I import photos to iPad2 from different folders in my Mac?

    How do I import photos to iPad2 from different folders in my Mac?
    I have a few folders of photos in my mac that I want to be on my iPad2. How do I go about on doing that?
    It seems like I need to put all the folders into one folder and point iTunes to that main folder.
    The thing is I don't want to copy them (waste of space) and I don't want to move them (my photos are organized).
    So is there a way for me to import photos from different folders in my mac to my iPad2?
    Thank you!
    BTW... I don't use iPhoto.

    Find software (which may not exist) to export them in a photo format (jpeg, tiff). IPhoto will not do it
    LN

  • How to export and import from AIX to solaris a whole schema with different

    how to export and import from AIX to solaris a whole schema with different character set
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    Import terminated successfully with warnings.

    The conversion between the character sets on the two servers are handled automatically. Export from one server will export the data given the character set defined on that server. Import into another server will import the data given the character set defined on that server, performing a conversion if necessary. This can be a problem when going from single-byte to a multi-byte character set. In your case, the warning is simply for your information, shoule be no real problem given the character sets you're using.
    For more info...check out (pertains to 9i):
    Export
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1006791
    Character Ste Migration
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch10.htm#1656
    HTH

  • Import data from different Excel sheets to different tables

    I have an Excel file which has different sheets(S1,S2,S3) .The columns in the sheet are different. I want to import the data from different sheets to different tables(T1,T2,T3).
    S1 ---> T1
    S2 ---> T2
    S3 ---> T3
    I want only one Excel data source in my SSIS package.

    You need to have different DFT flows for that as the metadata is different. You need to map each sheets to corresponding destination tables and then it would work fine
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • When i import from my vidio camera into imovie the clips look tall and thin.tied different imports like full size or large but seem to make no difference everything seems to run ok including sound whats going on?   the m

    when i import from my video camera into imovie the clips look tall and thin. tried different imports like full size or large have imported both sd and hd but seem to make no difference everything seems to run ok including sound. whats going on?  

    Hi Brad,
    when you use Streamclip to convert media, use the same name for the exported file (only with different extension). Then make a shell script calling
    touch -r origFileName.mp2 newFileName.mov
    This will copy the exact time and date from origFileName.mp2 to newFileName.mov
    The script may look like this (save the file, give an exec permission to it and call it in the right directory):
    #!/bin/bash
    for i in `ls *.mp2`; do
    NEWNAME=$(ls "$i" | sed -e 's/mp2/mov/')
    touch -r $i $NEWNAME
    done
    You may need to adapt the extension names used (in the example above .mp2 is input file to get the date/time stamp from and .mov is the output file to stamp.
    Have fun and cheers

  • Keeping the album songs order, when importing songs from different sources

    Hello
    I imported lots of songs into my itunes library from various sources (itunes store, CD's, and audio files converted from my vinyl records) This way, songs from a specific artist, and sometimes from a specific album, could come from different sources.
    Now, I hope to arrange all the songs from a specific album to appear in the appropriate order, but I just can't find a way of doing this! The songs just appear in the way iTunes sorts them, without any relation to the original order of the album. Even more, in the iPod itself, the order changes once again with no appearant reason! (Interestingly enough, when I import all the songs of a specific album from one source, the order is kept)
    I tried changing the names on the files in itunes to include serial numbers (01, 02 and so on, at the names of the songs). but then again, for some reason, no order is kept.
    How can I sort the songs in the album according to the proper order? I don't want to use a special playlist for each album.
    Thank you in advance for your replies
    Zak.
      Windows XP  
      Windows XP  

    iTunes sorts things in thew following way (based on having the correct ID3 tag info)
    Album > Disc number > Track Number
    if you sort things by Album
    iTunes does NOT take anything from the file name unless no ID3 tag info is present in the file, then you will see the file name appear as the track name and all other fields blank. ID3 tags are the way most meta-data is handled noawadays.
    Hope that helps.

  • Import from a different drive

    If I want to import a different drive, e.g. my class that is doing the importing is on drive D and the package I need is on class C, what do I type after import?
    Thanks :-)
    Anthony

    import has nothing to do with actual drives.. Just ensure the classfiles / archive is on classpatha and import those as you would any classfile

  • Importing from two different cameras

    I have been using iphoto for years with my Canon G5. I recently purchased a Canon SD750. When I import the photos from the SD750 it does not show up in the iphoto library, it only shows up in the "last roll" folder. How do I get the photos from the SD750 into the library folder along with the hundreds of photos imported from the G5? Do I need to reset the file names in the SD750 photos? Thanks.

    iPhoto can easily handle multiple photos with the same filenames. Since new imports are placed in a new Film Roll, the filenames can be the same. The film roll is part of the file's path, and when the paths differ, the files can be named the same. If you place a new photo into the same roll with a photo of the same filename, then the new one's name will be appended with a "_2" at the end of the filename. You don't have to worry about changing the naming settings of your camera.
    it's the first thing it prompts me to do when I first turn the camera on...
    If it has asked you to set the time more than once, then you should replace (or install) the little watch battery that came with the camera. It should retain the time setting for 3 to 5 years, even if your camera's main batteries become drained.
    Regards.

Maybe you are looking for