Please help: Need an import 'action'

Hi,
I'm trying to make life 'easy' in our household for getting pictures into Aperture 3, but I'm at a complete loss as to how to achieve this - it seems Apple offer great flexibility on export, but little on import.
What I want to do, is when importing from a CF card (in Canon format), put the images in:
Project (Year)
Folder (Month)
Album (Day)
I have previously exported to this folder structure, and the 'Projects and Folders' import then created the above - however, there's no way to automatically import into this structure from the CF reader.
Is there a way to do this with an Applescript 'action' on import ? I don't mind getting my hands dirty with tweaking some code, but I've never really used Applescript at all.
Because my wife needs to be able to use this, I don't want to have to manuall create any projects/folders/albums or worry about any other details - just have the import defaults setup such that a card is inserted, import all is chosen, and the structure is used.
I don't want to have a two-stage process unless it's very easy to reproduce. This has to be easy, otherwise I may as well just go back to iPhoto and lose all the great benefits of Aperture.
I was really looking forward to using the import presets as they solve the other main Aperture problem I had, but this is proving to be a bigger issue now.
Thanks for any help.
Michael.

Hi Calx,
I really do understand projects. I just don't need them. I'm not wanting to organise things at the moment - just get the images 'into' Aperture, and create smart folders.
I don't actually need a project for this. I could use just one project, as Aperture requires it, but then I'm stuck after 10000 images.
As mentioned in my original post, I was planning on 'sturcturing' by year/month/date as that is a valid structure for me - the problem being which part of that structure is a project (year is more than 10000 images, so it would have to be month) ad how I automatically create that on image import.
I realise everyone seems to want to organise things differently, and most people create a 'project' for an 'event' or 'location' or 'shoot' or suchlike... I don't need that. I take pictures and put them in 1 big pot, and use smart folders etc., later on.
The problem seems to be that I need to actually manage it with projects from the start - I can't just bring in images into Aperture (as the container) and use 'smart' tools to group things together - I have to have a project.
Everyone's answer is about how to structure projects based upon different criteria. I realise this is how Apple expect it to work. I just don't have the time to group things into projects at the moment.
Either way, this is all away from the original point. The main problem I have is not being able to automatically create a structure (of any kind other than a single or constrained auto-split group of projects) when importing directly from a CF card or camera.
What I want, is to be able to say:
On import, split the files by date, and put them in a project / folder / album according to year / month / date respectively. I can't do that, and it seems I have to rely on external functionality, import / export into a structure & re-import, or manually move select move images.
I know you can assign an Applescript action on the import, and I figured that perhaps this could be used to re-structure the images on the import, but by the silence on this point and the fact that everyone keeps pushing me to manually maintain my projects, suggests it just can't be done.
Michael.

