Where does it go wrong??

In this application, i want the user to enter a number, but somehow the conversion of the value entered doesn't work. When I start the application and enter any value I get java.lang.NumberFormatException.How should I change the code??
import java.io.*;
import java.lang.*;
import java.awt.*;
public class Assignment5
public static void main( String args[] ) throws IOException
final int maxvert = 20; // Maximun number of vertices allowed
int n; // Number of vertex in this instance
char Ans = 'n'; // Use for loop
int w[][]; // Inputted graph represented by matrix
int s[][] = new int [maxvert][maxvert]; // Minimum spanning tree graph
int nearest[] = new int [maxvert]; // Index of vertex nearest to vi
int distance[] = new int [maxvert]; // Weight on edge between vi and the vertex
int near = 0; // The index for which distance[i] is the smallest
int tmp_nearest, min;
File f_in;
FileInputStream input;
int len;
int f_len, max, ch, edge;
String str;
String oneChar;
String infile = "in.dat";
String st = new String("");
do
w = new int [maxvert][maxvert]; // Inputted graph represented by matrix
System.out.println("Prims Algorithm!");
System.out.println("This Algorithm finds the Minimum Spanning Tree of a graph.");
System.out.println("How many vetices do you want (Max = "+ maxvert +" ) ?");
while((ch = System.in.read()) != '\n')
oneChar = String.valueOf( (char)ch );
st = st.concat(oneChar);
n = Integer.parseInt(st);
System.out.println("The vertices = "+n);
System.out.println("Enter graph in matrix form, ");
System.out.println("(0 means a loop, -1 means on edge)");
for (int x = 0; x < n; x++)
for (int y = 0; y < n; y++)
System.out.print("(V "+x+", V "+y+") : ");
st = new String("");
while((ch = System.in.read()) != '\n')
oneChar = String.valueOf( (char)ch );
st = st.concat(oneChar);
w[x][y] = Integer.parseInt(st);
if (w[x][y] == -1) // We use 1000 instead of infinity or -1
w[x][y] = 1000;
System.out.println();
System.out.println();
//int minus_one = -1;
for (int x = 0; x < n; x++) //Formatted output, so it looks neat and lined-up
System.out.print(" ");
for (int y = 0; y < n; y++)
if ((w[x][y] >= 100) && (w[x][y] <= 999))
System.out.print(+w[x][y]);
if ((w[x][y] >= 10) && (w[x][y] <= 99))
System.out.print(" "+w[x][y]);
if ((w[x][y] >= 0) && (w[x][y] <= 9))
System.out.print(" "+w[x][y]);
if (w[x][y] == 1000)
System.out.print(" -1");
System.out.println();
System.out.println("Is this correct ?");
//st = new String("");
Ans = (char)System.in.read();
}while((Ans != 'y') && (Ans != 'Y'));
for (int i = 0; i < n; i++) // initialize Spanning tree array
for (int j = 0; j < n; j++)
if (i == j)
s[i][j] = 0;
else
s[i][j] = 1000;
for (int i = 0; i < n; i++)
nearest[i] = 0;
// For all vertices, initialize vi to be the
// to be the nearest vertex in the set.
distance[i] = w[0];
// initialize the distance from the set
// to be the weight on the edge to v1.
for (int z = 1; z <= n - 1; z++)
min = 1000;
for (int i = 1; i < n; i++) // Check each vertex to see which on is the nearest
if ((distance[i] >= 0) && (distance[i] < min))
min = distance[i];
near = i;
tmp_nearest = nearest[near];
s[near][tmp_nearest] = w[near][tmp_nearest]; //Add it to the set
distance[near] = -1;
for (int i = 1; i < n; i++)
if (w[i][near] < distance[i])
distance[i] = w[i][near]; // Update its distance
nearest[i] = near;
System.out.println();
System.out.println("The minimum spanning tree is :");
for (int x = 0; x < n; x++)
System.out.print(" ");
for (int y = 0; y < n; y++)
if ((s[x][y] >= 100) && (s[x][y] <= 999))
System.out.print(+s[x][y]);
if ((s[x][y] >= 10) && (s[x][y] <= 99))
System.out.print(" "+s[x][y]);
if ((s[x][y] >= 0) && (s[x][y] <= 9))
System.out.print(" "+s[x][y]);
if (s[x][y] == 1000)
System.out.print(" -1");
System.out.println();
System.out.println();

