Working with Super-8

Hey everyone,
Just wondering if anyone has experience working with Super-8 in Final Cut? I'm looking to get a camera and the only thing thats putting me off is that it seems a quite expensive process to digitise 8mm for use with FCP.
Does anyone else work in this medium? and if so, how have you found the digitisation process?
Alternatively, does anyone know if there is a way to create this effect using filters etc or any software???
Any advice, general chat would be really appreciated
Cheers
Matty

Also :
Shooting on film as opposed to video and using effects is superior in many aspects. A few are, film exhibits no color compression, it is true progressive, on higher end super 8 cameras you can up your framerate to 72fps (which only VERY expensive digital cameras can do), produces a random grain pattern image that sees light like your eye sees light. There is NO substitute for film. Period.
It's debated on whether or not super 8 is worth scanning at 1080P. I say it is, as do many experts, because though the silver halide grain pattern is slightly lower than HD quality, you must consider the pattern from frame to frame. At 24fps, the random grain pattern produces stunningly crisp images that are on par with 16mm these days. Film technology has come a LONG way since the 70s. You be the judge. Go look at film scanned in HD. I can see the difference.
There are a TON of ways to telecine (scan) footage. You can use an old projector and point your video camera at it (lame cause it flickers). You can use a MovieStuff telecine (which works great for reversal film), or you can send it to a good place to transfer. Some places use a true HD scanner... and these can cost a LOT. 500 bucks/hour of telecine. OR, some places oversample in SD and give you a resulting HD scan. This is 1/2 the price and is about 95% of true HD quality. Not a bad ratio and saves a lot of cash.
Do some homework, join some communities, and do your own thing. Opinions are like ********. See what works best for you, but you'll spend some cash learning. I sure did.. but I prefer to shoot film. You'll see the difference in your product... your shooting style and your storyboarding. It's a cleaner way to work since you have to keep things tight! Film aint cheap... but the end product is mesmerizing.

