Help with stopping a simple text annimation after it completes once

I am new to flash, i am trying to make a simple text annimation that has a word fly into the document from off the screen and only play once, not repeat itself.
What is the simpleest way to do this in CS4?

3. Correction: Any library symbol can be animated when it is done on the timeline.  It's only when you use code to animated that you cannot use graphic symbols because you cannot give them instance names, but you can still animate movieclips and button symbols with code.

Similar Messages

  • Help with stopping KeyListerner

    Hi there,
    I need help with stopping KeyListener{}. Ive made this applet, which functions in a game. Once the player has achieved the goal, i have a results message appear. but if you hold UP arrow key, the message flashes and the image keeps moving, prolonging the message to appear. I've tried a if{} block, but it doesn't work.
    iam using DirectionKeyListener implements KeyListener {} with keyPressed (KeyEvent event) {}. The if {}block (mentioned before) i put into the KeyEvent section so it, for example, x == 9, it would work, otherwise display the message.
    Thanks in advance
    Landon

    yeah i include them but i dont ultilise them.
    i use the keyPressed (KeyEvent event) {}
    the code looks something like this:
    public void keyPressed (KeyEvent event) {
    if (current == 9){
    //all the normal events
    } else {
    // display results
    public void keyTyped (KeyEvent event) {}
    public void keyReleased (KeyEvent event) {}
    current is the varible that changes when the race is completed. It changes and then should trigger the new event. Iam also using paint(), if that might interfere.
    again, thanks in advance

  • Help with exporting Deski to text file via Web Intelligence

    We are currently converting from BO version 5 to BO XI rev2. I have a report that must be scheduled to a flie in plain text format. I am using a deski report. When I save as to text, the file is fine. When I schedule it in webi, the file seems to be missing the end of line character for each row in the table, so it cannot be used for an import to another program. Can anybody help with this?-

    well, in that case you need to determine if this issue only happens with a perticular report or all of them, if it happens only with reports imported from 5.x or with newly created reports as well.
    Looks like it is happening only when report is exported from Infoview, not in the Deski client. This might indicate a problem at the Web Apllication server (tomcat or one you use).
    If this issue is happening with any report - it might be a bug. In that case you have no options as there are no more patches for XIR2.
    On the other hand - if all you need is to extract data for consumption in another tool , why not use Data integrator instead ?
    Also, if this desn't work in Deski - does it work if you convert your reports to webi and export from those ?

  • Help with Automator to copy text from multiple files

    Hello,
    I'm new to automator and applescript but it seems like what I'm trying to accomplish is fairly easy.
    I'd like to run a workflow that will open a text file, copy the contents, paste the contents into a given application and then take a screenshot.
    I'd like to be able to do this for several hundred text files.
    I've tried with a Service but can't figure out how to provide the text input after "Get Specified Finder Items".
    Get Specified Finder Items --> Get Contents of TextEdit Document --> Copy to Clipboard --> results in no data.

    You'll need to use Applescript (you could use the Automator Run Applescript Action).
    set recipientAddress to do shell script "cat <filename.txt>"
    set theSubject to "Type your subject here!"
    set theContent to "Type your message content here!"
    tell application "Mail"
      activate
              set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true}
              tell theMessage
      make new to recipient with properties {address:recipientAddress}
      -- Uncomment send to Send the Message:
      -- send
              end tell
    end tell

  • Help with Dropdown box autopopulating text

    I have created a dropdown box and set-it up with scripting to populate text fields based upon selection. The problem that I am having is when you make your selection it does not automatically update the text box. I have to click on another form field once I make a selection, then click on the text in the dropdown box. This will then result in the text fields auto populating. Could you please help, so that these extra steps will not need to be taken. Below is the coding that I used.
    var f = event.target;
    if (f.value == "Blank")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "";}
    if (f.value == "Aetna")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "90791 - Diagnostic Evaluation";
    this.getField("InsuranceCodes2").value ="90832/ 90834/ 90837 - Psychotherapy";
    this.getField("InsuranceCodes3").value ="90846 - Family Psychotherapy w/o Patient";
    this.getField("InsuranceCodes4").value ="90847 - Family Psychotherapy w/ Patient";
    this.getField("InsuranceCodes5").value ="96101 - Psychological Testing";
    this.getField("InsuranceCodes6").value ="96103 - Computer Testing";
    this.getField("InsuranceCodes7").value ="";
    this.getField("InsuranceCodes8").value ="";
    this.getField("InsuranceCodes9").value ="";}
    if (f.value == "Anthem BC")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "90791 - Diagnostic Evaluation";
    this.getField("InsuranceCodes2").value ="90832/ 90834/ 90837 - Psychotherapy";
    this.getField("InsuranceCodes3").value ="90846 - Family Psychotherapy w/o Patient";
    this.getField("InsuranceCodes4").value ="90847 - Family Psychotherapy w/ Patient";
    this.getField("InsuranceCodes5").value ="96101 - Psychological Testing";
    this.getField("InsuranceCodes6").value ="96103 - Computer Testing";
    this.getField("InsuranceCodes7").value ="";
    this.getField("InsuranceCodes8").value ="";
    this.getField("InsuranceCodes9").value ="";}

    I did move the coding to validation script and deleted it from the actions. I clicked also to commit the selected value immediately. However, when I change "event.target" to "event.value" it no longer works. If I do all the steps but leave "event.target" it does autopopluate, but the information is incorrect.

  • Help with a very simple horizontal Spry menu

    Hi,
    I’ve always received great help here and I’m sure that if I explain the issue I’m having properly I’ll get some good input.
    This is to do with a very simple horizontal Spry menu, there’s no dropdown involved, only a color change on the rollover.  The menu items are in a shade of blue, then on the rollover each menu item changes to a shade of red, the font color remains white for both.
    What’s mentioned above works flawlessly, the problem I’m having is this … On the rollover when the menu block items turn red, I’m attempting to add a 1px border around the entire block, but when I do the block item seems to want to change its width and height slightly when it’s rolled-over.  As I said, without the border it works perfect.
    Any suggestions will be appreciated.

    steve0308 wrote:
    Hi,
    I’ve always received great help here and I’m sure that if I explain the issue I’m having properly I’ll get some good input.
    This is to do with a very simple horizontal Spry menu, there’s no dropdown involved, only a color change on the rollover.  The menu items are in a shade of blue, then on the rollover each menu item changes to a shade of red, the font color remains white for both.
    What’s mentioned above works flawlessly, the problem I’m having is this … On the rollover when the menu block items turn red, I’m attempting to add a 1px border around the entire block, but when I do the block item seems to want to change its width and height slightly when it’s rolled-over.  As I said, without the border it works perfect.
    Any suggestions will be appreciated.
    You also have to apply the border to the 'a' css selector. If you just apply it to the 'a:hover' css selector then the tab will grow slightly bigger because its adding more width and height to the overall structure.

  • Need Help with a very simple view transition scenario

    Hello All,
    I am trying to learn how view transitions work and I am having a very hard time with the sample apps (like transition view app etc)...I need something much more simple at first. Can you please provide me a little guidelines on how to set up this following scenario:
    App loads up and shows a title screen with a button that says go. When you click on the go button the title screen fades out and a new view fades in (or slides in, or anything at all).
    Right now I have 3 nib files. There is the main one that is called on application start (tied with MainViewController, a subclass of IUViewcontroller just like in the hello world app. After the app loads the app delegate object tells the MainViewController object to load in another view controller object (via addSubview) which is tied with the second nib file; my title screen with the button. When I press the button I was thinking in the IBAction function to tell the MainViewController object to remove (or transition out somehow) the title screen view controller object then add the other view (third nib file in). This is the part I can't get working. Am I on the right track or have a gone hideously astray? Thank you!

    hi,
    i managed to do this for my app. (think i referred to viewTransitions sample code and modified quite a bit)
    i can't remember this well cos i did this quite a while back, but i will try to help as much as possible
    1) from the appdelegate i initialize a root controller (view controller class)
    2) this root controller actually contains two other view controllers, let's call it viewAController and viewBController, for the screens which u are going to toggle in between. and there's also a function, let's call it toggleMenu, which will set the menus to and fro. i copied this whole chunk from the sample code. it actually defines the code on what to do, i.e. if current view is A switch to B and vice versa.
    3) inside the controller files, you need to implement the toggleMenu function too, which basically calls the rootController's toggleMenu
    4) we also need viewA and viewB files(view class)
    5) need to add the .xib files for the respective views and link them up to the controller class. i did not use the .xib files for ui layout though, because of my app's needs. however, it will not work properly without the .xib files.
    5) inside the view class of both views, i.e. viewA.m and viewB.m, you need to create a button, that will call the toggleMenu function inside the respective controller class.
    it will look something like this:
    [Button addTarget:ViewAController action:@selector(toggleMenu:) forControlEvents:UIControlEventTouchUpInside];
    so the flow is really button (in view)-> toggleMenu(viewController) -> toggleMenu(rootController)
    i'm sorry it sounds pretty hazy, i did this part weeks before and can't really remember. i hope it helps.

  • Help with java (2 simple classes)

    would anyone be able to help me with some questions about two very short java classes?
    i have come up with some answers of my own, but yeah, i'm not sure how correct my answers are....
    the 4 questions are:
    1. The data attributes m, n and grid in the HeatGrid class are declared private, and methods
    such as gridHeight(), gridWidth() and copyGrid() are provided to extract their value. Why
    is the better class design than simply declaring those attributes as public?
    My answer: So other classes accessing them cannot modify those data atributes, i am not sure why this is better class design.
    2. Why must the (global) constants in HeatSim.java be declared static ?
    My Answer: because HeatSim is what you run first and so you don't create a HeatSim object, you just access its methods, thus the need to make them static.
    3. Assuming HeatGrid has been fully implemented, during the execution of the statement
    HeatGrid = new HeatGrid(inGridFile), how many objects of HeatGrid, double [][] and
    Scanner are created?
    My Answer: 1 HeatGrid object, 1 doulbe[][] object and 1 scanner object
    Which of these objects must still exist after the statement completes execution?
    4. For each of the classes HeatSim and HeatGrid, identify the client and supplier classes
    (including library classes).
    My Answer: So far this is what i have done. for the HeatSim class, i said that the supplier classea are:
    double
    int
    boolean
    String
    Math Class
    viewgrid class
    array
    and the clients for the HeatSim class are:
    HeatGrid class
    if anyone can help me i will but up the VERY short code to these two classes. I am really stuck and any help woould be greatly appriciated! :)
    Lots o love
    Sarah

    ok here is the code (i don't have my compelted copy on me but this will do for the moment).....
    import java.lang.Integer;
    import java.lang.Double;
    import java.text.DecimalFormat;
    public class HeatSim {
        final static boolean ENABLE_VIEW = true; // if true, create GUI to view grid
        final static double DEFAULT_THR = 1.0e-02;
        final static int DEFAULT_PAUSE = 100; // pause between each update of window in ms
        final static int DISPLAY_WIDTH = 7;   // width to print each grid value
        final static int MAX_MN_DISPLAY = 10; // maximum grid size to be displayed
        public static void main(String[] args) {
            // initialize program `parameters' according to the command line,
            // entering `default' values if none were given
            String inGridFile = (args.length < 1)? "": args[0];
            int nIter = (args.length < 2)? 1: Integer.parseInt(args[1]);
            double Thr = (args.length < 3)? DEFAULT_THR: Double.parseDouble(args[2]);
            String dumpFile = (args.length < 4)? "": args[3];
         DecimalFormat residFormat = new DecimalFormat("0.00E0");
            ViewGrid view = null;
            System.out.println("HeatFlow simulation program");
            if (inGridFile.equals("")) {
                System.out.println("Error: an empty grid file name was entered");
                return;
            // create HeatGrid object
            HeatGrid heatGrid = new HeatGrid(inGridFile);
            int m = heatGrid.gridHeight();
            int n = heatGrid.gridWidth();
            if (m <= MAX_MN_DISPLAY  && n <= MAX_MN_DISPLAY) {
                System.out.println("\nGrid at time 0:" );
                heatGrid.display(DISPLAY_WIDTH);
            if (ENABLE_VIEW) {
                // create a ViewGrid WINDOW object to view the grid
                view = new ViewGrid(m+2, n+2, DEFAULT_PAUSE);
                view.display(heatGrid.time(), 0.0, heatGrid.copyGrid());
            while (heatGrid.time() != nIter && heatGrid.residual() > Thr) {
                heatGrid.iterate();
                if (m <= MAX_MN_DISPLAY  && n <= MAX_MN_DISPLAY) {
                    System.out.println("Grid at time " + heatGrid.time() +
                                    " has residual " +
                         residFormat.format(heatGrid.residual()));
                    heatGrid.display(DISPLAY_WIDTH);
                if (ENABLE_VIEW) {
                     view.display(heatGrid.time(), heatGrid.residual(),
                                  heatGrid.copyGrid());
            } //while(...)
            if (ENABLE_VIEW) {
                view.finalize();
            if (!dumpFile.equals("")) {
             heatGrid.dumpGrid(dumpFile);
            System.out.println("\nHeat Flow simulation of (" + m + "+2)x(" + n +
                               "+2) grid ends at time " +  heatGrid.time() +
                               " with residual " +
                      residFormat.format(heatGrid.residual()));
        } //mainProgram()
    } //HeatSim
    import java.util.Scanner;
    import java.io.*;
    import java.text.DecimalFormat;
    public class HeatGrid {
        private int m, n;
        private double[][] grid;     // m+2 x n+2 array representing a grid
        private int t;               // the time the grid has been evolved
        private double resid;        // residual left from the last timestep
        // initializes m, n and grid according to the information in the grid file
        // of name gridFileN; sets t to 0, and resid to Double.MAX_VALUE
        public HeatGrid(String gridFileN) {
        } //HeatGrid()
        // returns the value of m
        public int gridHeight() {
            return 0;         // [ replace with an appropriate value ]
        } //gridHeight()
        // returns the value of n
        public int gridWidth() {
            return 0;         // [ replace with an appropriate value ] =
        } //gridWidth()
        // returns the value of t
        public int time() {
            return 0;         // [ replace with an appropriate value ]
        } //time()
        // returns the value of the residual from the previous timestep
        public double residual() {
            return 0;         // [ replace with an appropriate value ]
        } //residual()
        // returns a copy of the grid
        public double[][] copyGrid() {
            return null;         // [ replace with an appropriate value ]
        } //copyGrid
        // precondition: all elements of grid can be printed to 1 decimal place
        // using width characters.
        // prints the m+2 x n+2 grid by rows, rows in descending order.
        // All values are printed to 1 decimal place, and are right-justified
        // in a text field of width characters.
        // Note: this method is for debugging; hence right-justification is useful
        public void display(int width) {
        } //display()
        // advance the simulation a single timestep
        public void iterate() {
         } //iterate()
        // prints the m+2 x n+2 grid by rows, rows in ascending order.
        // All values are printed to 2 decimal places, with at least one space
        // between them.
        // Note: this method is intended for result checking by a computer program;
        // thus justification is not important.
        public void dumpGrid(String outGridFileN) {
        } //dumpGrid

  • Help with Designing a Simple Database

    I am currently working on a designing problem I would appreciate if someone could review my solution.
    The Problem:
    I need to create a simple database that contains the following entries�
    First Name //mandatory
    Last Name //mandatory
    Date of Birth //mandatory
    Hobbies //there could be anywhere from 0 to infinite amount of hobbies
    Type of actions that I need to perform on the database�
    Add, delete, and modify and entry
    Below are a two design solutions I came up with�
    For both solutions I am going to create two text files. One of the text files called profiles.txt will contain the following fields on each line�
    Id, First Name, Last Name, Date of Birth
    //the Id field in this text file will be the primary key so you will not see the Id duplicated
    The other text file called hobbies.txt will contain the following fields on each line�
    Id, hobby
    //the Id field can be duplicated in this text file so a person can be linked to zero or several hobbies
    Now what differs between my solutions is how I am going to read this data into my program�
    Solution 1) When you start the program it will read the profiles.txt into a linked list. After that is finished the program will then load the hobbies into several linked list that the profiles linked list will point to. So basically each person will have a linked list of hobbies associated with him or her.
    Problem I see with this solution is that if there were 200 million people contained in the profiles.txt would my program crash since the computer would not have enough memory to load all of those names?
    Solution 2) Instead of loading the data at the start of the program the data will stay in the text files. So when someone does a search it will open the text file and search for the entry.
    Problem with this solution is it would be hard to delete and modify names (would I have to rewrite the text file every time I do a change?). Would a good fix to this problem be creating a separate text file to keep track of any changes or deletions I do and once in a while do a database maintenance?
    So a review of my questions is�
    1)     Would my program crash if I had 200 million entries if I use my solution 1?
    2)     Is my solution 2 possible without being incredibly slow or complicated?
    3)     Is there another way of doing this I have not thought of?

    I think having one option will do. Now the problem with this text file thing is that, we'll hve to read every information into memory if we are running a test driver for the program and then work on the information in memory.
    After the program closes, whatever changes we made to this data in memory shd be written to file so we need to find a way of writing the data from memory to overwrite the file. I hope you kinda get what i'm talking abt.
    the database will consist of information like this
    String firstName
    String lastName
    String DOB
    ArrayList / Vector Hobbies
    Now, we kinda want to declare a class with with all these information as data fields ok.
    so let's say
    public class Try{
    String firstName
    String lastName
    String DOB
    ArrayList / Vector Hobbies
    and then create an instance of this class in the driver
    which will be an ArrayList of this class or something so each index of this class ArrayList will hve it's unique data information from the file we read in but again, this is kinda working in memory right.
    After doing all we have to do, we want to write back to file all the changes we made to the data in memory. That's where we are kinda stuck right now.
    A member of the group was suggesting we call whatever functions to work on the txt file which will mean we'll hve to re-write each time we call a function to operate on it and all that stuff. This is a slow process.
    will be glad if anybody out there will have a better way to implement this. Thanks a lot.

  • Help with exporting. Video looks horrible after export, but great when in premiere pro

    Hey guys, looking for some advice on exporting.
    When I finish a video, the color and everything looks great while in premiere pro, but after exporting it, the color ends up looking dull and the whole video looks blurry.  I'm filming with a canon vixia hf200 at 60i. It imports as a AVCHD file, I deinterlace it, and then export at the Vimeo HD settings. What can be causing the video to look horrible after exporting? What settings should I be exporting under? Any help would be appreciated!

    It looks like you're coming up against some of the colorspace handling issues that the Premiere pipeline has.
    Since your source is 60i AVCHD it's HD and thus rec709 colorspace. If it gets encoded with the standard rec601 colorspace (SD sizes are this) then all the colors get crushed. Look for a "709" and "601" radio button in your export settings. If it's not there you're out of luck.
    The "blurry" is probably a poor quality de-interlacer. If Vimeo permits interlaced vs progressive do that instead. it's always cleaner to stay in the same video format all the way through.
    TECHNICAL ASIDE:
    rec709 is a triangle of possible colors that can be expressed by mixing of ratios of 3 emitters (the R G B corners of the triangle). (they are the RGB phosphors of a CRT and now LCD pixel elements)
    rec709 is a bigger triangle than rec601 so it's capable of more colors. but if you accidently map that triangle's corners to the coordinates of rec601 it gets crushed.
    In photography the "sRGB" uses the rec709 triangle. A bigger triangle that that is "Adobe RGB". So if you work in Adobe RGB and export to sRGB without conversion the colors get crushed because sRGB in inside the triangle of "Adobe RGB".
    http://en.wikipedia.org/wiki/Srgb
    http://en.wikipedia.org/wiki/Rec._709
    http://upload.wikimedia.org/wikipedia/commons/8/8f/CIExy1931_sRGB.svg

  • Please help with a few drivers for z60m after fresh install

    I got a bad virus(several actually) that I could not eradicate. I was advised to just wipe and reinstall the OS since it is not under warranty anymore. I could not find the recovery disk, must have been lost inthe last military move could not find a replacement recovery disk at the IBM website so  I went out and bought an xpprof OS thinking it should not be that hard to find any drivers XP does not provide . I had no problems doing that on our acer laptop and a friends HP laptop before so was pretty confident.. Boy was I wrong this has been the reinstall from hell. I reinstalled the audiodrivers from theIBM website but the speakers still don't work. The laptop will not recognize the wireless, even after installing the drivers for that and I can't find anything out about why the dock does not work, I assume there are drivers for that too. I also have 4 ugly yellow question marks that I can't seem to get rid of in device manager.  At this point I am already out the price of XP Prof but I really need this laptop my husband took the acer laptop when he deployed to Afghanistan, only because I was confident I could get this one fully functional.  I see now my self confidence was badly misplaced ,even though I am working on a degree in computer technology this laptop is kicking my tush.
    Is there anyone that could help please
    1. help me find why my speakers still dont work even though they are recognized as soundmax in device manager
              I found several references to this issue in the forums but there does not seem to be a resolution
    2. help me figure out why my laptop suddenly (after the fresh install)does not know it even has a wireless capability even after numerous attempts at installing the driver(driver seems to install just finebut upon reboot there is still no wireless available
    3. figure out how I can get my dock to work again
    the laptop has always worked great til now and all these things were functional before the virus and reinstall of the OS)
    4.  get rid of ugly yellow exclamation points under Other Devices, I am sure they must be important( I am sure at least one or more of them has to do with the wireless)
    sorry this is so long Im  just frustrated thanks so much for anyone that can give some guidance on this

    hanaleia, welcome to the forum,
    download and install ThinkVantage System Update, it should get the drivers for you. Please ensure you read down the site as you may need to install a patch for XP SP2.
    Let us know how you get on.
    Regards
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Help with Clipping Mask and text!

    This has really been frustrating me.
    Designing this logo at the mo - the circle is a shape and the L is just type on a separate layer on top with the same colour as background. What I want is to make the L cut into the circle so that it's essentially transparent, where I can place it on any coloured background and the L will blend it naturally without constantly changing typeface colour of 'L'.
    Any ideas guys? Using CS5. I'd appreciate any help.

    Hi,
    One way is to put your text and circle into a layer group, then set the Blending Options:Custom to Zero fill and Knockout to Shallow.
    The layer that is directly below the layer group will show through the text.

  • Need help with starting a simple calculator

    I have this simple calculator I just started on, and I'm having just a few problems. First of all, I don't know how to append text to a textfield. Maybe I would have to create a string buffere or something. Then, when the user clicks one of the buttons, the compiler goes crazy, and nothing is displayed.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Calculator extends JFrame implements ActionListener
         JButton[] btnNums;
         JButton btnBack;
         JButton btnClear;
         JButton btnCalculate;
         String[] strNames;
         JTextField txtDisplay;
         public Calculator()
              Container content = getContentPane();
              setSize(210,250);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              /*  construct a JPanel and the textfield that
               *  will show the inputed values and outputed
               *  results
              JPanel jpDisplay = new JPanel();
              jpDisplay.setLayout(new BorderLayout());
              txtDisplay = new JTextField(15);
              txtDisplay.setHorizontalAlignment(JTextField.RIGHT);
              jpDisplay.add(txtDisplay);
              /*  contstruct a JPanel that will contain a back
               *  button and a clear button.
              JPanel jpRow2 = new JPanel();
              btnBack = new JButton("Backspace");
              btnClear = new JButton("Clear");
              btnClear.addActionListener(this);
              jpRow2.add(btnBack);
              jpRow2.add(btnClear);
              /*  construct a string array with all the names of the
               *  buttons, then in a for loop create the new buttons
               *  and add their name and an actionListener to them.
              String[] strNames = {"7","8", "9","/", "4", "5", "6","*", "1", "2", "3","+", "0", "+/-", ".", "-"};
              btnNums = new JButton[16];
              JPanel jpButtons = new JPanel();
              jpButtons.setLayout(new GridLayout(4,4));
                for (int i = 0; i < 16; i++)
                     btnNums[i] = new JButton(strNames);
                   btnNums[i].addActionListener(this);
                   jpButtons.add(btnNums[i]);
              /* construct the final JPanel and add a
              * calculate button to it.
              JPanel jpLastRow = new JPanel();
              btnCalculate = new JButton("Calculate");
              btnCalculate.addActionListener(this);
              jpLastRow.add(btnCalculate);
              /* set the contentPane and create the layout
              * add the panels to the container
              setContentPane(content);
              setLayout(new FlowLayout());
              setResizable(false);
              content.add(jpDisplay, BorderLayout.NORTH);
              content.add(jpRow2);
              content.add(jpButtons);
              content.add(jpLastRow);
              setTitle("Mini Calculator");
              setVisible(true);
         public void actionPerformed(ActionEvent ae)
              for (int i =0; i < 16; i++)
                   if (ae.getSource() == btnNums[i])
                        txtDisplay.setText(strNames[i]);
         public static void main(String[] args)
              Calculator calc = new Calculator();

    First of all, I don't
    know how to append text to a textfield.
    textField.setText( textField.getText() + TEXT_YOU_WANT_TO_APPEND );
    Then,
    when the user clicks one of the buttons, the compiler
    goes crazy, and nothing is displayed.No, the compiler doesn't go crazy, the compiler has done it's job by then. However, you do get a NullPointerException, and the stacktrace tells you that the problem is on the following line:
    txtDisplay.setText(strNames);
    It turns out that strNames is null. I leave it to you to find out why. ;-)

  • Help with stop sign on screen - please!

    My hard drive has packed up and I have a new one which I have formatted on another G5.
    When I start up now I get a folder with a flashing question mark in it.
    If I insert my copy of panther then the disk spins and the screen goes to the apple grey screen, but then comes up with a stop sign and I can't proceed any further.
    I have tried holding down C when booting up and also alt which brings up a blue screen which shows the osx disc but then it just goes to the stop sign when I proceed.
    Please help, why won't the operating system load on?
    Because the old hard drive is broken, I only have internet at work.

    Hi Kevin, and a warm welcome to the forums!
    While you may get help or a solution here, It's quite acceptable to start a new topic of your own, certainly feel free to start a new topic to attract more helpers to your particular situation, here's a link if as is often the case, it's hard to find out where to do it...
    http://discussions.apple.com/post!default.jspa?forumID=596
    Or the iMac G5 forum where I don't hang out, but many hood helpers there...
    http://discussions.apple.com/post!default.jspa?forumID=134
    The we are hanging here is a Kernel Panic, usually in your situation a wrong Install Disc, bad Disc, or bad Reader.
    Do you have another Mac with Firewire around?

  • Help with iPhoto migration/upgrade to Aperture, after HDD replacement and clean install.

    I'm getting ready to replace the internal HDD in my iMac, and perform a clean install. 
    I'm currently running:
    OS X Lion, version 10.7.5
    iPhoto '09, version 8.1.2
    After the clean install:
    The latest version of OS X Mavericks
    Installing a fresh version of Aperture, and *hopefully* importing all of my photos from my old iPhoto, into new Aperture (193 GB worth of photos).
    What's the best (specifically: SAFEST) way to go about making sure my photos successfully import from my old HDD, and old version of iPhoto, into a new version of Aperture on what will basically be a brand new computer?  Is this just a matter of dragging and dropping the "iPhoto Library" to an external USB drive, then somehow bringing that folder into Aperture after my machine is up and running with it's new hardware and software? 
    Thanks in advance for your help!

    From what I understand, iLife 11 comes bundled with 10.9
    No  --  no version of iLfe or of iPhoto comes bundled with any OS
    if I simply drag and drop my existing iPhoto library to an external drive right now (despite being a library from an old version of iPhoto), I'll be able to simply import that library into the bundled version of iPhoto 11 that'll come with my clean install of 10.9, without any corruption of image library, loss of metadata, etc...?
    Sort of
    1 - the EHD must be formatted Mac OS extended (journaled)
    2 - there is no iLife '11 bundled with Mavericks (or any other OS) - you must pruchase iPhoto '11 in the App store
    3 - there is no importing of anything involved - you simply drag your iPhtoo library to the pictures folder of the new system and launch iPhoto letting it upgrade the library
    No corruption, lss of data or other problems - unless somethng goes wrong - which is why you need a backup before doing this - your copy on the EHD is fine - just do not open it directly - make sure you are opening a copy
    LN

Maybe you are looking for

  • Is there a "one-touch" way to convert to my existing library to DNG?

    Is there a "one-touch" way to convert to DNG? My Aperture library currently has three types of files: JPEG files taken with point-and-shoot camera going back for years, (ii) RAW (NEF) files made with a Nikon D60, (iii) RAW (CR2) files made with a Can

  • Error while opening LabView files - Bei der Weitergabe des Befehls an das Programm ist ein Fehler aufgetrete​n

    Hy Forum Some times ago i had some troubles while opening files in labiew.... I want to open a LabView file (no matter if *.vi or *.lvproj file) from a network path (mapped network drive). The Windows User Account Control (Windows 7, 32bit) appears t

  • FM SXPG_COMMAND_EXECUTE and parameters

    Dear all ! I tried to execute the FM SXPG_COMMAND_EXECUTE (SM49, SM69) in order to execute SAPCAR on a couple of file on the server with the parameter <i>-cvf /usr/sap/SBD/interfaces//SP2/CH/BACKUP/comp.car .</i>. Unfortunately the FM changes the par

  • ITunes 12 keeps crashing

    I recently update my iTunes to version 12, then suddenly when I click the iTunes store, this app keeps crashing and I received this message: Problem signature:   Problem Event Name: APPCRASH   Application Name: iTunes.exe   Application Version: 12.0.

  • Stupid Question here...need help

    I am new to the iMovie program. I have only been using it for about 2 months and have a kind of goofy question. When I import my movies from my camera and begin editing, the footage begins to play like it should. Then after a few seconds it starts to