Usen = Integer.parseInt(st.trim());rather than "st" itself. You are forgetting that in DOS (which you are probably using?) the line separator ir \r\n and the \r makes parseInt fail.
I would also suggest making the code a little bit more readable using a BufferedReader to read the whole line as a String for you instead of doing it all yourself...

Similar Messages

  • Where does it goe wrong???

    I just installed iLife 08 an it seems to work okay. Now I finished updates on our websites (www.special-projects.de) and try to reed the blog "Tagebuch".
    I can open it, but I cannot open any of the entries, since iWeb uses the german letter "ä" for "Einträge".
    Now I'm not sure if this is a problem at my server, or a general problem, anyway, is there a way to solve this problem?

    Hello again
    please have a short read at this before (maybe you'll find another solution)
    http://discussions.apple.com/thread.jspa?threadID=1100149&tstart=0
    (especially using Cyberduck FTP seems to work for some of the people)
    If that doesn't work then...
    To change the language of iWeb quit iWeb. Go to the Application Folder, Select iWeb, press "Command(apple)"+"i" go to language and then deselect all languages except the one in which you would like to have the application in. (I guess english would be the only checked). Relaunch iWeb and it will show up in english (while all others application still are german language). A message will pop up and say "Couldn't find german files" (RSS button, Nächster Eintrag button, Vorheriger Eintrag button usw.) so you would have to rebuild your blogs and copy the content text field by textfield (from old german to new english). Once you've done that everything works great and Blogs show up in english and you can publish normally.
    Changing language is also possible by changing the language of the whole user account. This preserves german buttons and so on, it changes new added blogs into english language, and it changes "Einträge" into "Entries" (so you could publish without problems).
    You could also make a new user account for only-iWeb and have it english, transfer your site there so your normal account is still in german and the iWeb account in english. "Einträge" get into "Entries" and new added blogs will be in english (buttons also).
    Regards,
    Cédric
    Message was edited by: Akdream

  • I've just started using the App Tabs. I think this feature could be handy but why are the sites not updated when I start Firefox. Now I have to manually update the site which is somewhat of a downer. Does any of you know where I'm going wrong?

    I've just started using the App Tabs. I think this feature could be handy but why are the sites not updated when I start Firefox. Now I have to manually update the site which is somewhat of a downer. Does any of you know where I'm going wrong?

    To answer the post title FireFox save all downloads automatically in the download folder, which you can find in the Documents folder. If you want to choose where to save your downloads go to tools>options>check always ask me where to save files.
    Secondly, I am assuming you have IE 8 installed as this is the only version that supports this fix that is currently not in beta. Go to control panel>internet options>advanced tab and reset the settings at the bottom. This may or may not fix the problem but it is a good first step.

  • Where does iPhone store back up in Windows?

    Sorry if this is in wrong place.
    Where does the iPhone store the back up in Windows?
    Thanks a ton!

    XP:
    C:\Documents and Settings\USERNAME\Application Data\Apple Computer\MobileSync\Backup
    Vista:
    C:\Users\USERNAME\AppData\Roaming\MobileSync\Backup
    Note that you may have to enable viewing of hidden folders/files.

  • Where does Lion get its usernames? (former Linux user)

    Just some minutes ago, I opened the lid of my Macbook and noticed that something was using the CPU for 50% continuously. When I opened Activity Monitor, the only two CPU-using processes were kernel_task and WindowsServer, but not enough to cover 50%.
    Safari also wouldn't respond. Force-quitting worked, but starting it again would show the window but then result in a spinning beachball of death.
    When I opened the terminal, the prompt said "I have no name!@macbook$ "
    When I typed the command "id", it gave me a user ID (502) but no username!
    After killing all apps and mucking about, the CPU suddenly went back to the normal 3-5% usage, and everything worked fine again.
    Obviously, something went wrong with the process that does the user identification. As a former Linux user, I'd say the user data resides in /etc/passwd but that's not where it's at. Where does Lion get its usernames and passwords?

    OK thanks for the DSCL tip. I've found another thread with the same symptoms:
    https://discussions.apple.com/thread/3663559
    The logs of the opendirectoryd process show that it restarted itself (from /var/log/opendirectoryd.log):
    2012-04-15 13:26:56.346 CEST - Loaded bundle at path .....
    The system logs show a couple of errors from coreservicesd:
    Apr 15 13:03:32 macbook coreservicesd[31]: _scserver_ServerCheckin: client uid validation failure; getpwuid(502) == NULL
    And then thousands of these two lines follow:
    Apr 15 13:03:43 macbook xpchelper[95253]: getpwuid_r() failed for UID: 502, ret: 0, errno: 0
    Apr 15 13:03:43 macbook com.apple.launchd[1] (com.apple.xpchelper.F6010000-0000-0000-0000-000000000000[95253]): Exited with code: 1
    Let's see if it happens again in the future. I'm logging this for reference and Google.

  • New E 550, what kind of SSD and where does it go?

    Sorry if this has been answered already (searched but couldn't find it) but I would like to add an SSD to my new E 550.  I was just going to do a swap out for the regular HDD with an older SSD I had but I found out that my older SSD is too large. So at this point since I need a new one, I was wondering if I could get an SSD that would allow me to keep the HDD as additional storage. Can I get an m2 or msata SSD?  And where does it go exactly?  Any warranty issues?  tks, Ty

    Appreciate the reply! I was hoping that there was a mini-PCIE slot like my older one but I wasn't sure if I could get to it (I opened up the panels underneath and looked to no avail) or if the WAN card was using it. tks again, Ty [Edit]
    Clicked the Maintenance Manual link you provided and found this.  2101 Detection error on HDD1 (Ultrabay HDD) 1. Reseat the hard disk drive. 2. Replace the Ultrabay® hard disk drive. 3. Replace the system board.2102 Detection error on HDD2 (Mini SATA) 1. Reseat the Mini SATA device. 2. Replace the mini SATA device. 3. Replace the system board. Or is this barking up the wrong tree?

  • Where does System.err.println("huh?"); goto?

    Hi. Where does the System.err.println("asdfds"); goto for .class files?
    When I try this for .jsp files, I get an output line in the console,
    expected. :> But when I put it in a class I'm using in that jsp file, I
    don't get anything anywhere, or at least no where I found. Can anyone give
    me an idea of what I'm doing wrong here? I know I can use the Logger, but
    this System.err is just for immediate debugging and I want to pull it out as
    soon as I'm done.
    Thanks for any input.

    I found out what I was doing wrong! :< I was copying the .java file instead
    of the .class file. :< Silly. :< Sorry about that.
    "PeterH" <!REMOVEBeforeSending![email protected]> wrote in message
    news:3c9f48a2$[email protected]..
    Hi. Where does the System.err.println("asdfds"); goto for .class files?
    When I try this for .jsp files, I get an output line in the console,
    expected. :> But when I put it in a class I'm using in that jsp file, I
    don't get anything anywhere, or at least no where I found. Can anyonegive
    me an idea of what I'm doing wrong here? I know I can use the Logger, but
    this System.err is just for immediate debugging and I want to pull it outas
    soon as I'm done.
    Thanks for any input.

  • Where does the Connect Add In live on a Mac these days?

    I installed the wrong one from the downloads site and need to uninstall and reinstall the right one. Where does it live in Mavericks?

    woodhouse1898 wrote:
    I have recently bought a Macbook Pro having previously been familiar with Windows.  ...
    You may find these Links of Interest and value...
    http://www.apple.com/support/switch101/     Switching from PC
    Show me how to set up my Mac.
    http://www.apple.com/support/mac101/

  • CCMS: where does CCMS collects the database space information from?

    Hi,
    We are experiencing a kind of inconsistency in the data that CCMS is collecting for the space tablespaces related MTE's. Here is the thing:
    - RZ20 > SAP CCMS Monitoring Templates > Database :  will show the PSAPSRQ tablespace at 94% (which is wrong)
    - DB02 will show the same tablespace at 88% (which is the correct value)
    - BRSPACE will also show the 88% (the correct value)
    Note that CCMS is do active and collecting (the value is not obsolete as you can actually see the timestamp being updated for the respective used space MTE).
    Do you know why are we seeing this inconsistency? Where does CCMS collect the tablespace information and how often?
    Any ideas or help to avoid this inconsistency will be helpful, as basically CCMS is sending us false alerts/emails.
    Thanks and regards

    Jesus,
    I just came across this issue myself after assuming that I was collecting the correct data.   The problem is that SAP is collecting the column Total Used (%) in DB02 instead of Used (%).   You should see your 94% as reported in CCMS in the Total Used column in DB02.
    What we need is the Used (%) column which is much more critical than the Total Used (%). 
    I have not found an MTE to report this data.    Until then, we have to manually check every server for Tablespace levels instead of in our Central CCMS.
    If you have a solution, please send.
    Thanks,
    Jeff

  • [Mac][JS] Where does InDesign store last "Save As" folder path?

    Is this location accessible to scripting? I've looked around the preferences objects as well as the "Class" properties of the File and Folder objects without finding anything.
    Coming up empty-handed there, I looked through the filesystem for .plist files it might be using. It must be stored in some such place, because the location persists across sessions and survives a trashing of the InDesign Defaults file at ~/Library/Preferences/Adobe InDesign/Version 7.0/en_US/InDesign Defaults. It also seems to write the location to wherever it lives immediately upon a Save As rather than at application close. I've tried discovering the location with lsof but either can't catch it in the act or am missing which of the hundreds of files InDesign has open is the culprit.
    It does not appear to be in com.adobe.InDesign.plist or com.adobe.mediabrowser.plist. There is a path property (NSNavLastRootDirectory) stored in the former file but it's not the one.
    I hope I'm making this more complicated than it is and that it can be accessed in a DOM property somewhere. Does anyone know?
    Jeff

    So you're asking the wrong question. You dont' care "where does InDesign store it," you care "where can I get it?"
    Actually I'd like to set it as well as get it. I would like to integrate with InDesign's expected behavior as much as possible; it would be ideal if, the next time a user did a Save As, it defaulted to the location they had chosen when they ran my script. Little inconsistencies like that drive me batty. It's a small issue and quite likely not worth the time I'm spending on it, but at this point I'm so confused by how InDesign is maintaining these paths that I would like to understand for understanding's sake.
    The InDesign Saved Data cache file you pointed out does indeed contain a lot of paths, and these kinds of save, import and export locations appear to be among them. They jump around in the file a lot, though. If you have any experience parsing this file and can help me look for whatever markers it uses I would be grateful.
    While in my earlier tests I never saw any path property in com.adobe.InDesign.plist but NSNavLastRootDirectory, I have since sometimes seen NSNavLastCurrentDirectory:GetFile:0 and NSNavLastCurrentDirectory:PutFile:0, and these do hold what you would expect. However, all installed versions of InDesign read and write to this file without affecting each other's behavior in this regard. And I haven't been able to figure out yet when InDesign writes or reads the path to its cache file and when it uses the .plist file.
    Complicating things further, it looks to me like calling File.saveDialog() in CS5 brings up the folder in NSNavLastRootDirectory, regardless of what was last chosen during a Save As in the UI, while CS4 respected the last Save As. Using the value in NSNavLastRootDirectory via
    var startFolder = Folder(app.doScript("return (do shell script \"defaults read \" & \"com.adobe.InDesign\" & \" NSNavLastRootDirectory\")",ScriptLanguage.APPLESCRIPT_LANGUAGE))
    will at least allow me to prevent the user from landing in a restricted folder in CS5.

  • Making a simple calc applet.  Where am I going wrong?

    Hi everyone. I'm taking a introductory java class over the summer and so far I've been doing pretty good in it. I've been able to knock out and figure out how to do most of the assignments on my own. But this latest problem is driving me up a wall. I think I might be making it more difficult then it is. I'm supposed to a take a simple calculation program, and then convert it into an applet with new button functionality and text fields. In the applet, there will be two text fields(input and result) and two buttons(Update and Reset). In the first field you put in an operator and a number. Then from there you hit the Update button and the new value is put in the second field.
    For example. The program is defaulted to "0". So you put "+ 9" in the first field, then Hit Update. "9" will now appear in the second field. Go back to the first field and put in "- 3", hit update again and now the second field will go to "6." You can keep doing this all you want. Then when you want to start all over again you hit reset. Its sort of a weird program.
    Here's the original calc program:
    import java.util.Scanner;
    Simple line-oriented calculator program. The class
    can also be used to create other calculator programs.
    public class Calculator
        private double result;
        private double precision = 0.0001; // Numbers this close to zero are
                                           // treated as if equal to zero.
        public static void main(String[] args)
            Calculator clerk = new Calculator( );
            try
                System.out.println("Calculator is on.");
                System.out.print("Format of each line: ");
                System.out.println("operator space number");
                System.out.println("For example: + 3");
                System.out.println("To end, enter the letter e.");
                clerk.doCalculation();
            catch(UnknownOpException e)
                clerk.handleUnknownOpException(e);
            catch(DivideByZeroException e)
                clerk.handleDivideByZeroException(e);
            System.out.println("The final result is " +
                                      clerk.getResult( ));
            System.out.println("Calculator program ending.");
        public Calculator( )
            result = 0;
        public void reset( )
            result = 0;
        public void setResult(double newResult)
            result = newResult;
        public double getResult( )
            return result;
         The heart of a calculator. This does not give
         instructions. Input errors throw exceptions.
        public void doCalculation( ) throws DivideByZeroException,
                                            UnknownOpException
            Scanner keyboard = new Scanner(System.in);
            boolean done = false;
            result = 0;
            System.out.println("result = " + result);
            while (!done)
               char nextOp = (keyboard.next( )).charAt(0);
                if ((nextOp == 'e') || (nextOp == 'E'))
                    done = true;
                else
                    double nextNumber = keyboard.nextDouble( );
                    result = evaluate(nextOp, result, nextNumber);
                    System.out.println("result " + nextOp + " " +
                                       nextNumber + " = " + result);
                    System.out.println("updated result = " + result);
         Returns n1 op n2, provided op is one of '+', '-', '*',or '/'.
         Any other value of op throws UnknownOpException.
        public double evaluate(char op, double n1, double n2)
                      throws DivideByZeroException, UnknownOpException
            double answer;
            switch (op)
                case '+':
                    answer = n1 + n2;
                    break;
                case '-':
                    answer = n1 - n2;
                    break;
                case '*':
                    answer = n1 * n2;
                    break;
                case '/':
                    if ((-precision < n2) && (n2 < precision))
                        throw new DivideByZeroException( );
                    answer = n1 / n2;
                    break;
                default:
                    throw new UnknownOpException(op);
            return answer;
        public void handleDivideByZeroException(DivideByZeroException e)
            System.out.println("Dividing by zero.");
            System.out.println("Program aborted");
            System.exit(0);
        public void handleUnknownOpException(UnknownOpException e)
            System.out.println(e.getMessage( ));
            System.out.println("Try again from the beginning:");
            try
                System.out.print("Format of each line: ");
                System.out.println("operator number");
                System.out.println("For example: + 3");
                System.out.println("To end, enter the letter e.");
                doCalculation( );
            catch(UnknownOpException e2)
                System.out.println(e2.getMessage( ));
                System.out.println("Try again at some other time.");
                System.out.println("Program ending.");
                System.exit(0);
            catch(DivideByZeroException e3)
                handleDivideByZeroException(e3);
    }Here's me trying to make it into an applet with the added button functionality.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.math.*;
    import java.util.*;
    import java.io.*;
    import java.lang.*;
    public class Calculator extends JApplet implements ActionListener
              // Variables declaration. 
               private javax.swing.JPanel jPanel2;
             private javax.swing.JLabel jLabel2;
             private javax.swing.JTextField jTextField1;
             private javax.swing.JLabel jLabel3;
             private javax.swing.JTextField jTextField2;
             private javax.swing.JButton jButton1;
             private javax.swing.JButton jButton2;
             private javax.swing.JTextArea resultArea;
             private Container container;
             // End of variables declaration
         public void init () {
            initComponents();    
            setSize(400, 200);       
        private void initComponents() {
            container = getContentPane();
            container.setLayout( new BorderLayout() );
                // Creating instances of each item 
                jPanel2 = new javax.swing.JPanel();
            jLabel2 = new javax.swing.JLabel();
            jTextField1 = new javax.swing.JTextField();
            jLabel3 = new javax.swing.JLabel();
            jTextField2 = new javax.swing.JTextField();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            resultArea = new javax.swing.JTextArea();
                // End Creation
            // Set text on labels, preferred size can be optional on labels,
                // size should/must be used on text fields.
              // Then each individual item is added to a panel.
            jLabel2.setText("Input =");
            jPanel2.add(jLabel2);
            jTextField1.setText("");
            jTextField1.setPreferredSize(new java.awt.Dimension(65, 20));
            jPanel2.add(jTextField1);
            container.add( jPanel2, BorderLayout.SOUTH);
            jButton1.setText("Update");
                jButton1.addActionListener(this);
                jButton2.setText("Reset");
                jButton2.addActionListener(this);
                container.add(resultArea, BorderLayout.CENTER);
            container.add(jButton1, BorderLayout.WEST);
            container.add(jButton2, BorderLayout.EAST);
                     resultArea.setText("Calculator is on.\n" +
                             "Format of each line: " +
                                             "\noperator space number" +
                             "\nFor example: + 3" +
                                             "\nThen hit Update to compute"+
                             "\nHit Reset to set the result back to zero.");
       private double result;
       private double precision = 0.0001;
       public void actionPerformed(ActionEvent e)
                Calculator clerk = new Calculator( );
            try
                clerk.doCalculation();
                catch(UnknownOpException e2)
                clerk.handleUnknownOpException(e2);
            catch(DivideByZeroException e2)
                clerk.handleDivideByZeroException(e2);
            resultArea.setText("The final result is " + clerk.getResult( )+
                                        "\nCalculator program ending.");
         public Calculator( )
            result = 0;
        public void reset( )
            result = 0;
        public void setResult(double newResult)
            result = newResult;
        public double getResult( )
            return result;
         The heart of a calculator. This does not give
         instructions. Input errors throw exceptions.
        public void doCalculation( ) throws DivideByZeroException,
                                            UnknownOpException
            Scanner keyboard = new Scanner(System.in);
            boolean done = false;
            result = 0;
            resultArea.setText("result = " + result);
            while (!done)
               char nextOp = (keyboard.next( )).charAt(0);
                if ((nextOp == 'e') || (nextOp == 'E'))
                    done = true;
                else
                    double nextNumber = keyboard.nextDouble( );
                    result = evaluate(nextOp, result, nextNumber);
                    resultArea.setText("result " + nextOp + " " + nextNumber + " = " + result+
                                                    "\nupdated result = " + result);
         Returns n1 op n2, provided op is one of '+', '-', '*',or '/'.
         Any other value of op throws UnknownOpException.
        public double evaluate(char op, double n1, double n2)
                      throws DivideByZeroException, UnknownOpException
            double answer;
            switch (op)
                case '+':
                    answer = n1 + n2;
                    break;
                case '-':
                    answer = n1 - n2;
                    break;
                case '*':
                    answer = n1 * n2;
                    break;
                case '/':
                    if ((-precision < n2) && (n2 < precision))
                        throw new DivideByZeroException( );
                    answer = n1 / n2;
                    break;
                default:
                    throw new UnknownOpException(op);
            return answer;
        public void handleDivideByZeroException(DivideByZeroException e)
            resultArea.setText("Dividing by zero."+
                               "\nProgram aborted");
            System.exit(0);
        public void handleUnknownOpException(UnknownOpException e)
            resultArea.setText(e.getMessage( )+
                              "\nTry again from the beginning:");
            try
                resultArea.setText("Calculator is on.\n" +
                             "Format of each line: " +
                                             "\noperator space number" +
                             "\nFor example: + 3" +
                             "\nHit Reset to set the result back to zero.");
                        doCalculation( );
            catch(UnknownOpException e2)
                System.out.println(e2.getMessage( ));
                System.out.println("Try again at some other time.");
                System.out.println("Program ending.");
                System.exit(0);
            catch(DivideByZeroException e3)
                handleDivideByZeroException(e3);
    }I'm not getting any compiling errors or anything and it launches, but it doesn't work at all. I'm sure it has something to do with the calc program and the applet actionevent. I just don't know where to go from there. Can anyone tell me where I'm going wrong? Or even make sense of what I've posted. I know its a lot. I've been looking at this thing for a day now and its killing me. Any help would be greatly appreciated. Thanks.

    This is a mistake
    public void actionPerformed(ActionEvent e)
                Calculator clerk = new Calculator( );
            try
                clerk.doCalculation();You don't want to create a whole new applet every time anyone pushes a button.
    Make whatever changes are neccessary so that you don't have to create a new applet in your actionPerformed

  • Where does my Mail go?

    I have a few Email accounts on my iPhone, Gmail, Exchange, and a couple of regular Email accounts for Domains I own.
    If I send an Email through my Exchange or Gmail accounts, a copy is also available on Gmail on the Web or through Outlook at work in addition to being on my iPhone.
    However, if I send an Email through my iPhone via my own personal Domain Name accounts, there is no record of my ever sending the Email: it's neither on the iPhone Sent Items nor is it on the Web? Where does a copy of it go if I want to re-read it, check it, or resend it?
    Many thanks
    Brian

    My ISP is Earthlink. I have three email addresses. Earthlink has an excellent automatic spam blocker. Very little spam gets through, maybe three or four a week. It has been wrong two or three times in the years it has been active.
    I switched all triangles to point down in Mail. I have looked in every account. The seven emails are nowhere to be found. I have been aware in the week that I have used Mail of a lowering of the amount of emails received daily. But as I was not missing anything important, I paid no attention, too busy setting up my new computer from backup to my crashed G5.

  • Where does the default route come from ?

    Dear All 
    As we know, the edge router in client side gets default route from ISP' edge router. Where does the default route come from in ISP? If the ISP edge router has full route table, it produces there. If not, it comes from its upstream router until full routes table(only BGP). Please correct me if I am wrong. Thank you. 

    Hello.
    While establishing BGP with ISP, there are three options for a client:
    > Default route (used in general) - client router forwards every request (for destination route) to ISP router.
    > Full route - ISP router's complete routing table would be received and maintained in client router.
    > Partial route - Only specific route would be received from ISP (Head office - Branch office scenario)
    ISP generate default route from their peering router that should have full routing table or knowledge of the router having it. A local ISP may generate default to their client and have one received from their upstream or global / larger ISP. Hope this helps.

  • Where does Microsoft office 2011 download updates?

    Where does Microsoft office 2011 download updates?  I am just wondering where microsoft update stores those huge dmg files.  I want to get rid of them to save disc space.

    ...since upgrading from a Macbook pro to a retina pro (with the latest OS) I cannot get Outlook to work, it freezes when I try to add my email accounts info...
    The latest OS is 10.8.2. You've posted in the Lion (OS 10.7.x) forum.
    ...I don't have a clue what can be going wrong, it was all working fine on my macbook pro with Snow Leopard and the same setup is not working with Mountain Lion on the retina, ...The only reason I upgraded from Office 2008 was because I couldn't get it to stop closing down every few seconds with 'a problem'...
    Different operating systems canNOT be the "same setup."
    In my original installation of Office 2011 on a 2007 MBP with OS 10.6.8, I followed the guidelines Tips for a Successful Install. In launching Outlook 2011 for the first time, it recognized that I had Entourage 2004 and I was chose the option to have all the data transferred to Outlook 2011. While that was well over a year ago, I'm fairly certain that I did not need to manually set up my multitude of existing email accounts. Subsequently, I've added new accounts. A couple of months ago, I got a new mid-2012 MBP (non-retina) with OS 10.7.4. I used Pondini's advice , which I found here in the Apple Support Community for OS 10.7, to setup the new MBP from the old MBP with Setup Assistant. Afterwards, I manually installed my applications. I am certain that I did not need to manually setup any email accounts when I launched Outlook 2011.
    That said, if you did not fix the problem that you were experiencing with Office 2008 (and more specifically Entourgage 2008) but migrated that data to your new rMBR, then your problem may lie within the old data. You have not provided information on how you installed Office 2011, if your setup of Outlook is as new or datea ported from Entourage, and what troubleshooting steps you have tried. As Kurt Lang suggested, the Microsoft Community would be best with your specific issues as stated.
    HTH

  • When u import a cd, where does it go ? i need to put on external hard drive

    when u inmport a cd, where does itunes actually put it ? c:\ hard drive ? or where my music is located, on external k:\

    It will put it where ever it is you've told iTunes to put your music. What do you see if you look under Preferences>Advanced?

Maybe you are looking for

  • Printer Update 2.16 Killed Wireless Printing on my Epson SX600FW

    I have been using an Epson SX600FW for several years and I don't remember having a problem with it until I recently allowed Software Update to install Printer Update 2.16 and since then I have been unable to print via wireless. I can still print via

  • How do you change/adjust border width for all the cells in a table created in Pages?

    How do you change/adjust border width for all the cells in a table created in Pages? Note- I am trying to figure out how to create and format tables in the latest version of the Pages app on an iPad air (iOS 8.1.1.1) . Creating tables, adding or remo

  • Need help with photo durations

    I'm building an iMovie for iOS7 project, and need to import about 300 photos. Is there a way to change the default duration (currently 5 seconds) for all the photos in the project? Thanks

  • Processing Application OLAP Error

    Hi Experts, After processing my Conso Application i get this error:   - CubeProcess : Internal error: The operation terminated unsuccessfully. Errors in the OLAP storage engine: The attribute key cannot be found: Table: dbo_tblFactConsolidation, Colu

  • Dump error during CK24  - SAPSQL_ARRAY_INSERT_DUPREC

    Hi SAP Gurus, i am facing problem during the material updation (T.Code CK24). before that i have done the material cost estimation then try to update material master by using t.code CK24. the following dump error occurs: Runtime Errors         SAPSQL