Similar Messages

  • Working with super 8 material

    i recently shot some stuff using super 8 color negative film. the film was transferred to mini dv and i captured it to fcp 5.1.4.
    since it was negative film, i inverted it using the channel/invert function. the issue i'm having is with the colors. it was color negative film, but the positive image looks terrible, it's like it was stripped of its colors. am i doing something wrong? is there a color correction filter that i can apply to fix this?
    thanks very much for your help.
    paul

    Yeah, what's wrong is the film transfer I'd suggest. Should not be negative, but should be positive. I don't think that the filter you're using was intended for the purpose of what you're trying to do.
    Jerry

  • BI iviews not working without super admin role in portal

    Hi all,
    I have published reports to the portal from BI and then created Bex iviews using the querystrings and attached iviews to roles. 
    They all run with my user ID which has super admin access.
    But for the end users the we get a portal runtime error when he tries to view the report through iview.
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 06:24_31/03/11_0185_2598150
    Refer to the log file for details about this exception.
    If I give superadmin role  to the end user the iviews  run fine.
    Please tell me how to access this iview without superadmin role.
    Regards;
    Anzar
    Edited by: anzar naik on Mar 31, 2011 2:58 PM
    Edited by: anzar naik on Mar 31, 2011 2:58 PM

    When it works with super admin rights but not with end-user permission, it's a permission problem. Have you tried to find out where the user is missing the necessary permissions?
    - iView
    - PCD
    - security zone
    - Access to backend (BI server)
    - BI query
    br,
    Tobias

  • My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help

    My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help

    My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help

  • My hard drive crashed on my Imac 24" 2009, i put in a new hard drive 2TB and a SSD drive 240 GB and removed the opticdrive. What external DVD can I get to work with the IMac? The Apple super drive is not compatible.

    My hard drive crashed on my Imac 24" 2009,  I installed a new hard drive 2TB and a SSD drive 240 GB and removed the optical drive.
    What external DVD can I get to work with the IMac?                              The Apple super drive is not compatible.

    Virtually any DVD burner that can connect to your Mac will work. They start at $40 on Amazon.

  • Expression Web 4 Super Preview won't work with Firefox?

    I get an error message in Microsoft Expression Web 4 Super Preview telling me it won't work with my version of Firefox (the latest version). Does this mean I have to install an older version to be able to use my Expression Web site building program?

    Problem identified and solved. The new Expression Web 4 Super Preview softward had not been properly activated. Now it is and everything is working very well. Thank You for having this useful means of working out a solution. I'll be using it in the future.

  • ActionListener not working with JFrame

    Hi,
    I've just rehashed an old bit of code to work with a new application but for some reason the JButton ActionListeners aren't working. However if I extend JDialog they work ok. The current code for JDialog is:-
    * File:     GUI.java
    * @author           ODL 3xx Distributed Systems - Team x
    * @description      This class provides a means for the user to
    *                    interact with file server.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    public class GUI extends JDialog implements ActionListener, ApplicationConstants {
        private JLabel label1, label2, label3, label4, label5;
        private JTextField field1, field2, field3, field4, field5;
        private JButton button1, button2, button3, button4, button5;
        private Container container;
        private Message sendFile;
        private String id;
        private String defaultText = "Enter file name here";
        private ClientForGUI client;
        private long timeStart, timeEnd;
        public GUI(JFrame frame) {
            super(frame, "File Server Actions", true);
            client = new ClientForGUI(this);
            try{
                   InetAddress addr = InetAddress.getLocalHost();
                   id = addr.getHostName() + Long.toString((new java.util.Date()).getTime());
                   if(client.connectToServer())
                   initGUI();
                   else{
                        JOptionPane.showMessageDialog(this, "Unable to connect to server", "Error", JOptionPane.WARNING_MESSAGE);
                        System.exit(0);
              catch(UnknownHostException uhe){
                   System.out.println("Unknown Host Exception");
            initGUI();
         * Create the GUI
        private void initGUI() {
            container = this.getContentPane();
            container.setLayout(null);
            label1 = new JLabel("Upload File");
            label2 = new JLabel("Rename File");
            label3 = new JLabel("Delete File");
            label4 = new JLabel("Create File");
            label5 = new JLabel("Download File");
            field1 = new JTextField();
            field2 = new JTextField();
            field3 = new JTextField();
            field4 = new JTextField();
            field5 = new JTextField();
            button1 = new JButton("Upload");
            button2 = new JButton("Rename");
            button3 = new JButton("Delete");
            button4 = new JButton("Create");
            button5 = new JButton("Download");
            label1.setBounds(10,10,80,20);
            label2.setBounds(10,40,80,20);
            label3.setBounds(10,70,80,20);
            label4.setBounds(10,100,80,20);
            label5.setBounds(10,130,80,20);
            field1.setBounds(100,40,200,20);
            field1.setText("Old name");
            field2.setBounds(310,40,200,20);
            field2.setText("New name");
            field3.setBounds(100,70,410,20);
            field3.setText(defaultText);
            field4.setBounds(100,100,410,20);
            field4.setText(defaultText);
            field5.setBounds(100,130,410,20);
            field5.setText(defaultText);
            button1.setBounds(100,10,100,20);
            button1.addActionListener(this);
            button2.setBounds(520,40,100,20);
            button2.addActionListener(this);
            button3.setBounds(520,70,100,20);
            button3.addActionListener(this);
            button4.setBounds(520,100,100,20);
            button4.addActionListener(this);
            button5.setBounds(520,130,100,20);
            button5.addActionListener(this);
            container.add(label1);
            container.add(button1);
            container.add(label2);
            container.add(field1);
            container.add(field2);
            container.add(button2);
            container.add(label3);
            container.add(field3);
            container.add(button3);
            container.add(label4);
            container.add(field4);
            container.add(button4);
            container.add(label5);
            container.add(field5);
            container.add(button5);
            setSize(640,200);
            setResizable(false);
            //Centre on the screen
            Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
              int x = (int) ((d.getWidth() - getWidth()) / 2);
              int y = (int) ((d.getHeight() - getHeight()) / 2);
              setLocation(x,y);
            setVisible(true);
        private void sendMessageToServer(Message message){
             message.setId(id);
             timeStart = new java.util.Date().getTime();
             try{
                  client.sendMessageToServer(message);
             catch(IOException ioe){
                  System.out.println("Unable to send message to server");
          * Perform some action based on user interaction
          * @param ae - ActionEvent
        public void actionPerformed(ActionEvent e){
            Object o = e.getSource();
            String name;
            if(o == button1){
                 try{
                        JFileChooser fc = new JFileChooser();
                       fc.setVisible(true);
                      //return value is what the user presses in the open File dialog
                      int returnVal = fc.showOpenDialog(null);
                      //if they choose OK
                      if (returnVal == JFileChooser.APPROVE_OPTION) {
                             //file now references the selected
                             File file = fc.getSelectedFile();
                             //create a FileInputStream from file location
                             FileInputStream fis = new FileInputStream(file);
                             // Create the byte array to hold the data, the same size as the file
                             byte [] fileBytes = new byte[(int)file.length()];
                              // Read in the bytes from the file into the byte array
                              int offset = 0;
                              int numRead = 0;
                              while (offset < fileBytes.length &&
                             (numRead=fis.read(fileBytes, offset, fileBytes.length-offset)) >=
                             0) {
                                  offset += numRead;
                             // Ensure all the bytes have been read in
                             if (offset < fileBytes.length) {
                                  throw new IOException("Could not completely read file "+file.getName());
                             fis.close();
                             sendFile = new Message(SEND_FILE, fileBytes);
                             sendFile.setId(id);
                             sendFile.setFileName(file.getName());
                             byte [] myarray = ConvertData.messageToBytes(sendFile);
                             Message sendWarning = new Message(SEND_FILE_WARNING);
                               sendWarning.setFileName(file.getName());
                              sendWarning.setFileSize(myarray.length);
                              try{
                                    sendMessageToServer(sendWarning);
                               catch(Exception excep){
                                    System.out.println(excep);
                   catch(FileNotFoundException fnfe){
                        System.out.println("File Not Found Exception");
                   catch(java.io.IOException ioe){
                        System.out.println("IO Exception");
            else if(o == button2){
                   name = field1.getText();
                   String name2 = field2.getText();
                   Message renameMessage = new Message(RENAME_FILE);
                   renameMessage.setFileName(name);
                   renameMessage.setFileRename(name2);
                   sendMessageToServer(renameMessage);
                   field1.setText("Old name");
                   field2.setText("New name");
            else if(o == button3){
                   name = field3.getText();
                   Message deleteMessage = new Message(DELETE_FILE);
                   deleteMessage.setFileName(name);
                   sendMessageToServer(deleteMessage);
                   field3.setText(defaultText);
            else if(o == button4){
                   name = field4.getText();
                   Message createMessage = new Message(CREATE_FILE);
                   createMessage.setFileName(name);
                   sendMessageToServer(createMessage);     
                   field4.setText(defaultText);     
            else if(o == button5){
                   name = field5.getText();
                   Message downloadMessage = new Message(REQUEST_FILE);
                   downloadMessage.setFileName(name);
                   sendMessageToServer(downloadMessage);
                   field5.setText(defaultText);          
        public void processServerMessage(Message message){
             switch(message.getMessageHeader()){
                   case SEND_FILE_WARNING:
                   //change the download size to file size plus max message size
                   client.setDownload((int)message.getFileSize(),true);
                   //turn message back around with acknowledgement header
                   message.setMessageHeader(SEND_FILE_ACK);
                   //send the message
                   try{
                        sendMessageToServer(message);
                   catch(Exception e){
                        System.out.println(e);
                   break;
                   //server has acknowledged that the client wishes to send a message
                   //so send the message
                   case SEND_FILE_ACK:
                   //send the message
                   try{
                        sendMessageToServer(sendFile);
                   catch(Exception e){
                        System.out.println(e);
                   break;
                   //server is sending the file to the client.
                   case SEND_FILE:
                   //reset the download size to default
                   client.setDownload(DEFAULT_MESSAGE_SIZE,false);
                   //get the file name
                   File f = new File(message.getFileName());
                   //create the file chooser
                   JFileChooser fc = new JFileChooser();
                   //set selected file as thoe one downloaded
                   fc.setSelectedFile(f);
                   //get the button hit by the user
                 int returnVal = fc.showSaveDialog(null);
                 //if button is OK
                  if (returnVal == JFileChooser.APPROVE_OPTION){
                       File temp = fc.getCurrentDirectory();
                       String [] files = temp.list();
                       java.util.List alist = java.util.Arrays.asList(files);
                       f = fc.getSelectedFile();
                       if(alist.contains(message.getFileName())){
                            if(JOptionPane.showConfirmDialog(null,
                                       message.getFileName() + " already exists. Are you sure you want to overwrite this file?",
                                       "Instant Messenger: Quit Program",
                                       JOptionPane.YES_NO_OPTION,
                                       JOptionPane.QUESTION_MESSAGE,
                                       null) == JOptionPane.YES_OPTION) {
                                            //f = fc.getSelectedFile();
                                            System.out.println(f.toString());
                                           //this is where the file is copied
                                           try{
                                                FileOutputStream fs = new FileOutputStream(f);
                                                 fs.write(message.getFile());
                                                 fs.close();
                                           catch(IOException e){
                                                System.out.println(e);
                            else fc.hide();
                       else{
                            System.out.println("Here " + f.toString());
                            try{
                                 FileOutputStream fs = new FileOutputStream(f);
                                  fs.write(message.getFile());
                                  fs.close();
                            catch(IOException e){
                                 System.out.println(e);
                  else fc.hide();
                  break;
                  case INFORMATION:
                  timeEnd = new java.util.Date().getTime();
                  Long rtrip = timeEnd - timeStart;
                  String str = Long.toString(rtrip);
                  double d = Double.valueOf(str).doubleValue();
                  String fullMessage = message.getMessage();
                  fullMessage += " The total time taken for the last request was " +
                  rtrip + " milliseconds" + " or roughly " + d/1000 + " seconds";
                   JOptionPane.showMessageDialog(null,fullMessage,"Information",JOptionPane.INFORMATION_MESSAGE);
                   break;          
    class TestGUI{
        public static void main(String [] args){
             JFrame frame = new JFrame();
             GUI myGUI = new GUI(frame);
    }     If I change the GUI constructor to empty and extend JFrame instead of JDialog and change the call to super the ActionListener stops working. I've never known this problem before (i.e. I always use e.getSource()). I've even cast the object to a JButton to ensure that the right button is pressed and it is all ok.
    Is there something fundamentally wrong when I make those simple changes to JFrame?
    Regards,
    Chris

    I think rather the approach is your action handling in terms of the buttons. The giant actionPerformed method is difficult to read and maintain.
    I would recommend the following things:
    1. Split your ActionListener into multiple smaller listeners. There's not really even a reason for the GUI class to be an action listener. Instead of having GUI implement ActionListener and trying to keep all of the functionality in one place, use anonymous classes:
    button3.addActionListener(new ActionListener()
        public void actionPerformed(ActionEvent e)
            name = field3.getText();
            Message deleteMessage = new Message(DELETE_FILE);
            deleteMessage.setFileName(name);
            sendMessageToServer(deleteMessage);
            field3.setText(defaultText);
    button4.addActionListener(new ActionListener()
        public void actionPerformed(ActionEvent e)
            name = field4.getText();
            Message createMessage = new Message(CREATE_FILE);
            createMessage.setFileName(name);
            sendMessageToServer(createMessage);     
            field4.setText(defaultText);
    2. Only use the == operator on primitives. There are very few cases in which you can properly use the == operator on objects and, in every one of those cases I have experienced, the equals(Object) method produces the same result.
    3. Name your variables more descriptively. There is really very little reason for your buttons to be named button1, button2, and so on. Give them names that mean something. For example, button1 should be named something like uploadFileButton or buttonUpload. That will give us significant information about what it is expected to do, whereas button1 does not. You may be able to remember what button1 does, but you wrote the code. I keep having to refer back to the instantiation of the button to get a hint as to what it does and, in a few months' time, so will you. :) The same goes for your labels and fields, as well.
    I'm not sure why you aren't getting the behavior you want. However, have you checked to determine that the event source of the button click is actually the button when the whole thing is inside of a JFrame? I would expect it to be, but you never know. This is why I recommend using different ActionListeners for each button. That way, you can be sure of what caused the event.
    Just my 2c. Good luck to you. :)

  • Can't seem to get this computer to work with 3D

    I just got this qosmio f755-3d350 today.
    I've spent a half day trying to get it working, and I'm starting to get frusterated with it.
    and the level of support.
    Comon Toshiba, you know better then releasing a product that doesn't work. and little support.
    the only thing that seems to work as far as 3D is loading a video in the blue ray player.
    I've tried games, 3d viewers, mpo's, videos, even iz3d as well.
    so i'm going through this link i found on the web as to check to see if everything is up to date.
    and I found this
    How to check if the updates have been installed correctly
    NVIDIA display driver
    - Run [PC Diagnostic Tool] from [Start] Menu -> [All Programs] -> [TOSHIBA] -> [Utilities]
    - Check the version of [Video] if it is 8.17.12.9039 or later
    Super-D IC Driver
    - Open [Control Panel]
    - Select [Programs] – [Uninstall a program]
    - Find [SuperD spd2900gs]
    - Check if the version is 1.0.1613.809 or later
    TOSHIBA Blu-ray Disc™ Player
    - Open [Control Panel]
    - Select [Programs] – [Uninstall a program]
    - Find [TOSHIBA Blu-ray Disc™ Player ]
    - Check if the version is 1.0.1.299 or later
    BIOS
    - Run [PC Diagnostic Tool] from [Start] Menu -> [All Programs] -> [TOSHIBA] -> [Utilities]
    - Check the [BIOS Version] if it is 2.00 or later
    so in checking all my drivers to make sure they are all up to date, i noticed something odd.
    eeven though i downloaded and installed the latest superd driver.
    Super-D IC Driver(v1.0.1613.809; 12-16-2011; 53.66M)
    when i go to my control panel/program files
    it says the superd driver is
    version 1.0.0.0
    i redownloaded the latest file and did an uninstal and reinstall. same thing.
    so either this driver is mislabeled, or the version isn't updated in the code.
    I don't really know, but wht i do know is I can't get this thing to do any 3D
    except use the one installed movie viewer.
    any help on this would be appreciated. I'd rather not have to use third party drivers to try
    to trick my computer into working.
    this really needs to be resolved and supported by toshiba. especially when people are paying 1300 - 1700 for these things.

    I tried some of the games that were already installed. not 1 worked.
    I tried downloading a 3d vision approved game but I got too frusterated to test it
    I tried all my 3d vision apps, that work on my glasses display like cycerlink powerdvd
    or me image manipulation tools for editing 3d images. Not 1 worked.
    The only app I've seen work is the mp4 viewer that comes with the thing. and it only plays a couple of formats
    and some vids work and some don't.
    I bought the laptop so I could create my own 3D images. and display them. But not 1 thing works that works on
    all other nvidia vision computers with glasses displays.ou
    This to me is kinda unacceptable since this laptop claims it supports 3D and all you can do is play
    a few mp4's or dvd's.
    If I would have known this. I never would have bought it.
    And the most aggrevating is toshiba doesn't seem to care.
    If toshiba can write a driver that makes the camera turn on, and play some mp4 movies.
    they can surely fix the problem.
    Especially is IZ3D is doing their job for them. but mickymouse, and works with some things.
    This is unaccceptable when people are paying $1700.00 for these.
    It should do what it claims to do

  • Multiple iPhoto libraries from external drive. How to work with them all

    I'm not an expert user so forgive me. But I have tons of pictures and videos of family.
    I've had to save 2 libraries on an external drive and going on my 3rd. I had to do it because the computer was running super slow and giving me warnings. Each library is about 115GB.
    Now my question is: Whats the easiest way to work with all libraries a the same time? I create slide shows and videos and often need pictures and videos that are in the different libraries..... problem being, I have to close a library, open the next, import and export photos from one to the other.......
    I think you get my point.....any suggestions are appreciated.

    Thank you again Larry.
    Unfortunately some horrible thing just happened . I was getting ready to put your advice to work and...........
    I went to verify all my libraries were in the External drive (My passport for Mac) before I did anything else.  I couldn't find the drive. I  called the company and apparently the is a problem with the drive and my only option is to try recover the data from a recovery data service....
    What did just happen???? I'm still hopeful I can recover it. and I may have a back up in another drive.
    So this is semi-related question. How many back ups of your pictures should you have to be safe? and How do I know which devices are reliable? I thought these two Mt Passports from Western Digital were ok? Any advice?

  • Camera just up and stopped working with flash player. SUUUUPER annoying. Any ideas?

    Hi:
    Windows XP SP3 32bit, latest updates applied
    Firefox 3.6.6 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729; .NET4.0E))
    IE 8.0.6001.18702
    Flash Player 10,1,53,64
    HP EliteBook 8530w with built-in HP camera (brand spankin' new).
    So Flash Player today decided it doesn't want to work with my webcam. I have pulled my hair out trying to figure out what the problem is. The camera works fine with other video camera software, such as Adobe Flash Live Encoder 3.1, for example, or the various Microsoft cam tools. But Flash Player just won't see it. When I visit a website that uses the camera through flash, all I get is a black box. I never get the privacy screen that asks me if I would like to allow the site temporary access to my camera.If i go into my settings, and go to the camera tab, it shows my camera device in the dropdown box. But you know how if you double-click the little box under the dropdown, it should activate your camera and display a little video inside that box? That doesn't work for me. All I get is this:
    It doesn't matter if I use FF or IE. I've re-installed Flash Player, both the FF version and the Ax version. To no avail. I've logged into my computer as a different user, because hell maybe it's some weird dumb thing in the Flash Player cache or something. Nope.
    Now here's the super, super, super annoying part: I just recently moved to this laptop and one of the things I was looking forward to was a computer where my webcam would FINALLY work with flash player again. Yes, that's right: my old computer had this exact same problem. And in both cases, at one point the camera worked with Flash player no problem, and then at some point, it just stopped working.
    This makes me think, of course, that the problem is some nefarious piece of software I've installed, but I can't think of what that is. I know the camera was working with my new computer as early as last week. Recently I've installed a bunch of software, including Adobe Media Live Encoder 3.1, Flash Professional CS5, and the Adobe Connect add-in. I've uninstalled everything except CS5, because, hey, who wants to re-install that if they don't have to? I'll do that as a last result, but the guy sitting next to me has the entire CS5 suite installed and camera works fine for him with Flash Player (same exact hardware too), so I don't think it's that. Other than that, I dunno. I've got VS2008 and 2010 installed. GoToMeeting. Office. That's about it.
    So. Any ideas? Any thoughts on how I could even start to debug the issue? Logging or something? Any help is much appreciated.

    Yes.
    Victory is mine.
    VICTORY IS MINE!!!
    Solution:
    Go to C:\WINDOWS\system32\Macromed\Flash\mms.cfg
    Set
    AVHardwareDisable=1
    to:
    AVHardwareDisable=0
    Restart your browser. Done. Camera works now.
    I really want to shout this solution from the rooftops, because try Googling the solution sometime. I did. I failed. You will too. Hopefully if I use some more 18-point bold font, Google will index it faster, because that's the way it works right?
    I actually had no idea that Flash Player has a folder in Windows\system32 at all, and I definitely had no idea that this file existed. I am guessing some stinking app I installed decided I needed AVHardwareDisable set to 1 for some reason (effers). I found out about the location by just lazily searching through the windows registry for "Flash Player" and eventually saw it pointing to that directory. A little more poking around and I found this file.
    Those of you who actively support this forum: please keep this in the back of your mind, next time someone has audio/video input problems with Flash Player. I've found an awful lot of forum posts from people with cameras not working, and I bet a good portion of them need this fix. Reinstalling Flash Player will not fix it. Here's hoping the solution comes up in Google for the next unlucky soul.

  • Can anybody help me to build an interface that can work with this code

    please help me to build an interface that can work with this code
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.BufferedReader;
    import java.io.FileReader;
    public class Translate
    public static void main(String [] args) throws IOException
    if (args.length != 2)
    System.err.println("usage: Translate wordmapfile textfile");
    System.exit(1);
    try
    HashMap words = ReadHashMapFromFile(args[0]);
    System.out.println(ProcessFile(words, args[1]));
    catch (Exception e)
    e.printStackTrace();
    // static helper methods
    * Reads a file into a HashMap. The file should contain lines of the format
    * "key\tvalue\n"
    * @returns a hashmap of the given file
    @SuppressWarnings("unchecked")
    private static HashMap ReadHashMapFromFile(String filename) throws FileNotFoundException, IOException
    BufferedReader in = null;
    HashMap map = null;
    try
    in = new BufferedReader(new FileReader(filename));
    String line;
    map = new HashMap();
    while ((line = in.readLine()) != null)
    String[] fields = line.split("
    t", 2);
    if (fields.length != 2) continue; //just ignore "invalid" lines
    map.put(fields[0], fields[1]);
    finally
    if(in!=null) in.close(); //may throw IOException
    return(map); //returning a reference to local variable is safe in java (unlike C/C++)
    * Process the given file
    * @returns String contains the whole file.
    private static String ProcessFile(Map words, String filename) throws FileNotFoundException, IOException
    BufferedReader in = null;
    StringBuffer out = null;
    try
    in = new BufferedReader(new FileReader(filename));
    out = new StringBuffer();
    String line = null;
    while( (line=in.readLine()) != null )
    out.append(SearchAndReplaceWordsInText(words, line)+"\n");
    finally
    if(in!=null) in.close(); //may throw IOException
    return out.toString();
    * Replaces all occurrences in text of each key in words with it's value.
    * @returns String
    private static String SearchAndReplaceWordsInText(Map words, String text)
    Iterator it = words.keySet().iterator();
    while( it.hasNext() )
    String key = (String)it.next();
    text = text.replaceAll("\\b"key"
    b", (String)words.get(key));
    return text;
    * @returns: s with the first letter capitalized
    String capitalize(String s)
    return s.substring(0,0).toUpperCase() + s.substring(1);
    }... here's the head of my pirate_words_map.txt
    hello               ahoy
    hi                    yo-ho-ho
    pardon me       avast
    excuse me       arrr
    yes                 aye
    my                 me
    friend             me bucko
    sir                  matey
    madam           proud beauty
    miss comely    wench
    where             whar
    is                    be
    are                  be
    am                  be
    the                  th'
    you                 ye
    your                yer
    tell                be tellin'

    please help me i don t know how to go about this.my teacher ask me to build an interface that work with the code .
    Here is the interface i just build
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.awt.*;
    import javax.swing.*;
    public class boy extends JFrame
    JTextArea englishtxt;
    JLabel head,privatetxtwords;
    JButton translateengtoprivatewords;
    Container c1;
    public boy()
            super("HAKIMADE");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setBackground(Color.white);
            setLocationRelativeTo(null);
            c1 = getContentPane();
             head = new JLabel(" English to private talk Translator");
             englishtxt = new JTextArea("Type your text here", 10,50);
             translateengtoprivatewords = new JButton("Translate");
             privatetxtwords = new JLabel();
            JPanel headlabel = new JPanel();
            headlabel.setLayout(new FlowLayout(FlowLayout.CENTER));
            headlabel.add(head);
            JPanel englishtxtpanel = new JPanel();
            englishtxtpanel.setLayout(new FlowLayout(FlowLayout.CENTER,10,40));
            englishtxtpanel.add(englishtxt);
             JPanel panel1 = new JPanel();
             panel1.setLayout(new BorderLayout());
             panel1.add(headlabel,BorderLayout.NORTH);
             panel1.add(englishtxtpanel,BorderLayout.CENTER);
            JPanel translateengtoprivatewordspanel = new JPanel();
            translateengtoprivatewordspanel.setLayout(new FlowLayout(FlowLayout.CENTER,10,40));
            translateengtoprivatewordspanel.add(translateengtoprivatewords);
             JPanel panel2 = new JPanel();
             panel2.setLayout(new BorderLayout());
             panel2.add(translateengtoprivatewordspanel,BorderLayout.NORTH);
             panel2.add(privatetxtwords,BorderLayout.CENTER);
             JPanel mainpanel = new JPanel();
             mainpanel.setLayout(new BorderLayout());
             mainpanel.add(panel1,BorderLayout.NORTH);
             mainpanel.add(panel2,BorderLayout.CENTER);
             c1.add(panel1, BorderLayout.NORTH);
             c1.add(panel2);
    public static void main(final String args[])
            boy  mp = new boy();
             mp.setVisible(true);
    }..............here is the code,please make this interface work with the code
    public class Translate
    public static void main(String [] args) throws IOException
    if (args.length != 2)
    System.err.println("usage: Translate wordmapfile textfile");
    System.exit(1);
    try
    HashMap words = ReadHashMapFromFile(args[0]);
    System.out.println(ProcessFile(words, args[1]));
    catch (Exception e)
    e.printStackTrace();
    // static helper methods
    * Reads a file into a HashMap. The file should contain lines of the format
    * "key\tvalue\n"
    * @returns a hashmap of the given file
    @SuppressWarnings("unchecked")
    private static HashMap ReadHashMapFromFile(String filename) throws FileNotFoundException, IOException
    BufferedReader in = null;
    HashMap map = null;
    try
    in = new BufferedReader(new FileReader(filename));
    String line;
    map = new HashMap();
    while ((line = in.readLine()) != null)
    String[] fields = line.split("
    t", 2);
    if (fields.length != 2) continue; //just ignore "invalid" lines
    map.put(fields[0], fields[1]);
    finally
    if(in!=null) in.close(); //may throw IOException
    return(map); //returning a reference to local variable is safe in java (unlike C/C++)
    * Process the given file
    * @returns String contains the whole file.
    private static String ProcessFile(Map words, String filename) throws FileNotFoundException, IOException
    BufferedReader in = null;
    StringBuffer out = null;
    try
    in = new BufferedReader(new FileReader(filename));
    out = new StringBuffer();
    String line = null;
    while( (line=in.readLine()) != null )
    out.append(SearchAndReplaceWordsInText(words, line)+"\n");
    finally
    if(in!=null) in.close(); //may throw IOException
    return out.toString();
    * Replaces all occurrences in text of each key in words with it's value.
    * @returns String
    private static String SearchAndReplaceWordsInText(Map words, String text)
    Iterator it = words.keySet().iterator();
    while( it.hasNext() )
    String key = (String)it.next();
    text = text.replaceAll("\\b"key"
    b", (String)words.get(key));
    return text;
    * @returns: s with the first letter capitalized
    String capitalize(String s)
    return s.substring(0,0).toUpperCase() + s.substring(1);
    }... here's the head of my pirate_words_map.txt
    hello               ahoy
    hi                    yo-ho-ho
    pardon me       avast
    excuse me       arrr
    yes                 aye
    my                 me
    friend             me bucko
    sir                  matey
    madam           proud beauty
    miss comely    wench
    where             whar
    is                    be
    are                  be
    am                  be
    the                  th'
    you                 ye
    your                yer
    tell                be tellin'

  • Problem with registering device in Sybase Control Center with SUP 2.2 SP04

    Hi,
    I have Sybase Unwired Platform SP04, and I am trying to register my Android device in Sybase Control Center. I registered application connection with HWC as a template. I also installed 2 Sybase apps from Google Play Store on my Android device - Sybase Hybrid Web Container and Sybase Mobile Workflow 2.1. When I tried connecting to Sybase Control Center from my Android device using Sybase Mobile Workflow 2.1, there were no log updates at all. I entered IP address of my computer where I installed SUP   as server name. It seemed like Sybase Mobile Workflow 2.1 did not work at all on my Android device.  However, there are some log messages when I try to connect to SCC through Sybase Hybrid Web Container - "Engine Startup", "Queued Settings Request", "Communication Error".
    I was able to successfully register my Android Emulator on SCC using Hybrid Web Container app and test my hybrid web app. What could be the reason for not being able to register a real device on SCC? Is this the wrong Sybase app used on the device? Or some kind of network issue? Both my android device and my computer are connected to the same home WiFi network and have 192.168.x.y IP addresses, which are local IP addresses accordng to my knowledge.
    I was told that if I am unable to open SCC on the device by typing https://<IP_address>:8283/scc in a browser, then my device won't be able to access SCC. And, in fact, my Android device cannot open SCC in its browser, while my Android emulator can.
    I have tried using USB or WiFi tethering to so that my laptop actually uses exactly the same Internet connection as my Android phone, but this didn't help either. If someone has any idea on how to fix this, your help will be appreciated!
    - Jake Alexander

    When I open that page on my device's browser, it says that my browser couldn't connect to it.
    I don't think my Firewall blocks port 5001, because I have never set it to do it, and I don't see any outbound or inbound rules on my Windows Firewall to block port 5001. I don't think that my WiFi network would block port 5001, but I can't be sure of it. However, I was told that if I create a portable WiFi hotspot and connect my computer with SUP on it    to the hotspot, then my computer and Android device would be on the same network even without Internet Connection, and I would be able to connect to SCC on my device, However, even in this case it did not work.
    Thanks,
    Jake

  • Recently upgraded Mac 24" to Lion (clean install) and now no external hard disks work with Time Machine

    Recently upgraded Mac 24" to Lion (clean install) and now no external hard disks work with Time Machine.
    installed new internal disk first with fresh 10.7.3 Lion software. Also upgrade ram to 4GB. Work great, super fast.
    BUT.... my WD 1TB firewire400 external disks no longer work with the Lion enabled machine now.
    FURTHER... I read somewhere that WD is problematic with Lion but Seagate was not... so I went and bought a new 3TB Seagate GoFlex.
    When it didnt work properly either, I patiently searched and found a software/firward upgrade and applied.
    I re-partitioned disk to extened/journaled standard, etc.
    Then assigned the particition to Time Machine. Drive turned the blue/grey color, so I thought it would work.
    But, it has now been in "preparing" mode in Time Machine for HOURS....
    What is up Apple? So dissappointed. Ive read these type of problems are notorious with Lion and I wish I never upgraded.
    Are you trying to make issues with External disks, to drive people to iCloud?  That trick ont work in me. I will not reward bad behaviour Apple.
    Please provide a fix... I wasted hours/days screwing around with this, instead of using the Mac for what its intended!

    Solved by Pondini, on another thread I opened...
    Answer:
    Sounds like either:
    A directory problem on your internal HD.  Verify your internal HD, and Repair any other volumes being backed-up per #A5 in Time Machine - Troubleshooting.
    Something in OSX may be damaged.  You've tried the "combo," so a fresh copy of OSX (that won't disturb anything else) would be worth a try (and you don't need a tech for that).  See Installing the ''combo'' update and/or Reinstalling OSX.

  • Very slow responce when working with Office file on DFS-Share

    Very slow responce when working with Office file on DFS-Share
    We have implemented the following configuration
    Domain level Windows 2000. Two member servers with Windows Server 2008 R2, sharing the same DFS namespace with, at the moment, one folder target called Home.
    Users complaining that the access to different MS Office files is very slow. Even creating a new MS Word document using right click context menu takes up to 4 minutes to open. Saving, for example, one singe Excel sheet takes also few minutes.
    Tested with both, MS Office 2007 and MS Office 2010. Makes no difference. When using Office 2010 you can see the message like contacting:
    \\DomainName\Root\Home\UserName. Other files like TXT, JPG or PDF are not affected.
     What makes the thing really weird is the fact, that the behavior described above can absolutely change after client machine being rebooted, suddenly everything becomes very fast and this condition can revert back again just after the next
    reboot.
    Considerations until now:
    1. This has nothing to do with the file size. Even tiny files are affected.
    2. AD Sites are configured correctly and the client workstations see themselves in the correct sites.
    3. This is not an Office issue. If I map my folder target not as DFS, but directly as shared network drive
    \\ServerName\Root\Home\UserName , everything functions as expected
    What makes me suspicious: when using f.e. TCPView to monitor connections, I can see, that each time I make any operation on an office file, there will be a connection established to one of the domain controllers, sometimes to remote ones,
    located in other countries. But on the other side, even if the connection is established to the nearest DC, operations are still very very slow!
    Just forget to say. All clients are Windows 7
    Thanks to all who respond.

    Dear all,
    sorry for the delayed reply. The problem has been solved now and since September 19<sup>th</sup>. everything is functioning as expected.
    What was done:
    Deleted replication targets excepting the initial ones
    Carefully recreated folder targets
    Deleted and recreated  replication groups
    Disabled SNP features on both namespace servers
    Created EnableTCPA registry entry
    Checked that the following Updates are installed
    http://support.microsoft.com/kb/2688074
    http://support.microsoft.com/kb/2647452
    Concering Office File validation KB2553065 - This Update was already declined on our WSUS server
    Kind Regards
    Eduard

  • Share Option in Photos 1.0 Not Working with Outlook

    Hello,
    I have recently done the OS X update to 10.10.3 (14D136). This brought in Photos Version 1.0 (209.52.0), which appears to have replaced my older iPhotos program apparently. I won't get into my thoughts on the new version, (which is not great) but one thing that is super annoying is that I can no longer send images directly from Photos to Outlook in the share menu.
    Yes, I realize I can "Export" to the desktop, and then drag them into Outlook - but why the extra step? Why the downgrade in the upgrade?? If I choose More from the "Share" menu, Outlook is there and checked, but grayed out in the Extensions.
    Also, I still show iPhoto listed in my Applications folder, but it wants me to select a Migrate Library to open the program. So, what's the deal? Why do I have now Photos 1.0, but still have iPhotos as well?  Which one am I supposed to use and why won't my Outlook work with Photos?
    Ugh, this is very Un-Apple-like! 
    Corey

    No - iPhotos has not replaced anything - it is new and an addition - iPhoto is still on your system in the applications folder and still works just fine
    Outlook is not supported by Photos - not sure if the support must come form Apple or MS as Photos uses a different interface to external packages than iphoto did
    LN

Maybe you are looking for

  • Free basic Keynote 08 courses, online?

    Hi, I'm looking for a Free basic Keynote 08 course, online, if possible, must be really basic, no experience required type of thing, any ideas? thanks

  • Samsung HDTV wont display properly

    I hooked my dual core Mini to my Samsung TX-P2670WH HDTV with a DVI cable. The text is blurry and I have to set the resolution at 640 x 480 just to make it out. The specs say it is 720p and 1080i compatible TV. No amount of tweaking with settings has

  • Create Procedure - How to Detect Compilation Errors

    Hi, I am working on an application where users will be able to type in their own stored procedures. I perform some basic parsing of the function spec, to make sure it is well-formed, but that's all the parsing I do. I assumed an SQLException would be

  • Special charecters handling

    Hi All, how to unhide abap codes that were hidden using a special string in the first line of the program: *@@$$@@SAP Any solutions ? Thanks!

  • AIR 15 broke build, Base64

    Our project has com.sociodox.utils.Base64, as source, included in a SWC project's source paths. Starting with AIR15, the compiler is unable to resolve this Base64 class - I unzipped the SWC in question and looked at the catalog, and I found dependenc