Similar Messages

  • Please help, need to import .swf/flash media

    Hi all, have a little issue here. I have some SWF flash media and I want to bring it into imovie so I can edit it more effectivley then with qt. However, I have been haveing alot of trouble, most time I only get the audio part of it and no image. Most of the media is widescreen, I was able to export the media in qt to dv stream and then import it, however, it lost its widescreen look and was kinda squished from the sides if that makes sense, if anybody has expeirence with this type of media, please help.
    Nathan

    Hi Nathan,
    I've never "dared" to convert .swf, but I read a lot about problems doing so... probably the Quicktime section of this forum is better to ask...
    maybe a much easier workaround is using tools as SnapzPro from Ambrosia; this tool claims to "record" any screen content (and audio) and convert it directly into any wanted format (as dv)...
    just a thought.......

  • Please help - need to import/create song snippets in iMovie

    Hi - I'm making a movie in '06 HD which requires a series of short (apx. 1 minute each) song segments taken from longer songs (apx 4 minutes each). After learning how to first crop the song in iTunes, I could not figure out how to import just the cropped part (the imported song played in its entirety in iMovie, despite being cropped in iTunes). Nor does it seem I can crop the music in iMovie itself. If iMovie had 5-6 different audio tracks I could just lay them down overlapping and only "play" the parts I need. Is there some workaround that I've missed here? Is it possible to make a single "song" in iTunes that is in fact made up of segments of different songs. HELP! I'm on a tight deadline.

    I wasn't aware that iTunes lets you crop songs... Here is how you can crop it in iMovie:
    After you import a song into iMovie, you drag it onto one of the audio tracks, right? Don't worry about the exact location for now. Now you can select it in the timeline (be careful not to change the volume by accident), then play it. Listen only to your song, don't pay attention to the video. Once you get to the part of your song where you want it to start, hit Apple-T to split it into two pieces at that point. This will only split the song in the selected track, and leave the other tracks alone. Select the part before the cut point, and delete it (Backspace key). Repeat the process at the end point, deleting everything beyond the split point. Now you have just the part you want. Drag it on the timeline until it lines up with your video.

  • Please help a very important

    Please help a very important
    There I have a database 8i
    An area of 36 GB and night Eugene space on the hard disk is 2 GB
    I want to reduce the database space has decided to delete the tables from 2006 to 2010,
    But the database space 36 still Kiev and what to do

    I wish I could locate the apple document about backups, I know there's an official one but I can't find it. If you have a .mac account you can use the "backup" program to do that. The other way is third party programs that will backup any updated files to a remote computer on your network, or another drive. Probably the easiest though is just burning the files you need to save to DVDs or CDs. Someone else could probably explain this a whole lot better than me though, so give it a try.
    Oh! And just out of curiocity, how did the program not work? Did you get an error, or was the folder just too far gone to get back? If the lisence you purchaced is transferable, you might just want to sell it to someone here or on ebay. Good luck.

  • HT5631 how do I verify my apple id? I can't sign in to it in mail and I can't make a new one because it just will not process I'm trying to set up iCloud between iPad and iPhone and having ALOT of difficulty pleAse help need it done by later on today!!!!!

    how do I verify my apple id? I can't sign in to it in mail and I can't make a new one because it just will not process I'm trying to set up iCloud between iPad and iPhone and having ALOT of difficulty pleAse help need it done by later on today!!!!!

    In order to use your Apple ID to create an iCloud account, the primary email address associated with the ID must first be verified.  To do this, Apple will send a verification email to your account and you must respond to the email by clicking the Verify Now link.  Make sure you are check the spam/junk folder as well as the inbox.  If it isn't there, go to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right click Resend under your Primary Email Address to resend the verification email.

  • Premiere Pro CS5: please help problem with importing a file error output "there was an error decompressing audio or video"

    please help problem with importing a file error output "there was an error decompressing audio or video"

    this is related to what adobe program/version?

  • Please help needed os x lion I wish to transfer photos from the iPhoto library to a album or folder then delete them from the Library but when I do this it also deletes them from the album ? how do I do this please.

    Please help needed os x lion I wish to transfer photos from the iPhoto library to a album or folder then delete them from the Library but when I do this it also deletes them from the album ? how do I do this please.

    Albums are not places to store photos, they're more like "labels" you can apply to photos to better organize them. A single image file can be in multiple albums... they are not copies, it's simply been labelled as being in all those albums. So what you're trying to do doesn't make sense, because it's based on incorrect assumptions.
    The iPhoto library will always show all photos that you have added to iPhoto.

  • Guys i need to get m itunes account unlocked its stopping mefor making in app purchases please help need to make a purchase within 30 minutes

    guys i need to get my itunes account unlocked its stopping mefor making in app purchases please help need to make a purchase within 30 minutes

    If you've tried to buy something and your've been charged for it (and it's not a temporary store holding charge) but haven't received it then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Recive deleted pictures with out icloud or any back up from last restore date please help need to find a very important picture

    i have problems with spelling
    There surely has to be a way to recive my pictures from deleted memory on my iphone 4
    i deleted my pictures from this weekend and need to view them but i deleted them with out having icloud or any back up app
    is there ANY one who know's how to get around this there has to be a way like a computer like a restore factor settings that lets you go back to the last time you took a picture
    Please Help Driving me insane

    Richie K wrote:
    im still not conviced i might go to the iphone store tomorrow and see there has to be a way thank you for you help if you come across anything like this please let me know
    Good luck, but they will tell you the same thing that anyone here will tell you.
    Unless the device was backed up (via iTunes or iCloud) after the pictures were taken but prior to deleting them on the device, they are gone.  There is no way to recover them once deleted without a backup.

  • Help needed in importing application -  Urgent

    Hi,
    I am new fairly new to apex and would be grateful for any help....
    I have an application that i would like to import and install... but i am obtaining an error...
    Situation is as follows:
    Application in machine A with oracle 10g standard and apex 3.0. Workspace is portal, schema is status_portal...
    export is working fine.
    Need to import it to machine B with oracle 10g and apex 3.0 Workspace is
    online_portal, schema is portal
    Import also works fine...
    But when i try to install the imported application, i get following error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-02291: integrity constraint (FLOWS_030000.WWV_FLOWS_FK) violated - parent key not found <pre>begin wwv_flow_api.create_flow( p_id =&gt;134, p_display_id=&gt;134, p_owner =&gt; 'STATUS_PORTAL', p_name =&gt; 'Status Portal', p_alias =&gt; 'F114', p_page_view_logging =&gt; 'YES', p_default_page_template=&gt; 3865804637029456 + wwv_flow_api.g_id_offset, p_printer_fri
    Please guide me as to what to do....
    History:
    I have tried exporting from machine A to apex online workspace and installing there.... and vice versa...It is working fine...
    the problem arises only when i try import & install on machine B....
    Please help me.... i need to do this urgently
    Thanks,
    Sumana

    Hi Scott,
    I will not be able to show the actual application, as it has our customer's information. But i have created a sample application and done the export and import. The details are as follows:
    Machine A Details:
    Workspace name = portal
    worskspace ID = 3727029916111535
    schema = status_portal
    Exported Application Name = Status Portal
    Exported Application ID = 117
    When importing application from machine A to online workspace:
    Online Workspace Details: (when importing application 117)
    Workspace Name = sumana
    Workspace iD = 3033192431425185475
    schema = sumanadb
    Imported Application Name = Status Portal
    Imported Application IS = 42146
    You can access the workspace using: http://apex.oracle.com/pls/otn/f?p=4550:1:
    the password is sumi123
    When importing application from machine A:
    Machine B Details:
    1 ) Workspace1 Name = auditws
    workspace ID = 7048503433678645
    schema = audit_schema
    When installing imported application no 117 I get:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.
    ORA-02291: integrity constraint (FLOWS_030000.WWV_FLOWS_FK) violated - parent key not
    found <pre>begin wwv_flow_api.create_flow( p_id =>129, p_display_id=>129, p_owner =>
    'STATUS_PORTAL', p_name => 'Status Portal', p_alias => 'F114117', p_page_view_logging =>
    'YES', p_default_page_template=> 10898936714426385 + wwv_flow_api.g_id_offset, p_printer
    Error installing application.
    Return to application.
    2) Workspace2 name = online_portal
    workspace ID = 9302626026712423
    schema = portal
    When installing imported application no 117 I get:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.
    ORA-02291: integrity constraint (FLOWS_030000.WWV_FLOWS_FK) violated - parent key not found
    <pre>begin wwv_flow_api.create_flow( p_id =>159, p_display_id=>159, p_owner => 'STATUS_PORTAL',
    p_name => 'Status Portal', p_alias => 'F114117', p_page_view_logging => 'YES',
    p_default_page_template=> 10898936714426385 + wwv_flow_api.g_id_offset, p_printer
    Error installing application.
    Return to application.
    3) When importing application no 130 from machine B to machine B
    (from workspace auditws and schema audit_schema to workspace online_portal and schema portal)
    I get the error as said before
    "Access Denied by application security check" Also, i observed that,
    the application gets installed in auditws and audit_schema itself...
    Screenshots are here:
    4) when importing application no 130 from auditws back to auditws, it works fine.

  • Please Help - Need Help with Buttons for GUI for assignment. URGENT!!

    Can someone please help me with the buttons on this program? I cannot figure out how to get them to work.
    Thanks!!!
    import java.awt.*;
    import java.awt.event.*;
    import java.text.NumberFormat;
    import javax.swing.*;
    import javax.swing.JButton;
    public class InventoryTAH implements ActionListener
        Maker[] proMaker;
        JTextField[] fields;
        NumberFormat nf;
        public void actionPerformed(ActionEvent e)
            int index = ((JComboBox)e.getSource()).getSelectedIndex();
            populateFields(index);
        public static void main(String[] args)
            try
                UIManager.setLookAndFeel(
                        "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
            catch (Exception e)
                System.err.println(e.getClass().getName() + ": " + e.getMessage());
            InventoryTAH test = new InventoryTAH();
            test.initMakers();
            test.showGUI();
            test.populateFields(0);
        private void initMakers() {
            proMaker = new Maker[10];
            proMaker[0] = new Maker( 1, "Pens",1.59,100,"Bic");
            proMaker[1] = new Maker( 2, "Pencils", .65, 100,"Mead");
            proMaker[2] = new Maker( 3, "Markers", 1.29, 100,"Sharpie");
            proMaker[3] = new Maker( 4, "Paperclips", 1.19, 100,"Staples");
            proMaker[4] = new Maker( 5, "Glue", .85, 100,"Elmer's");
            proMaker[5] = new Maker( 6, "Tape", .50, 100,"3m");
            proMaker[6] = new Maker( 7, "Paper", 1.85, 100,"Mead");
            proMaker[7] = new Maker( 8, "Stapler", 2.21, 100,"Swingline");
            proMaker[8] = new Maker( 9, "Folders", .50, 100,"Mead");
            proMaker[9] = new Maker( 10, "Rulers", .27, 100,"Stanley");      
          int maxNum = 10;
          int currentNum = 0;
          int currentInv = 0;
             Action firstAction = new AbstractAction("First")
              public void actionPerformed(ActionEvent evt)
                   currentInv = 0;
                   int populateFields;
          JButton firstButton = new JButton(firstAction);
          Action previousAction = new AbstractAction("Previous")
              public void actionPerformed(ActionEvent evt)
                   currentInv--;
                   if (currentInv < 0)
                        currentInv = maxNum - 1;
                   int populateFields;
          JButton previousButton = new JButton(previousAction);
          Action nextAction  = new AbstractAction("Next")
              public void actionPerformed(ActionEvent evt)
                   currentInv++;
                   if (currentInv >= currentNum)
                        currentInv = 0;
                  int populateFields;
          JButton nextButton = new JButton(nextAction);
          Action lastAction = new AbstractAction("Last")
              public void actionPerformed(ActionEvent evt)
                   currentInv = currentNum - 1;
                   int populateFields;
          JButton lastButton = new JButton(lastAction);
              JPanel buttonPanel = new JPanel( );
        private void showGUI() {
            JLabel l;
            JButton button1;
                JButton button2;
            fields = new JTextField[8];
            JFrame f = new JFrame("Inventory");
            Container cp = f.getContentPane();
            cp.setLayout(new GridBagLayout());
            cp.setBackground(UIManager.getColor(Color.BLACK));
            GridBagConstraints c = new GridBagConstraints();
            c.gridx = 0;
            c.gridy = GridBagConstraints.RELATIVE;
            c.gridwidth = 1;
            c.gridheight = 1;
            c.insets = new Insets(2, 2, 2, 2);
            c.anchor = GridBagConstraints.EAST;
            cp.add(l = new JLabel("Item Number:", SwingConstants.CENTER), c);
            l.setDisplayedMnemonic('a');
            cp.add(l = new JLabel("Item Name:", SwingConstants.CENTER), c);
            l.setDisplayedMnemonic('b');
            cp.add(l = new JLabel("Number of Units in Stock:", SwingConstants.CENTER), c);
            l.setDisplayedMnemonic('c');
            cp.add(l = new JLabel("Price per Unit: $", SwingConstants.CENTER), c);
            l.setDisplayedMnemonic('d');
            cp.add(l = new JLabel("Total cost of Item: $", SwingConstants.CENTER), c);
            l.setDisplayedMnemonic('e');
            cp.add(l = new JLabel("Total Value of Merchandise in Inventory: $", SwingConstants.CENTER), c);
            l.setDisplayedMnemonic('f');
            cp.add(l = new JLabel("Manufacturer:", SwingConstants.CENTER), c);
            l.setDisplayedMnemonic('g');
            cp.add(l = new JLabel("Restocking Fee: $", SwingConstants.CENTER), c);
            l.setDisplayedMnemonic('h');
                c.gridx = 1;
            c.gridy = 0;
            c.weightx = 1.0;
            c.fill = GridBagConstraints.HORIZONTAL;
            c.anchor = GridBagConstraints.CENTER;
            cp.add(fields[0] = new JTextField(), c);
            fields[0].setFocusAccelerator('a');
            c.gridx = 1;
            c.gridy = GridBagConstraints.RELATIVE;
            cp.add(fields[1] = new JTextField(), c);
            fields[1].setFocusAccelerator('b');
            cp.add(fields[2] = new JTextField(), c);
            fields[2].setFocusAccelerator('c');
            cp.add(fields[3] = new JTextField(), c);
            fields[3].setFocusAccelerator('d');
            cp.add(fields[4] = new JTextField(), c);
            fields[4].setFocusAccelerator('e');
            cp.add(fields[5] = new JTextField(), c);
            fields[5].setFocusAccelerator('f');
            cp.add(fields[6] = new JTextField(), c);
            fields[6].setFocusAccelerator('g');
            cp.add(fields[7] = new JTextField(), c);
            fields[7].setFocusAccelerator('h');
            c.weightx = 0.0;
            c.fill = GridBagConstraints.NONE;
              cp.add(firstButton);
              cp.add(previousButton);
              cp.add(nextButton);
              cp.add(lastButton);
                          JComboBox combo = new JComboBox();
            for(int j = 0; j < proMaker.length; j++)
                combo.addItem(proMaker[j].getName());
            combo.addActionListener(this);
                cp.add(combo);
                cp.add(button1 = new JButton("   "), c);
            f.pack();
            f.addWindowListener(new WindowAdapter()
                public void windowClosing(WindowEvent evt)
                    System.exit(0);
            f.setVisible(true);
      private void populateFields(int index) {
            Maker maker = proMaker[index];
            fields[0].setText(Long.toString(maker.getNumberCode()));
            fields[1].setText(maker.getName());
            fields[2].setText(Long.toString(maker.getUnits()));
            fields[3].setText(Double.toString(maker.getPrice()));
            fields[4].setText(Double.toString(maker.getSum()));
            fields[5].setText(Double.toString(maker.totalAllInventory(proMaker)));
            fields[6].setText(maker.getManufact());
            fields[7].setText(Double.toString(maker.getSum()*.05));       
    class Maker {
        int itemNumber;
        String name;
        int units;
        double price;
        String manufacturer;
        public Maker(int n, String name, double price, int units, String manufac) {
            itemNumber = n;
            this.name = name;
            this.price = price;
            this.units = units;
            manufacturer = manufac;
        public int getNumberCode() { return itemNumber; }
        public String getName() { return name; }
        public int getUnits() { return units; }
        public double getPrice() { return price; }
        public double getSum() { return units*price; }
        public String getManufact() { return manufacturer; }
        public double totalAllInventory(Maker[] makers) {
            double total = 0;
            for(int j = 0; j < makers.length; j++)
                total += makers[j].getSum();
            return total;
    }}

    // I have made some modifications. Please try this.
    import java.awt.*;
    import java.awt.event.*;
    import java.text.NumberFormat;
    import javax.swing.*;
    import javax.swing.JButton;
    public class InventoryTAH implements ActionListener
    Maker[] proMaker;
    JTextField[] fields;
    NumberFormat nf;
    int currentInv = 0;
    public void actionPerformed(ActionEvent e)
    currentInv= ((JComboBox)e.getSource()).getSelectedIndex();
    populateFields(currentInv);
    public static void main(String[] args)
    try
    UIManager.setLookAndFeel(
    "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    catch (Exception e)
    System.err.println(e.getClass().getName() + ": " + e.getMessage());
    InventoryTAH test = new InventoryTAH();
    test.initMakers();
    test.showGUI();
    test.populateFields(0);
    private void initMakers() {
    proMaker = new Maker[10];
    proMaker[0] = new Maker( 1, "Pens",1.59,100,"Bic");
    proMaker[1] = new Maker( 2, "Pencils", .65, 100,"Mead");
    proMaker[2] = new Maker( 3, "Markers", 1.29, 100,"Sharpie");
    proMaker[3] = new Maker( 4, "Paperclips", 1.19, 100,"Staples");
    proMaker[4] = new Maker( 5, "Glue", .85, 100,"Elmer's");
    proMaker[5] = new Maker( 6, "Tape", .50, 100,"3m");
    proMaker[6] = new Maker( 7, "Paper", 1.85, 100,"Mead");
    proMaker[7] = new Maker( 8, "Stapler", 2.21, 100,"Swingline");
    proMaker[8] = new Maker( 9, "Folders", .50, 100,"Mead");
    proMaker[9] = new Maker( 10, "Rulers", .27, 100,"Stanley");
         int maxNum = 10;
         int currentNum = 0;
    Action firstAction = new AbstractAction("First")
              public void actionPerformed(ActionEvent evt)
                   currentInv = 0;
                   populateFields(currentInv);
         JButton firstButton = new JButton(firstAction);
         Action previousAction = new AbstractAction("Previous")
              public void actionPerformed(ActionEvent evt)
                   currentInv--;
                   if (currentInv < 0)
                        currentInv = maxNum - 1;
                   populateFields(currentInv);
         JButton previousButton = new JButton(previousAction);
         Action nextAction = new AbstractAction("Next")
              public void actionPerformed(ActionEvent evt)
                   currentInv++;
                   if (currentInv >= maxNum)
                        currentInv = 0;
              populateFields(currentInv);
         JButton nextButton = new JButton(nextAction);
         Action lastAction = new AbstractAction("Last")
              public void actionPerformed(ActionEvent evt)
                   currentInv = maxNum-1;
                   populateFields(currentInv);
         JButton lastButton = new JButton(lastAction);
              JPanel buttonPanel = new JPanel( );
    private void showGUI() {
    JLabel l;
    JButton button1;
              JButton button2;
    fields = new JTextField[8];
    JFrame f = new JFrame("Inventory");
    Container cp = f.getContentPane();
    cp.setLayout(new GridBagLayout());
    cp.setBackground(UIManager.getColor(Color.BLACK));
    GridBagConstraints c = new GridBagConstraints();
    c.gridx = 0;
    c.gridy = GridBagConstraints.RELATIVE;
    c.gridwidth = 1;
    c.gridheight = 1;
    c.insets = new Insets(2, 2, 2, 2);
    c.anchor = GridBagConstraints.EAST;
    cp.add(l = new JLabel("Item Number:", SwingConstants.CENTER), c);
    l.setDisplayedMnemonic('a');
    cp.add(l = new JLabel("Item Name:", SwingConstants.CENTER), c);
    l.setDisplayedMnemonic('b');
    cp.add(l = new JLabel("Number of Units in Stock:", SwingConstants.CENTER), c);
    l.setDisplayedMnemonic('c');
    cp.add(l = new JLabel("Price per Unit: $", SwingConstants.CENTER), c);
    l.setDisplayedMnemonic('d');
    cp.add(l = new JLabel("Total cost of Item: $", SwingConstants.CENTER), c);
    l.setDisplayedMnemonic('e');
    cp.add(l = new JLabel("Total Value of Merchandise in Inventory: $", SwingConstants.CENTER), c);
    l.setDisplayedMnemonic('f');
    cp.add(l = new JLabel("Manufacturer:", SwingConstants.CENTER), c);
    l.setDisplayedMnemonic('g');
    cp.add(l = new JLabel("Restocking Fee: $", SwingConstants.CENTER), c);
    l.setDisplayedMnemonic('h');
              c.gridx = 1;
    c.gridy = 0;
    c.weightx = 1.0;
    c.fill = GridBagConstraints.HORIZONTAL;
    c.anchor = GridBagConstraints.CENTER;
    cp.add(fields[0] = new JTextField(), c);
    fields[0].setFocusAccelerator('a');
    c.gridx = 1;
    c.gridy = GridBagConstraints.RELATIVE;
    cp.add(fields[1] = new JTextField(), c);
    fields[1].setFocusAccelerator('b');
    cp.add(fields[2] = new JTextField(), c);
    fields[2].setFocusAccelerator('c');
    cp.add(fields[3] = new JTextField(), c);
    fields[3].setFocusAccelerator('d');
    cp.add(fields[4] = new JTextField(), c);
    fields[4].setFocusAccelerator('e');
    cp.add(fields[5] = new JTextField(), c);
    fields[5].setFocusAccelerator('f');
    cp.add(fields[6] = new JTextField(), c);
    fields[6].setFocusAccelerator('g');
    cp.add(fields[7] = new JTextField(), c);
    fields[7].setFocusAccelerator('h');
    c.weightx = 0.0;
    c.fill = GridBagConstraints.NONE;
              cp.add(firstButton);
              cp.add(previousButton);
              cp.add(nextButton);
              cp.add(lastButton);
                        JComboBox combo = new JComboBox();
    for(int j = 0; j < proMaker.length; j++)
    combo.addItem(proMaker[j].getName());
    combo.addActionListener(this);
              cp.add(combo);
              cp.add(button1 = new JButton(" "), c);
    f.pack();
    f.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent evt)
    System.exit(0);
    f.setVisible(true);
    private void populateFields(int index) {
    Maker maker = proMaker[index];
    fields[0].setText(Long.toString(maker.getNumberCode()));
    fields[1].setText(maker.getName());
    fields[2].setText(Long.toString(maker.getUnits()));
    fields[3].setText(Double.toString(maker.getPrice()));
    fields[4].setText(Double.toString(maker.getSum()));
    fields[5].setText(Double.toString(maker.totalAllInventory(proMaker)));
    fields[6].setText(maker.getManufact());
    fields[7].setText(Double.toString(maker.getSum()*.05));
    class Maker {
    int itemNumber;
    String name;
    int units;
    double price;
    String manufacturer;
    public Maker(int n, String name, double price, int units, String manufac) {
    itemNumber = n;
    this.name = name;
    this.price = price;
    this.units = units;
    manufacturer = manufac;
    public int getNumberCode() { return itemNumber; }
    public String getName() { return name; }
    public int getUnits() { return units; }
    public double getPrice() { return price; }
    public double getSum() { return units*price; }
    public String getManufact() { return manufacturer; }
    public double totalAllInventory(Maker[] makers) {
    double total = 0;
    for(int j = 0; j < makers.length; j++)
    total += makers[j].getSum();
    return total;
    }}

  • Help Needed to import package

    Hi, I am developing a JAVA project following Graphical Editing Framework in Eclipse.
    I have 3 packages ( in order of build) - ProcessModel, Process Editor and Application.
    I am trying to import application package and use its class in Process Model. But I am getting compile time error " the import cheme.application can not be resolved" .
    I assume this error is coming because Application package and its classes are not compiled and hence it is not allowing me to import and use them.
    package cheme.ProcessModel.Interpreter;
    import cheme.Application.*; // I have tried importing one class also
    As suggested in some other posts, I have added the CLASSPATH variable with the folder address of Application package.
    Please help me!!!
    Thanks a Bunch in advance.

    There is some setting in Eclipse that controls the availability of libraries, it needs to be set correctly. Refer to the Eclipse help doc.

  • Please help with video importing

    I just got my iBook G4 so that I could make an iMovie for an event that we are having in a few weeks.
    I own a Sony DCR trv330 Digital8 Handycam. I have tried everything that I have read to try to get iMovie to import my video and it still say that there is no camera attached.
    Is this camera even compatable? Please help quickly.
    iBook G4   Mac OS X (10.4.5)  

    Are there any other devices connected to the Firewire port? Sometimes this can cause a conflict.
    According to the manual for the Sony TRV340, you need to go into the menu system and set the AV/DV to "On".
    After that, try a different cable. After that, have you used any device on the Firewire port? It is rare but the port may be fried.
    Mike

  • Please Help needed...Error while generating WebService Proxy..!!

    Hi...
    I am getting an Error when i try to generate a Web-Service Proxy on JDeveloper for one of the Oracle WorkFlow Services viz., the[b] "TaskService"
    ie.,
    http://host:port/integration/services/TaskService/TaskServicePort?wsdl
    The wizard exits with a fatal warning ( WS-30033 -- which i believe indicates Validation of the WSDL failed..!?!) saying
    "uniqueness constraint violation : exception (taskProxy.proxy.faultType already exists)
    Could Anyone please Help me w.r.t this..?!?
    My requirement is to provide a UI for accessing Human WorkFlow Services...other than JSP...So, i am planning to create a Web-Service PROXY for the important Workflow Services like TaskQueryService, TaskService, etc...& then use the "jars" of these clients to invoke the Web-Services...!
    Is there ANY Simpler method of doing this..?!?
    I've seen the Code of the UserSampleUI application, but i can't get a similar code working in my Eclipse...don't know Which JARS are required...?!
    [i tried bpm-services.jar, & others...but it gives me a run-time exception of type PC Exception...!! :(]
    If so, please Do let me know ASAP...!!
    [By the way, ALL this is w.r.t. the [b]10.1.3.1.0 version of[b] Oracle SOA Suite...]
    Awaiting some response....
    Thanks a lot in advance..!

    Hi Calvin,
    You may want to try the 'no data binding' option on the proxy generation. This may enable you to go ahead, with a proxy that is not trying to generate Java code.
    Yo can also try to make a local copy of your WSDL and remove the duplicate type declaration. Using the analyze command from WSA CLI is a quick way to do this itterative testing, as it will not generate the code. Once you have the analyze command going thourg the WSDL, you can go back to using genProxy.
    You can find the documnetation here:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28974/wsassemble.htm#CHDBBDBF
    Hope it helps,
    -Eric

  • Help needed in importing SSL Certificate

    Hi All,
    The SSL certificate in our application server has expired. We have created a new certificate and imported it through oracle wallet manger. But the application server is not recognizing the new certificate. Still shows certificate error when we try to access the application via https.
    We are using oracle application server 10.1.2.0.2
    I don’t have much knowledge on application server.
    Please help me on this.
    Thanks in Advance,
    Jey

    Hi Jeykrishnan,
    The installation consists of three main parts:
    a) Importing the Primary Root CA
    b) Import the Intermediate Certificate and Cross Certificate
    c) Installing your SSL123 certificate
    a) Importing the Primary Root CA
    1. Launch Oracle Wallet Manager.
    2. Click Operations and select Import Trust Certificates from the menu
    3. When the Import Trusted Certificate window appears, click Paste the Certificate and click OK.
    4. When the message "Please provide a base64 format certificate and paste it below" appears, paste the entire contents of Primary Root CA text into the box and click OK.
    5. A message should appear that the import was successful and you will see the Root Certificate at the bottom of the Trusted Certificates tree.
    b) Importing the Intermediate and Cross certificates
    1. Launch the Oracle Wallet Manager.
    2. Click Operations > Import Trust Certificates from the menu.
    3. When the Import Trusted Certificate window appears, click Paste the Certificate and click OK.
    4. When the message "Please provide a base64 format certificate and paste it below" appears, paste the entire contents of the Intermediate Certificate text into the box and click OK.
    5. A message should appear that the import was successful and you will see the Intermediate Certificate at the bottom of the Trusted Certificates tree.
    6. Repeat the same steps for the Cross certificate
    c) Importing your SSL123 certificate
    1. Click Operations > Import User Certificate from the menu bar.
    2. The Import Certificate dialog appears.
    3. Select the Paste the Certificate radio button, and click OK.
    4. The Import Certificate dialog appears.
    5. Paste the entire contents of your SSL123 Certificate file and click OK.
    6. A message should show that the certificate was imported successfully.
    7. When you return to the main window, wallet status should show "Ready."
    Regards
    FAbian

Maybe you are looking for

  • Report developed in 6i and open and run in 10g, Web Layout is not working

    Hi, Initially reports were developed in Reports 6i now we need to convert into 10g. I just opened the .rdf in Reports10g. Report is successfully running in paper layout and showing the data. But when i try to run the report in Web Layout im getting a

  • Can't open PDF's in browser problems?

    I have Acrobat Standard 6.0 and Adobe Reader on my system.  For some reason, now when I try to open a pdf in the browswer, specifically in IE - I get the message "the adobe acrobat reader that is running cannot be used to view pdf files in a web brow

  • File.numbers works on Intel and doesn't work on G5

    I created a Numbers spreadsheet on my G5. The last saved version made on the G5 will not open on G5. I copied it to MacBook Pro, and it opened. I saved it is as a fresh copy (Save As) on the Macbook Pro, and the copy will not open on G5. It still ope

  • Can I get rid of the new Facebook Login request at the start of session?

    I just don't need this question every time I start the machine.... can't find how to make it go away!

  • Mac is playing up

      i restrated my mac and updated it, now its playing up and the mouse will not move, i restrated nmy mac and updated it, now its playing up and the mouse will not move