Need help with usage of static functions

Hi,
I tried instantiating objects within static functions as follows: It gives error:
If someone can explain an alternate way of doing things, I would appreciate:
public class C {
* @param args
public static void main(String[] args) {
Y.Fn1();
public class X {
public void Fn2(){
int b=2;
System.out.println("hello");
public class Y {
public static void Fn1()
int a=2;
X obj = new X();
obj.Fn2();
The actual error is:
Cannot make a static referencxe to the nonstatic method Fn2() from the type X Y.java
Need Help : If someone can comment on the following, I would appreciate:
I have a class Session, which has a method ProcessEvent()
public class Session{
public synchronized void processEvent(Event e)
// Processing of the event
// Generate a response for the Event
This Session class is the mainstream code..
Now I want to write a TestClass that will test the main code.
So I have a Test class as below:
public class Test {
public static void sendReq()
// Construct an event and call processEvent Function from the main code
Event ev = new Event();
// Fill the event with parameters
Session sess = new Session();
sess.processEvent(ev);
What I am thinking of doing is: Call the static method in another class called Manager of the mainstream code for test purpose as follows:
public class Manager {
public void somefunction()
//*** Just for test purpose: do the following line **//
Test.sendReq();
I am not sure what I am trying to do will work. I would appreciate if you can comment on that or suggest something that would work for me.
Another thing which I want to do is:
Inside ProcessEvent(), I want to call another static method ParseandValidateResponse() of the TestClass This looks odd, but as long as it works, it would be fine for me because this is only for test purpose.
In this case, I would write,
public class Session{
public synchronized void processEvent(Event e)
// Processing of the event
// Generate a response for the Event
Test.parseandValidateResponse(Response res);
public class Test {
public static void sendReq()
// AS SHOWN PREVIOUSLY
public static void parseandValidateResponse(Response resp)
// validate the response
}

Sorry I thought no one had replied. When I posted here, I missed seeing yr reply. Later just now I saw yr reply It was in the second Page
(Earlier I was looking only in first page by mistake)
Meena

Similar Messages

  • Need help with trim and null function

    Hi all,
    I need help with a query. I use the trim function to get the first three characters of a string. How do I write my query so if a null value occurs in combination with my trim to say 'Null' in my results?
    Thanks

    Hi,
    Thanks for the reply. What am I doing wrong?
    SELECT trim(SUBSTR(AL1.user_data_text,1,3)),NVL
    (AL1.user_data_text,'XX')
    FROM Table
    I want the XX to appear in the same column as the
    trim.The main thing you're doing wrong is not formatting your code. The solution may become obvious if you do.
    What you're saying is:
    SELECT  trim ( SUBSTR (AL1.user_data_text, 1, 3))
    ,       NVL ( AL1.user_data_text, 'XX' )
    FROM    Tablewhich makes it clear that you're SELECTing two columns, when you only want to have one.
    If you want that column to be exactly like the first column you're currently SELECTing, except that when that column is NULL you want it to be 'XX', then you have to apply NVL to that column, like this:
    SELECT  NVL ( trim ( SUBSTR (AL1.user_data_text, 1, 3))
                , 'XX'
    FROM    Table

  • I need help with Analytic Function

    Hi,
    I have this little problem that I need help with.
    My datafile has thousands of records that look like...
    Client_Id Region Countries
    [1] [1] [USA, Canada]
    [1] [2] [Australia, France, Germany]
    [1] [3] [China, India, Korea]
    [1] [4] [Brazil, Mexico]
    [8] [1] [USA, Canada]
    [9] [1] [USA, Canada]
    [9] [4] [Argentina, Brazil]
    [13] [1] [USA, Canada]
    [15] [1] [USA]
    [15] [4] [Argentina, Brazil]
    etc
    My task is is to create a report with 2 columns - Client_Id and Countries, to look something like...
    Client_Id Countries
    [1] [USA, Canada, Australia, France, Germany, China, India, Korea, Brazil, Mexico]
    [8] [USA, Canada]
    [9] [USA, Canada, Argentina, Brazil]
    [13] [USA, Canada]
    [15] [USA, Argentina, Brazil]
    etc.
    How can I achieve this using Analytic Function(s)?
    Thanks.
    BDF

    Hi,
    That's called String Aggregation , and the following site shows many ways to do it:
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    Which one should you use? That depends on which version of Oracle you're using, and your exact requirements.
    For example, is order importatn? You said the results shoudl include:
    CLIENT_ID  COUNTRIES
    1        USA, Canada, Australia, France, Germany, China, India, Korea, Brazil, Mexicobut would you be equally happy with
    CLIENT_ID  COUNTRIES
    1        Australia, France, Germany, China, India, Korea, Brazil, Mexico, USA, Canadaor
    CLIENT_ID  COUNTRIES
    1        Australia, France, Germany, USA, Canada, Brazil, Mexico, China, India, Korea?
    Mwalimu wrote:
    ... How can I achieve this using Analytic Function(s)?The best solution may not involve analytic functions at all. Is that okay?
    If you'd like help, post your best attempt, a little sample data (CREATE TABLE and INSERT statements), the results you want from that data, and an explanation of how you get those results from that data.
    Always say which version of Oracle you're using.
    Edited by: Frank Kulash on Aug 29, 2011 3:05 PM

  • Need help with user defined function

    Hello SDN,
    I need some help with a user-defined function. My source message contains multiple
    generic records (1000 char string), and my target message is 1 header record,
    then multiple generic records.  See description of source and target messages below:
    Source:
      GenericRecordTable 1..unbounded
        Row (1000 char string)
    Target:
      Field1 (char5)
      Field2 (char5)
      Field3 (char5)
      IT_Data
        GenericRecordTable 1..unbounded
          Row (1000 char string)
    Basically, what I need to do in my user defined funtion is to map the first record
    in my source record to the 3 header fields, then map all of the rest of the records
    (starting from line 2) into the GenericRecordTable.
    Can someone please help me with the code for the user defined function(s) for this
    mapping?
    Thank you.

    hi,
    Activities
    1. To create a new user-defined function, in the data-flow editor, choose Create New Function (This
    graphic is explained in the accompanying text), which is located on the lower left-hand side of the
    screen. In the menu, choose Simple Function or Advanced Function.
    2. In the window that appears, specify the attributes of the new function:
    Name
    Technical name of the function. The name is displayed in the function chooser and on the data-flow
    object.
    Description
    Description of how the function is used.
    Cache
    Function type (see above)
    Argument Count
    In this table, you specify the number of input values the function can process, and name them. All
    functions are of type String.
    3. In the window that appears, you can create Java source code:
    a. You can import Java packages to your methods from the Imports input field, by specifying them
    separated by a comma or semi-colon:
    You do not need to import the packages java.lang., java.util., java.io., and java.lang.reflect. since
    all message mappings require these packages and therefore import them. You should be able to
    access standard JDK and J2EE packages of the SAP Web Application Server by simply specifying the
    package under Import. In other words, you do not have to import it as an archive into the Integration
    Repository. You can also access classes of the SAP XML Toolkit, the SAP Java Connector, and the
    SAP Logging Service (see also: Runtime Environment (Java-Mappings)).
    In addition to the standard packages, you can also specify Java packages that you have imported as
    archives and that are located in the same, or in an underlying software component version as the
    message mapping.
    b. Create your Java source text in the editor window or copy source text from another editor.
    4. Confirm with Save and Close.
    5. User-defined functions are limited to the message mapping in which you created the function. To
    save the new function, save the message mapping.
    6. To test the function, use the test environment.
    The new function is now visible in the User-Defined function category. When you select this category,
    a corresponding button is displayed in the function chooser pushbutton bar. To edit, delete, or add the
    function to the data-flow editor, choose the arrow next to the button and select from the list box
    displayed.
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm
    http://java.sun.com/j2se/1.5.0/docs/api/
    /people/krishna.moorthyp/blog/2006/07/29/documentation-html-editor-in-xi
    /people/sap.user72/blog/2006/02/06/xi-mapping-tool-exports
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    UDF -
    http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
    Regards

  • I need help with Creating Key Pairs

    Hello,
    I need help with Creating Key Pairs, I generate key pais with aba provider, but the keys generated are not base 64.
    the class is :
    import java.io.*;
    import java.math.BigInteger;
    import java.security.*;
    import java.security.spec.*;
    import java.security.interfaces.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import au.net.aba.crypto.provider.ABAProvider;
    class CreateKeyPairs {
    private static KeyPair keyPair;
    private static KeyPairGenerator pairGenerator;
    private static PrivateKey privateKey;
    private static PublicKey publicKey;
    public static void main(String[] args) throws Exception {
    if (args.length != 2) {
    System.out.println("Usage: java CreateKeyParis public_key_file_name privete_key_file_name");
    return;
    createKeys();
    saveKey(args[0],publicKey);
    saveKey(args[1],privateKey);
    private static void createKeys() throws Exception {
    Security.addProvider(new ABAProvider());
    pairGenerator = KeyPairGenerator.getInstance("RSA","ABA");
    pairGenerator.initialize(1024, new SecureRandom());
    keyPair = pairGenerator.generateKeyPair();
    privateKey = keyPair.getPrivate();
    publicKey = keyPair.getPublic();
    private synchronized static void saveKey(String filename,PrivateKey key) throws Exception {
    ObjectOutputStream out= new ObjectOutputStream(new FileOutputStream(filename));
    out.writeObject(key);
    out.close();
    private synchronized static void saveKey(String filename,PublicKey key) throws Exception {
    ObjectOutputStream out= new ObjectOutputStream( new FileOutputStream(filename));
    out.writeObject(key);
    out.close();
    the public key is:
    �� sr com.sun.rsajca.JSA_RSAPublicKeyrC��� xr com.sun.rsajca.JS_PublicKey~5< ~��% L thePublicKeyt Lcom/sun/rsasign/p;xpsr com.sun.rsasign.anm����9�[ [ at [B[ bq ~ xr com.sun.rsasign.p��(!g�� L at Ljava/lang/String;[ bt [Ljava/lang/String;xr com.sun.rsasign.c�"dyU�|  xpt Javaur [Ljava.lang.String;��V��{G  xp   q ~ ur [B���T�  xp   ��ccR}o���[!#I����lo������
    ����^"`8�|���Z>������&
    d ����"B��
    ^5���a����jw9�����D���D�)�*3/h��7�|��I�d�$�4f�8_�|���yuq ~
    How i can generated the key pairs in base 64 or binary????
    Thanxs for help me
    Luis Navarro Nu�ez
    Santiago.
    Chile.
    South America.

    I don't use ABA but BouncyCastle
    this could help you :
    try
    java.security.Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
    java.security.KeyPairGenerator kg = java.security.KeyPairGenerator.getInstance("RSA","BC");
    java.security.KeyPair kp = kg.generateKeyPair();
    java.security.Key pub = kp.getPublic();
    java.security.Key pri = kp.getPrivate();
    System.out.println("pub: " + pub);
    System.out.println("pri: " + pri);
    byte[] pub_e = pub.getEncoded();
    byte[] pri_e = pri.getEncoded();
    java.io.PrintWriter o;
    java.io.DataInputStream i;
    java.io.File f;
    o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pub64"));
    o.println(new sun.misc.BASE64Encoder().encode(pub_e));
    o.close();
    o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pri64"));
    o.println(new sun.misc.BASE64Encoder().encode(pri_e));
    o.close();
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.FileReader("d:/pub64"));
    StringBuffer keyBase64 = new StringBuffer();
    String line = br.readLine ();
    while(line != null)
    keyBase64.append (line);
    line = br.readLine ();
    byte [] pubBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
    br = new java.io.BufferedReader(new java.io.FileReader("d:/pri64"));
    keyBase64 = new StringBuffer();
    line = br.readLine ();
    while(line != null)
    keyBase64.append (line);
    line = br.readLine ();
    byte [] priBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
    java.security.KeyFactory kf = java.security.KeyFactory.getInstance("RSA","BC");
    java.security.Key pubKey = kf.generatePublic(new java.security.spec.X509EncodedKeySpec(pubBytes));
    System.out.println("pub: " + pubKey);
    java.security.Key priKey = kf.generatePrivate(new java.security.spec.PKCS8EncodedKeySpec(priBytes));
    System.out.println("pri: " + priKey);
    catch(Exception e)
    e.printStackTrace ();
    }

  • I think I need help with driver (software) settings for D110a

    I think I need help with driver (software) settings for D110a all-in-one
    Product: D110a all-in-one
    OS: Windows XP Professional
    Error messages: None
    Changes before problem appeared: None--new installation
    The quality of photo images (mostly JPG files) in printouts is awful even though the files display beautifully on the PC screen. I am using
    IrfanView software for displaying/printing. As far as I can tell, IrfanView is not the problem.
    When I print the same images on a Deskjet 5150 attached to a different PC also running XP Pro and IrfanView, the quality of the printouts is at
    least acceptable, Some would probably say good or very good.
    It's dificult to explain in words the problem with the printouts. A picture of really pretty vegetables (squashes, tomatoes, watermelon, etc) comes
    out much too red. Moreover, the red, which appears shaded on the screen, seems to be all one shade in the D110a printouts.
    Something similar happens to a view of a huge tree in full leaf. On screen, there are subtle variations in the "greenness" of the leaves. In the
    printout, all green is the same shade. In the same printout, the trunk of the tree is all a single shade of grey. It isn;t even obvious that the
    trunk is a round, solid object.
    I liken the effect to audio that disappears entirely when you lower the volume and gets clipped into square waves in even moderately loud passages.
    I don't know whether the D110a driver software permits adjusting the parameters that appear to be set incorrectly, and if adjustments are possible,
    how I would identify which parameters to adjust, how I would access them, or how I would adjust them. I'm hoping that someone can help. Thanks.
    I forgot to mention that I have used the diagnostic application and it tells me that there are no problems.
    e-mail me at [email protected]

    brazzmonkey wrote:
    Hi everyone,
    I noticed the following message when network starts on my gateway
    Warning: This functionality is deprecated.
    Please refer to /etc/rc.conf on how to define a single wired
    connection, or use a utility such as netcfg.
    Then I realized the way network settings should be written in rc.conf has changed. But I can't figure out how this should be done.
    Currently, my set up is the following (old way):
    INTERFACES=(eth0 eth1)
    eth0="dhcp"
    eth1="eth1 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255"
    ROUTES=(!gateway)
    eth0 is on DHCP because the IP is dynamically assigned my ISP.
    eth1 has a fix IP because it's on the LAN side.
    No problem to use DHCP on eth0 with the new settings.
    But for eth1, I don't know what I am supposed to write for gateway.
    Wiki isn't clear on that one either, and it looks like many articles still refer to the old way.
    Any guidance appreciated, thanks.
    brazzmonkey,
    you can't define 2 interfaces the old way (even though I saw some tricky workaround somewhere in the forums).
    Use, f.e., netcfg:
    Comment your old lines.
    In /etc/rc.conf insert:
    NETWORKS=(Eth0-dhcp Eth1-static)
    DAEMONS=(..... !network @net-profiles ....)
    In /etc/network.d create 2 files:
    First one is named  Eth0-dhcp.
    Contents:
    CONNECTION="ethernet"
    DESCRIPTION="Whatever text"
    INTERFACE=eth0
    HOSTNAME="your hostname"
    IP="dhcp"
    DHCP_TIMEOUT=15
    Second one is named Eth1-static.
    Contents:
    CONNECTION='ethernet'
    DESCRIPTION='whatver'
    INTERFACE='eth1'
    HOSTNAME='hname'
    IP='static'
    ADDR='192.168.0.10'
    GATEWAY='192.168.0.1' # your gateway IP
    DNS=('192.168.0.1') # your DNS server
    The names Eth0-dhcp and Eth1-static are not magic. They just must be the same in rc.conf and in /etc/network.d.
    Hope it helps.
    mektub
    PS: netcfg must be installed.
    Last edited by Mektub (2011-07-20 14:07:05)

  • [SOLVED]Need help with dwm...

    Hi,
    I need help with dwm.I want to apply only 2 patches but everytime when i try i get error... I need xft or pango patch and systray patch.Please help.
    Thanks.
    Last edited by grobar87 (2013-06-01 13:49:55)

    [dejan@archtop dwm-6.0]$ patch < 00-dwm-6.0-buildflags.diff
    patching file config.mk
    [dejan@archtop dwm-6.0]$ patch < dwm-6.0-xft.diff
    patching file dwm.c
    [dejan@archtop dwm-6.0]$ patch < 02-dwm-6.0-systray.diff
    patching file dwm.c
    [dejan@archtop dwm-6.0]$ sudo make clean install
    [sudo] password for dejan:
    cleaning
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2 -DVERSION="6.0" -DXINERAMA -DXFT
    LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama -L/usr/X11R6/lib -lXft
    CC = cc
    creating config.h from config.def.h
    CC dwm.c
    dwm.c: In function ‘keypress’:
    dwm.c:1062:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
    CC -o dwm
    installing executable file to /usr/local/bin
    installing manual page to /usr/local/share/man/man1
    [dejan@archtop dwm-6.0]$
    And here is my config.h:
    /* See LICENSE file for copyright and license details. */
    /* appearance */
    static const char font[] = "Ohsnap";
    static const char normbordercolor[] = "#444444";
    static const char normbgcolor[] = "#222222";
    static const char normfgcolor[] = "#bbbbbb";
    static const char selbordercolor[] = "#005577";
    static const char selbgcolor[] = "#005577";
    static const char selfgcolor[] = "#eeeeee";
    static const unsigned int borderpx = 1; /* border pixel of windows */
    static const unsigned int snap = 32; /* snap pixel */
    static const unsigned int systrayspacing = 2; /* systray spacing */
    static const Bool showsystray = True; /* False means no systray */
    static const Bool showbar = True; /* False means no bar */
    static const Bool topbar = True; /* False means bottom bar */
    /* tagging */
    static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    static const Rule rules[] = {
    /* class instance title tags mask isfloating monitor */
    { "Gimp", NULL, NULL, 0, True, -1 },
    { "Firefox", NULL, NULL, 1 << 8, False, -1 },
    /* layout(s) */
    static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
    static const int nmaster = 1; /* number of clients in master area */
    static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
    static const Layout layouts[] = {
    /* symbol arrange function */
    { "[]=", tile }, /* first entry is default */
    { "><>", NULL }, /* no layout function means floating behavior */
    { "[M]", monocle },
    /* key definitions */
    #define MODKEY Mod1Mask
    #define TAGKEYS(KEY,TAG) \
    { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
    { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
    /* helper for spawning shell commands in the pre dwm-5.0 fashion */
    #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
    /* commands */
    static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
    static const char *termcmd[] = { "uxterm", NULL };
    static Key keys[] = {
    /* modifier key function argument */
    { MODKEY, XK_p, spawn, {.v = dmenucmd } },
    { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
    { MODKEY, XK_b, togglebar, {0} },
    { MODKEY, XK_j, focusstack, {.i = +1 } },
    { MODKEY, XK_k, focusstack, {.i = -1 } },
    { MODKEY, XK_i, incnmaster, {.i = +1 } },
    { MODKEY, XK_d, incnmaster, {.i = -1 } },
    { MODKEY, XK_h, setmfact, {.f = -0.05} },
    { MODKEY, XK_l, setmfact, {.f = +0.05} },
    { MODKEY, XK_Return, zoom, {0} },
    { MODKEY, XK_Tab, view, {0} },
    { MODKEY|ShiftMask, XK_c, killclient, {0} },
    { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
    { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
    { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
    { MODKEY, XK_space, setlayout, {0} },
    { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
    { MODKEY, XK_0, view, {.ui = ~0 } },
    { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
    { MODKEY, XK_comma, focusmon, {.i = -1 } },
    { MODKEY, XK_period, focusmon, {.i = +1 } },
    { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
    { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
    TAGKEYS( XK_1, 0)
    TAGKEYS( XK_2, 1)
    TAGKEYS( XK_3, 2)
    TAGKEYS( XK_4, 3)
    TAGKEYS( XK_5, 4)
    TAGKEYS( XK_6, 5)
    TAGKEYS( XK_7, 6)
    TAGKEYS( XK_8, 7)
    TAGKEYS( XK_9, 8)
    { MODKEY|ShiftMask, XK_q, quit, {0} },
    /* button definitions */
    /* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
    static Button buttons[] = {
    /* click event mask button function argument */
    { ClkLtSymbol, 0, Button1, setlayout, {0} },
    { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
    { ClkWinTitle, 0, Button2, zoom, {0} },
    { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
    { ClkClientWin, MODKEY, Button1, movemouse, {0} },
    { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
    { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
    { ClkTagBar, 0, Button1, view, {0} },
    { ClkTagBar, 0, Button3, toggleview, {0} },
    { ClkTagBar, MODKEY, Button1, tag, {0} },
    { ClkTagBar, MODKEY, Button3, toggletag, {0} },

  • Need help with a currently "in-use" form we want to switch to Adobes hosting service

    Hi, I am in desperate need of help with some issues concerning several forms which we currently use a paid third party (not Adobe) to host and "re-distribute through email"...Somehow I got charged $14.95 for YOUR service, (signed up for a trial, but never used it)..and now I am paying for a year of use of the similar service which Adobe is in control of.  I might want to port my form distribution through Adobe in the hopes of reducing the errors, problems and hassles my customers are experiencing when some of them push our  "submit button". (and I guess I am familiar with these somewhat from reading what IS available in here, and I also know that, Adobe is working to alleviate some of these " submit"  issues, so let's don't start by going backwards, here) I need solutions now for my issues or I can leave it as is, If Adobe's solution will be no better for my end users...
    We used FormsCentral to code these forms and it works for the most part (if the end-user can co-operate, and thats iffy, sometimes), but I need help with how to make it go through your servers (and not the third party folks we use now), Not being cruel or racist here, but your over the phone "support techs" are about horrible & I cannot understand them or work with any of them, so I would definitely need someone who speaks English and can understand the nuances of programming these forms, to please contact me back. (Sorry, but both those attributes will be required to be able to help me, so, no "newbie-interns" or first week trainees are gonna cut it).... If you have anyone who fits the bill on those items and would be willing to help us, please contact me back at your earliest convenience. If we have to communicate here, I will do that & I can submit whatever we need to & to whoever we need to.
    I need to get this right and working for the majority of my users and on any platform and OS.
    You may certainly call me to talk about this, and I have given my number numerous times to your (expletive deleted) time wasting - recording message thingy. So, If it's not available look it up under [email protected]
    (and you will probably get right to me, unlike my and I'm sure most other folks',  "Adobe phone-in experiences")
    Thank You,
    Michael Corman
    VinylCouture
    Phenix City, Alabama  36869

    Well, thanks for writing back...just so you know...I started using Adobe products in 1987, ...yeah...back then...like Illustrator 1 & 9" B&W Macs ...John Warnock's Helvetica's....stuff like that...8.5 x 11 LaserWriters...all that good stuff...I still have some of it working on a mac...much of it was stuff I bought. some stuff I did not...I'm not a big fan of this "cloud" thing Adobe has foisted upon the creatives of the world...which I'm sure you can tell...but the functionality and usefulness of your software can not be disputed, so feel free to do whatever we will continue to pay for, ...I am very impressed with CC PS on the 64 bit PC and perhaps I will end up paying you the stipend that you demand for the other services.
    So  I guess that brings us to our problem.. a few years back and at the height of the recession and near bankruptcy myself,  I was damn lucky and hit on something and began a small arts and crafts supply service to sell my products online to a very "niche market" ...I had a unique product and still sell that product (plus others) online...My website is www.vinylcouture.com...Strange? Yes...but there is a market it seems, for everything now, and this is the market I service...Catagorically, these are 99%+ women that use these "adhesive, sticky backed vinyl products"  to make different "craft items" that are just way too various and numerous to go into... generally older women, women who are computer illiterate for the most part...and all this is irrelevant to my problem, but I want you to have every bit of background on this and especially the demographic we are dealing with, so we can get right to the meat of the problem.
    OK...So about two years ago, I decided to offer a "plain sheet" product of a plain colored "stick back" vinyl... it is available in multiple quantities of packs ( like 5 pieces, 10 pieces, 15 pieces, in a packi  & so on)...and if you are still on my site.. go to any  "GO RIGHT TO OUR ORDER PAGE"  button, scroll down a little...and then to the "PLAIN VINYL" section...you will see the Weebly website order process.) You can back out from here, I think,..but, anyway this product is available in 63 colors + or - a few. So then the problem is,  how do they select their individual colors within that (whatever) pack?... .
    So my initial idea was to enable a "selection form" for these "colors" that would be transmitted to me via email as 'part" of the "order process".. We tried getting our customers to submit a  " a list" ( something my competitiors still do, lol, poor bastards)......but that..is just unbelievable..I can't even begin to tell you what a freakin' nightmare that was...these people cannot even count to 10, much less any higher... figuring out what colors to list and send me... well, lets just say, it wasn't working......I had to figure out a better way...Something had to be done.
    So after thinking this all out,  and yeah...due to my total ignorance, i figured that we could make a form with Live Cycle Designer (Now Forms Central)...(back then something that was bundled with Adobe Acrobat Pro), I believe, and thats what this thing was authored in... and it would be all good...LOL!
    Well not so simple...as you well know, Adobe Acrobat would NOT LET YOU EMAIL anything from itself.....it just wouldn't work (and I know why, and all that hooey), but not being one to take NO for answer,.I started looking for a way to make my little gizmo work.. So I found this company that said they can "hijack" (re-direct actually) the request to email, bypass the wah-wah, and re-transmit it to the proper parties.....for less than $100 a year,  I think...its called http://pdf-fillableforms.com/.
    A nice gentleman named Joseph Silva helped us program the thing to go to his servers and back out. Please dont hassle them...I need them...for now..it basically does work...try it...you should get back a copy of the form that you filled out...good luck however,  if you're on MAC OSX or similar...
    I have included a copy of both of our forms (and feel free to fill it out and play with it)...just put test somewhere on it...(and you must include YOUR email or it will balk)..they are supposed to be mostly identical, except one seems to be twice as large....generating a 1.7 meg file upon submission, while the other one only generates a 600K file or so...thats another issue for another day or maybe you can advise on that also...
    OK so far so good......In our shop, once Grandma buys a 10 pack (or whatever), Only then she gets to the link on her receipt page ro the relevant "selection form" ,(this prevents "Filling and Sending"  with "no order" and "no payment", another early problem we had)... which they can click on and it will usually download and open up on their device if all goes well...Then our little form is supposed to be fillable and is supposed to ADD UP all the quantities, so grandma knows how many she is buying and so forth right on the fly,  and even while she changes her mind..., and IT'S LARGE so grandma can see it, and then it TOTALS it all up for them, ( cause remember, they can NOT add)..,  except there is a programming bug (mouse-click should be a mouse-up probably or something..) which makes you click in the blank spaces to get to a correct TOTAL...about 70-80% of our customers can enable all these features and usually the process completes without problems for them especially on PC's running Windows OS and Acrobat Reader X or XI...at least for most... Unfortunately it is still not the "seamless process" I would like or had envisioned for the other folks out there that do have trouble using our form....  Many folks report to us the following issues that we know of.  First of all it takes too much time to load up...We know its HUGE...is there anyway that you can see, to streamline this thing? I would love for it to be more compact...this really helps on the phones and pads as I'm sure you well know.
    Some just tell us,"it WON'T work"....I believe this is because they are totally out of it and dont even have Adobe Reader on their machine, & don't know how to get it ( yes, we provide the links).....or it's some ancient version....no one can stop this one...
    It almost always generates some kind ( at least one time)  of "error message" which we do warn them about..., telling one,  basically that "Acrobat doesnt even like this happening at all, and it could be detrimental to ones computer files", blah-blah...(this freaks grandma out really bad)...& usually they end up not even trying to send it...  and then I get calls that even you wouldn't believe...& If they DO nut up and push the Red "Submit Form" button, it will usually send the thing to us (and also back to them at the "required email address" they furnished on the form, thats what the folks at the "fillable forms place" do) so, if it's performing it's functions, why it is having to complain?. What are we doing wrong?....and how can I fix it?...Will re-compiling it or saving it as a newer version of "FormsCentral" correct any of these problems ?
    Ok, so that should keep you busy for a minute and we can start out with those problems...but the next thing is, how can I take advantage of YOUR re-direct & hosting services?, And will it get rid of the error messages, and the slowness, and the iOS incompatibilities ? (amazingly,  the last iOS Reader version worked almost OK.. but the newest version doesnt seem to work with my form on my iphone4)  If it will enable any version of the iOS to send my form correctly and more transparently, then it might be worth the money...$14.95 a MONTH you say. hmmmmm...Better be good.
    Another problem is, that I really don't need 5000 forms a month submitted. I think its like 70-100 or less....Got any plans for that?  Maybe I'm just not BIG ENOUGH to use Adobe's services, however in this case, I really don't care whose I do use as long as the product works most correctly for my customers as well as us. Like I said, If I'm doing the best I can, I won't change anything, and still use the other third party, If Adobe has a better solution, then i'm all for that as well. In the meantime, Thanks for any help you can provide on this...
    Michael Corman
    VinylCouture.com
    (706) 326-7911

  • Need help with JTextArea and Scrolling

    import java.awt.*;
    import java.awt.event.*;
    import java.text.DecimalFormat;
    import javax.swing.*;
    public class MORT_RETRY extends JFrame implements ActionListener
    private JPanel keypad;
    private JPanel buttons;
    private JTextField lcdLoanAmt;
    private JTextField lcdInterestRate;
    private JTextField lcdTerm;
    private JTextField lcdMonthlyPmt;
    private JTextArea displayArea;
    private JButton CalculateBtn;
    private JButton ClrBtn;
    private JButton CloseBtn;
    private JButton Amortize;
    private JScrollPane scroll;
    private DecimalFormat calcPattern = new DecimalFormat("$###,###.00");
    private String[] rateTerm = {"", "7years @ 5.35%", "15years @ 5.5%", "30years @ 5.75%"};
    private JComboBox rateTermList;
    double interest[] = {5.35, 5.5, 5.75};
    int term[] = {7, 15, 30};
    double balance, interestAmt, monthlyInterest, monthlyPayment, monPmtInt, monPmtPrin;
    int termInMonths, month, termLoop, monthLoop;
    public MORT_RETRY()
    Container pane = getContentPane();
    lcdLoanAmt = new JTextField();
    lcdMonthlyPmt = new JTextField();
    displayArea = new JTextArea();//DEFINE COMBOBOX AND SCROLL
    rateTermList = new JComboBox(rateTerm);
    scroll = new JScrollPane(displayArea);
    scroll.setSize(600,170);
    scroll.setLocation(150,270);//DEFINE BUTTONS
    CalculateBtn = new JButton("Calculate");
    ClrBtn = new JButton("Clear Fields");
    CloseBtn = new JButton("Close");
    Amortize = new JButton("Amortize");//DEFINE PANEL(S)
    keypad = new JPanel();
    buttons = new JPanel();//DEFINE KEYPAD PANEL LAYOUT
    keypad.setLayout(new GridLayout( 4, 2, 5, 5));//SET CONTROLS ON KEYPAD PANEL
    keypad.add(new JLabel("Loan Amount$ : "));
    keypad.add(lcdLoanAmt);
    keypad.add(new JLabel("Term of loan and Interest Rate: "));
    keypad.add(rateTermList);
    keypad.add(new JLabel("Monthly Payment : "));
    keypad.add(lcdMonthlyPmt);
    lcdMonthlyPmt.setEditable(false);
    keypad.add(new JLabel("Amortize Table:"));
    keypad.add(displayArea);
    displayArea.setEditable(false);//DEFINE BUTTONS PANEL LAYOUT
    buttons.setLayout(new GridLayout( 1, 3, 5, 5));//SET CONTROLS ON BUTTONS PANEL
    buttons.add(CalculateBtn);
    buttons.add(Amortize);
    buttons.add(ClrBtn);
    buttons.add(CloseBtn);//ADD ACTION LISTENER
    CalculateBtn.addActionListener(this);
    ClrBtn.addActionListener(this);
    CloseBtn.addActionListener(this);
    Amortize.addActionListener(this);
    rateTermList.addActionListener(this);//ADD PANELS
    pane.add(keypad, BorderLayout.NORTH);
    pane.add(buttons, BorderLayout.SOUTH);
    pane.add(scroll, BorderLayout.CENTER);
    addWindowListener( new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    public void actionPerformed(ActionEvent e)
    String arg = lcdLoanAmt.getText();
    int combined = Integer.parseInt(arg);
    if (e.getSource() == CalculateBtn)
    try
    JOptionPane.showMessageDialog(null, "Got try here", "Error", JOptionPane.ERROR_MESSAGE);
    catch(NumberFormatException ev)
    JOptionPane.showMessageDialog(null, "Got here", "Error", JOptionPane.ERROR_MESSAGE);
    if ((e.getSource() == CalculateBtn) && (arg != null))
    try{
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 1))
    monthlyInterest = interest[0] / (12 * 100);
    termInMonths = term[0] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 2))
    monthlyInterest = interest[1] / (12 * 100);
    termInMonths = term[1] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 3))
    monthlyInterest = interest[2] / (12 * 100);
    termInMonths = term[2] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    catch(NumberFormatException ev)
    JOptionPane.showMessageDialog(null, "Invalid Entry!\nPlease Try Again", "Error", JOptionPane.ERROR_MESSAGE);
    }                    //IF STATEMENTS FOR AMORTIZATION
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 1))
    loopy(7, 5.35);
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 2))
    loopy(15, 5.5);
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 3))
    loopy(30, 5.75);
    if (e.getSource() == ClrBtn)
    rateTermList.setSelectedIndex(0);
    lcdLoanAmt.setText(null);
    lcdMonthlyPmt.setText(null);
    displayArea.setText(null);
    if (e.getSource() == CloseBtn)
    System.exit(0);
    private void loopy(int lTerm,double lInterest)
    double total, monthly, monthlyrate, monthint, monthprin, balance, lastint, paid;
    int amount, months, termloop, monthloop;
    String lcd2 = lcdLoanAmt.getText();
    amount = Integer.parseInt(lcd2);
    termloop = 1;
    paid = 0.00;
    monthlyrate = lInterest / (12 * 100);
    months = lTerm * 12;
    monthly = amount *(monthlyrate/(1-Math.pow(1+monthlyrate,-months)));
    total = months * monthly;
    balance = amount;
    while (termloop <= lTerm)
    displayArea.setCaretPosition(0);
    displayArea.append("\n");
    displayArea.append("Year " + termloop + " of " + lTerm + ": payments\n");
    displayArea.append("\n");
    displayArea.append("Month\tMonthly\tPrinciple\tInterest\tBalance\n");
    monthloop = 1;
    while (monthloop <= 12)
    monthint = balance * monthlyrate;
    monthprin = monthly - monthint;
    balance -= monthprin;
    paid += monthly;
    displayArea.setCaretPosition(0);
    displayArea.append(monthloop + "\t" + calcPattern.format(monthly) + "\t" + calcPattern.format(monthprin) + "\t");
    displayArea.append(calcPattern.format(monthint) + "\t" + calcPattern.format(balance) + "\n");
    monthloop ++;
    termloop ++;
    public static void main(String args[])
    MORT_RETRY f = new MORT_RETRY();
    f.setTitle("MORTGAGE PAYMENT CALCULATOR");
    f.setBounds(600, 600, 500, 500);
    f.setLocationRelativeTo(null);
    f.setVisible(true);
    }need help with displaying the textarea correctly and the scroll bar please.
    Message was edited by:
    new2this2020

    What's the problem you're having ???
    PS.

  • I need help with shooting in my flash game for University

    Hi there
    Ive tried to make my tank in my game shoot, all the code that is there works but when i push space to shoot which is my shooting key it does not shoot I really need help with this and I would appriciate anyone that could help
    listed below should be the correct code
    //checking if the space bar is pressed and shooting is allowed
    if(evt.keyCode == 32 && shootAllow){
        //making it so the user can't shoot for a bit
        shootAllow = false;
        //declaring a variable to be a new Bullet
        var newBullet:Bullet = new Bullet();
        //changing the bullet's coordinates
        newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
        newBullet.x = tank_mc.x;
        //then we add the bullet to stage
        addChild(newBullet);
    listed below is my entire code
    import flash.display.MovieClip;
        //declare varibles to create mines
    //how much time before allowed to shoot again
    var cTime:int = 0;
    //the time it has to reach in order to be allowed to shoot (in frames)
    var cLimit:int = 12;
    //whether or not the user is allowed to shoot
    var shootAllow:Boolean = true;
    var minesInGame:uint;
    var mineMaker:Timer;
    var cursor:MovieClip;
    var index:int=0;
    var tankMine_mc:MovieClip;
    var antiTankmine_mc:MovieClip;
    var maxHP:int = 100;
    var currentHP:int = maxHP;
    var percentHP:Number = currentHP / maxHP;
    function initialiseMine():void
        minesInGame = 15;
        //create a timer fires every second
        mineMaker = new Timer(6000, minesInGame);
        //tell timer to listen for Timer event
        mineMaker.addEventListener(TimerEvent.TIMER, createMine);
        //start the timer
        mineMaker.start();
    function createMine(event:TimerEvent):void
    //var tankMine_mc:MovieClip;
    //create a new instance of tankMine
    tankMine_mc = new Mine();
    //set the x and y axis
    tankMine_mc.y = 513;
    tankMine_mc.x = 1080;
    // adds mines to stage
    addChild(tankMine_mc);
    tankMine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
    function moveHorizontal(evt:Event):void{
        evt.target.x -= Math.random()*5;
        if (evt.target.x >= stage.stageWidth)
            evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
            removeChild(DisplayObject(evt.target));
    initialiseMine();
        //declare varibles to create mines
    var atmInGame:uint;
    var atmMaker:Timer;
    function initialiseAtm():void
        atmInGame = 15;
        //create a timer fires every second
        atmMaker = new Timer(8000, minesInGame);
        //tell timer to listen for Timer event
        atmMaker.addEventListener(TimerEvent.TIMER, createAtm);
        //start the timer
        atmMaker.start();
    function createAtm(event:TimerEvent):void
    //var antiTankmine_mc
    //create a new instance of tankMine
    antiTankmine_mc = new Atm();
    //set the x and y axis
    antiTankmine_mc.y = 473;
    antiTankmine_mc.x = 1080;
    // adds mines to stage
    addChild(antiTankmine_mc);
    antiTankmine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
    function moveHorizontal_2(evt:Event):void{
        evt.target.x -= Math.random()*10;
        if (evt.target.x >= stage.stageWidth)
            evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
            removeChild(DisplayObject(evt.target));
    initialiseAtm();
    function moveForward():void{
        bg_mc.x -=10;
    function moveBackward():void{
        bg_mc.x +=10;
    var tank_mc:Tank;
    // create a new Tank and put it into the variable
    // tank_mc
    tank_mc= new Tank;
    // set the location ( x and y) of tank_mc
    tank_mc.x=0;
    tank_mc.y=375;
    // show the tank_mc on the stage.
    addChild(tank_mc);
    stage.addEventListener(KeyboardEvent.KEY_DOWN, onMovementKeys);
    //creates the movement
    function onMovementKeys(evt:KeyboardEvent):void
        //makes the tank move by 10 pixels right
        if (evt.keyCode==Keyboard.D)
        tank_mc.x+=5;
    //makes the tank move by 10 pixels left
    if (evt.keyCode==Keyboard.A)
    tank_mc.x-=5
    //checking if the space bar is pressed and shooting is allowed
    if(evt.keyCode == 32 && shootAllow){
        //making it so the user can't shoot for a bit
        shootAllow = false;
        //declaring a variable to be a new Bullet
        var newBullet:Bullet = new Bullet();
        //changing the bullet's coordinates
        newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
        newBullet.x = tank_mc.x;
        //then we add the bullet to stage
        addChild(newBullet);
    if (tank_mc.hitTestObject(antiTankmine_mc))
            //tank_mc.gotoAndPlay("hit");
            currentHP -= 10;
            // remove anti tank mine
            removeChild(antiTankmine_mc);
    if (tank_mc.hitTestObject(tankMine_mc))
            //tank_mc.gotoAndPlay("hit");
            currentHP -= 10;
            // remove anti tank mine
            removeChild(tankMine_mc);
        //var maxHP:int = 100;
    //var currentHP:int = maxHP;
    //var percentHP:Number = currentHP / maxHP;
        //Incrementing the cTime
    //checking if cTime has reached the limit yet
    if(cTime < cLimit){
        cTime ++;
    } else {
        //if it has, then allow the user to shoot
        shootAllow = true;
        //and reset cTime
        cTime = 0;
    function updateHealthBar():void
        percentHP = currentHP / maxHP;
        healthBar.barColor.scaleX = percentHP;
        if(currentHP <= 0)
            currentHP = 0;
            trace("Game Over");
        updateHealthBar();

    USe the trace function to analyze what happens and what fails to happen in the code you showed.  trace the conditional values to see if they are set up to allow a shot when you press the key

  • Need Help With File Matching Records

    I need help with my file matching program.
    Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
    When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
    Here is my following program code:
    // Exercise 14.8: CreateTextFile.java
    // creates a text file
    import java.io.FileNotFoundException;
    import java.lang.SecurityException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class CreateTextFile
      private Formatter output1;  // object used to output text to file
      private Formatter output2;  // object used to output text to file
      // enable user to open file
      public void openTransFile()
        try
          output1 = new Formatter("trans.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          output2 = new Formatter("oldmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openOldMastFile
      // add transaction records to file
      public void addTransactionRecords()
        // object to be written to file
        TransactionRecord record1 = new TransactionRecord();
        Scanner input1 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0) and amount.","? ");
        while (input1.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record1.setAccount(input1.nextInt());    // read account number
            record1.setAmount(input1.nextDouble());  // read amount
            if (record1.getAccount() > 0)
              // write new record
              output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input1.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
            "and amount.","? ");
        } // end while
      } // end method addTransactionRecords
      // add account records to file
      public void addAccountRecords()
        // object to be written to file
        AccountRecord record2 = new AccountRecord();
        Scanner input2 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0), first name, last name and balance.","? ");
        while (input2.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record2.setAccount(input2.nextInt());    // read account number
            record2.setFirstName(input2.next());      // read first name
            record2.setLastName(input2.next());       // read last name
            record2.setBalance(input2.nextDouble());  // read balance
            if (record2.getAccount() > 0)
              // write new record
              output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
                record2.getLastName(), record2.getBalance());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input2.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0),",
            "first name, last name and balance.","? ");
        } // end while
      } // end method addAccountRecords
      // close file
      public void closeTransFile()
        if (output1 != null)
          output1.close();
      } // end method closeTransFile
      // close file
      public void closeOldMastFile()
        if (output2 != null)
          output2.close();
      } // end method closeOldMastFile
    } // end class CreateTextFile--------------------------------------------------------------------------------------------------
    // Exercise 14.8: CreateTextFileTest.java
    // Testing class CreateTextFile
    public class CreateTextFileTest
       // main method begins program execution
       public static void main( String args[] )
         CreateTextFile application = new CreateTextFile();
         application.openTransFile();
         application.addTransactionRecords();
         application.closeTransFile();
         application.openOldMastFile();
         application.addAccountRecords();
         application.closeOldMastFile();
       } // end main
    } // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
    // Exercise 14.8: TransactionRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    public class TransactionRecord
      private int account;
      private double amount;
      // no-argument constructor calls other constructor with default values
      public TransactionRecord()
        this(0,0.0); // call two-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public TransactionRecord(int acct, double amt)
        setAccount(acct);
        setAmount(amt);
      } // end two-argument TransactionRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set amount
      public void setAmount(double amt)
        amount = amt;
      } // end method setAmount
      // get amount
      public double getAmount()
        return amount;
      } // end method getAmount
    } // end class TransactionRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: AccountRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    import org.egan.TransactionRecord;
    public class AccountRecord
      private int account;
      private String firstName;
      private String lastName;
      private double balance;
      // no-argument constructor calls other constructor with default values
      public AccountRecord()
        this(0,"","",0.0); // call four-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public AccountRecord(int acct, String first, String last, double bal)
        setAccount(acct);
        setFirstName(first);
        setLastName(last);
        setBalance(bal);
      } // end four-argument AccountRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set first name
      public void setFirstName(String first)
        firstName = first;
      } // end method setFirstName
      // get first name
      public String getFirstName()
        return firstName;
      } // end method getFirstName
      // set last name
      public void setLastName(String last)
        lastName = last;
      } // end method setLastName
      // get last name
      public String getLastName()
        return lastName;
      } // end method getLastName
      // set balance
      public void setBalance(double bal)
        balance = bal;
      } // end method setBalance
      // get balance
      public double getBalance()
        return balance;
      } // end method getBalance
      // combine balance and amount
      public void combine(TransactionRecord record)
        balance = (getBalance() + record.getAmount()); 
      } // end method combine
    } // end class AccountRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatch.java
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class FileMatch
      private Scanner inTransaction;
      private Scanner inOldMaster;
      private Formatter outNewMaster;
      private Formatter theLog;
      // enable user to open file
      public void openTransFile()
        try
          inTransaction = new Scanner(new File("trans.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          inOldMaster = new Scanner(new File("oldmast.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openOldMastFile
      // enable user to open file
      public void openNewMastFile()
        try
          outNewMaster = new Formatter("newmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openNewMastFile
      // enable user to open file
      public void openLogFile()
        try
          theLog = new Formatter("log.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openLogFile
      // update records
      public void updateRecords()
        TransactionRecord transaction = new TransactionRecord();
        AccountRecord account = new AccountRecord();
        try // read records from file using Scanner object
          System.out.println("Start file matching.");
          while (inTransaction.hasNext() && inOldMaster.hasNext())
            transaction.setAccount(inTransaction.nextInt());     // read account number
            transaction.setAmount(inTransaction.nextDouble());   // read amount
            account.setAccount(inOldMaster.nextInt());     // read account number
            account.setFirstName(inOldMaster.next());      // read first name 
            account.setLastName(inOldMaster.next());       // read last name
            account.setBalance(inOldMaster.nextDouble());  // read balance
            if (transaction.getAccount() == account.getAccount())
              while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
                account.combine(transaction);
                outNewMaster.format("%d %s %s %.2f\n",
                account.getAccount(), account.getFirstName(), account.getLastName(),
                account.getBalance());
                transaction.setAccount(inTransaction.nextInt());     // read account number
                transaction.setAmount(inTransaction.nextDouble());   // read amount
            else if (transaction.getAccount() != account.getAccount())
              outNewMaster.format("%d %s %s %.2f\n",
              account.getAccount(), account.getFirstName(), account.getLastName(),
              account.getBalance());         
              theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
          } // end while
          System.out.println("Finish file matching.");
        } // end try
        catch (NoSuchElementException elementException)
          System.err.println("File improperly formed.");
          inTransaction.close();
          inOldMaster.close();
          System.exit(1);
        } // end catch
        catch (IllegalStateException stateException)
          System.err.println("Error reading from file.");
          System.exit(1);
        } // end catch   
      } // end method updateRecords
      // close file and terminate application
      public void closeTransFile()
        if (inTransaction != null)
          inTransaction.close();
      } // end method closeTransFile
      // close file and terminate application
      public void closeOldMastFile()
        if (inOldMaster != null)
          inOldMaster.close();
      } // end method closeOldMastFile
      // close file
      public void closeNewMastFile()
        if (outNewMaster != null)
          outNewMaster.close();
      } // end method closeNewMastFile
      // close file
      public void closeLogFile()
        if (theLog != null)
          theLog.close();
      } // end method closeLogFile
    } // end class FileMatch-------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatchTest.java
    // Testing class FileMatch
    public class FileMatchTest
       // main method begins program execution
       public static void main( String args[] )
         FileMatch application = new FileMatch();
         application.openTransFile();
         application.openOldMastFile();
         application.openNewMastFile();
         application.openLogFile();
         application.updateRecords();
         application.closeLogFile();
         application.closeNewMastFile();
         application.closeOldMastFile();
         application.closeTransFile();
       } // end main
    } // end class FileMatchTest-------------------------------------------------------------------------------------------------
    Sample data for master file:
    Master file                         
    Account Number            Name                     Balance
    100                            Alan Jones                   348.17
    300                            Mary Smith                    27.19
    500                            Sam Sharp                   0.00
    700                            Suzy Green                   -14.22Sample data for transaction file:
    Transaction file                    Transaction
    Account Number                  Amount
    100                                         27.14
    300                                         62.11
    300                                         83.89
    400                                         100.56
    700                                         80.78
    700                                         1.53
    900                                         82.17  -------------------------------------------------------------------------------------------------
    My FileMatch class program above has bugs in it.
    The correct results for the newmast.txt:
    100  Alan  Jones  375.31
    300  Mary  Smith  173.19
    500  Sam  Sharp  0.00
    700  Suzy Green  68.09The correct results for the log.txt:
    Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
    My results for the newmast.txt:
    100 Alan Jones 375.31
    300 Mary Smith 111.08
    500 Sam Sharp 0.00
    700 Suzy Green -12.69My results for the log.txt
    Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
    I am not sure what is wrong with my code above to make my results different from the correct results.
    Much help is appreciated. Please help.

    From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
    As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
    Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
    Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do.

  • Need help with Template - unbalanced #EndEditable tag

    I am unable to use this template to create a new page and get the "unbalanced #EndEditable tag" error.
    If I open the file independently it looks great - otherwise I get the error.
    Code for internal_students.dwt
    There is an error at line 45, column 79 (absolute position 2188)
    <div id="metanav"><!-- #BeginLibraryItem "/Library/metaNav.lbi" -->
    <p><a href="../Library/contact/index.html">Contact Us</a></p>
    <!-- #EndLibraryItem --></div>
            <div id="navigation">
                <div id="navigation_l">
                    <div id="navigation_r"><!-- #BeginLibraryItem "/Library/mainNav.lbi" --> <ul>
                            <li><a href="../index.html" class="first"><img src="../images/spacer.gif" alt="CAITE Homepage" width="75" height="20" border="0" /></a></li>
                            <li><a href="../about/index.html">About</a></li>
      <li><a href="../news/index.html">News And Events</a></li>
      <li><a href="../educators/index.html">For Educators</a></li>
      <li><a href="../students/index.html">For Students</a></li>
      <li><a href="../industry/index.html" class="last">For Industry</a></li>
                        </ul>
    <!-- #EndLibraryItem --></div>
    I need help with this as the site and templates were created 2/3 years before I arrived on the job.
    Thank you
    Cheryl

    Okay
    - This is on-line page  http://caite.cs.umass.edu/students/index.html
    If you want code from template here it is:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/internal_about.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>CAITE - Commonwealth Alliance for Information Technology Education</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <meta name="Description" content="Commonwealth Alliance for Information Technology Education (CAITE) to design and carry out comprehensive programs that address under representation in information technology (IT) education and the workforce. CAITE will focus on women and minorities in groups that are underrepresented in the Massachusetts innovation economy" />
    <meta name="Keywords" content="Commonwealth Alliance for Information Technology Education CAITE Massachusetts women minorities information technology IT" />
    <meta name="robots" content="all, index, follow" />
    <meta name="revisit-after" content="14 days" />
    <meta name="author" content="Outreach Web Team" />
    <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --><!-- InstanceEndEditable -->
    <link rel="shortcut icon" href="/images/favicon.ico" />
    <script type="text/javascript" src="../scripts/jquery.js"></script>
    <script type="text/javascript" src="../scripts/jquery.easing.js"></script>
    <script type="text/javascript" src="../scripts/jquery.pngfix.js"></script>
    <script language="JavaScript" type="text/JavaScript">
        <!--
        $(document).ready(function() {
            $("img[@src$=png], div#wrapper_l, div#wrapper_r, div#whatsnew").pngfix();
        //-->
    </script>
    <link href="../css/screenstyle.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="../css/printstyle.css" rel="stylesheet" type="text/css" media="print" />
    </head>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <body>  
        <div id="wrapper">
            <div id="metanav"><!-- #BeginLibraryItem "/Library/metaNav.lbi" -->
    <p><a href="../Library/contact/index.html">Contact Us</a></p>
    <!-- #EndLibraryItem --></div>
            <div id="navigation">
                <div id="navigation_l">
                    <div id="navigation_r"><!-- #BeginLibraryItem "/Library/mainNav.lbi" --> <ul>
                            <li><a href="../index.html" class="first"><img src="../images/spacer.gif" alt="CAITE Homepage" width="75" height="20" border="0" /></a></li>
                            <li><a href="../about/index.html">About</a></li>
      <li><a href="../news/index.html">News And Events</a></li>
      <li><a href="../educators/index.html">For Educators</a></li>
      <li><a href="../students/index.html">For Students</a></li>
      <li><a href="../industry/index.html" class="last">For Industry</a></li>
                        </ul>
    <!-- #EndLibraryItem --></div>
                    <!-- end navigation right -->
                </div><!-- end navigation left -->
           </div><!-- end navigation -->
            <div id="wrapper_l">
                <div id="wrapper_r">
                      <div id="innerwrapper">
                        <div id="internalBanner-print"> <h1>Commonwealth Alliance for Information Technology Education (CAITE)</h1></div>
                        <div id="internalBanner"><!-- InstanceBeginEditable name="internalBanner" -->
                          <div class="students-banner">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="125" height="188" align="left" valign="top" id="homeImage"><img src="../images/logo_vertical_small.png" alt="CAITE" width="105" height="188" /></td>
                                <td align="left" valign="top" id="internal-banner-quote"><div id="internalQuote">
                                    <div id="internalQuote-inner">
                                      <p>CAITE designs and carrys out comprehensive programs that address under-representation in information technology (IT).</p>
                                  </div>
                                </div></td>
                              </tr>
                            </table>
                        </div>
                        <!-- InstanceEndEditable --></div> <!-- end banner -->
                        <div id="internalContent">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="317" align="left" valign="top" id="secondary-content">
                                  <!-- InstanceBeginEditable name="SecondaryNav" --><!-- #BeginLibraryItem "/Library/studentNav.lbi" -->
                                  <h3><a href="../students/index.html">For Students</a></h3>
                                  <div id="secondaryNav">
                                    <ul>
                                      <li><a href="http://www.takeITgoanywhere.org" target="_blank">TakeITgoanywhere.org</a></li>
                                    </ul>
    </div><!-- #EndLibraryItem --><!-- InstanceEndEditable -->
                                </td>
                                <td align="left" valign="top" id="contentCell"><!-- InstanceBeginEditable name="mainContent" -->
                                  <h1>For Students</h1>
                                  <p>The University of Massachusetts Amherst is leading a Commonwealth Alliance for Information Technology Education (CAITE) to design and carry out comprehensive programs that address under representation in information technology (IT) education and the workforce. CAITE will focus on women and minorities in groups that are underrepresented in the Massachusetts innovation economy; that is, economically, academically, and socially disadvantaged residents.</p>
                                  <p>The project will pilot a series of outreach programs supported by educational pathways in three regions (one rural, one suburban, and one urban). The project will include work with high school teachers, staff, and counselors. CAITE will identify best practices and disseminate, deploy, extend and institutionalize these best practices statewide and nationally.</p>
                                  <p>Community colleges are the centerpiece of CAITE because of the central role they play in reaching out to underserved populations and in serving as a gateway to careers and further higher education.</p>
                                  <p>This project will build a broad alliance built on its leadership in and partnership with the Commonwealth Information Technology Initiative (CITI), the Boston Area Advanced Technological Education Center (BATEC), regional Louis Stokes Alliances and NSF EGEP programs, and other partnerships and initiatives focused on information technology education and STEM pipeline issues</p>
                                  <p> </p>
                                <!-- InstanceEndEditable --></td>
                              </tr>
                          </table>
                        </div>
                        <div id="alliances">
                              <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td height="30"  align="left" valign="top"><h2><a href="../about/alliances.html">Alliances</a></h2></td>
                                </tr>
                                <tr>
                                  <td  align="center" valign="middle"><!-- #BeginLibraryItem "/Library/AllianceTable.lbi" --><p>
    <table border="0" cellpadding="2" cellspacing="0">
                                    <tr>
                                      <td width="35"  align="center" valign="middle"> </td>
                                      <td  align="center" valign="middle"><a href="http://www.citi.mass.edu/" target="_blank"><img src="../images/logo_citi.jpg" alt="Citi" width="65" height="50"  border="0 /"></a></td>
                                      <td align="center" valign="middle"><a href="http://www.batec.org/index.php" target="_blank"><img src="../images/logo_batec.jpg" alt="BATEC" width="69" height="46" border="0" /></a></td>
                                      <td  align="center" valign="middle"><a href="http://www.nsf.gov/index.jsp" target="_blank"><img src="../images/nsflogo.gif" alt="NSF" width="64" height="65" border="0" ></a></td>
                                      <td  align="center" valign="middle"><a href="http://www.nelsamp.neu.edu/" target="_blank"><img src="../images/nelsamplogo.gif" width="100" border="0"></a></td>
                                      <td  align="center" valign="middle"><p><a href="http://mysite.verizon.net/milnerm/" target="_blank"><img src="../images/umlsamp.png" width="85" height="63" border="0"></a></p>                                  </td>
                                      <td  align="center" valign="middle"><a href="http://www.neagep.org/index.asp" target="_blank"><img src="../images/nealogo.gif" border="0" ></a></td>
      </tr>
                                  </table>
    <!-- #EndLibraryItem --></td>
                                </tr>
                          </table>
                        </div>
                    </div> <!-- end inner wrapper -->
                </div><!-- end wrapper right -->
            </div><!-- end wrapper left -->
            <div id="bottom">
                <div id="bottom_l">
                    <div id="bottom_r"> </div><!-- end bottom right -->
                </div><!-- end bottom left -->
            </div>  <!-- end bottom -->
        </div><!-- end wrapper -->
        <div id="copyright"><!-- #BeginLibraryItem "/Library/copyright.lbi" -->
    <p>Sponsored by CAITE an NSF CISE Broadening Participation in Computing Alliance<br />
    &copy; copyright 2008 <a href="http://www.umass.edu/" target="_blank">University of Massachusetts, Amherst</a></p>
    <font color="#666666"><br>
    </font>
    <p><font color="#666666" size=2>  This material is based upon work supported by the National Science Foundation under Grant No.s NSF-0634412 and NSF-0837739. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.</font> </p>
    <!-- #EndLibraryItem --></div>    
    <!-- end copyright -->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-7435501-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
        </body>
    <!-- InstanceEnd --></html>

  • I need help with my EtreCheck report

    Hi All -
    Thanks for taking the time -
    I NEED HELP WITH MY EtreCheck report
    Problem description:
    running slow
    EtreCheck version: 2.1.8 (121)
    Report generated February 19, 2015 at 3:18:49 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,1
        1 2.6 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 130
    Video Information: ℹ️
        Intel HD Graphics 4000
            Color LCD 1440 x 900
        NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:12:52
    Disk Information: ℹ️
        APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 748.93 GB (362.64 GB free)
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.AmbrosiaSW.AudioSupport (4.1.2 - SDK 10.6) [Click for support]
        [not loaded]    com.sony.filesystem.prodisc_fs (2.3.0) [Click for support]
        [not loaded]    com.sony.protocol.prodisc (2.3.0) [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.versioncueCS3.plist [Click for support]
        [loaded]    com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist [Click for support]
    User Launch Agents: ℹ️
        [failed]    [email protected] [Click for details]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [failed]    com.jdibackup.ZipCloud.autostart.plist [Click for support] [Click for details]
        [loaded]    com.jdibackup.ZipCloud.notify.plist [Click for support]
    User Login Items: ℹ️
        RED Watchdog    Application  (/Applications/REDCINE-X Professional/Utilities/RED Watchdog.app)
        GrowlHelperApp    Application  (/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app)
        GrowlHelperApp    Application  (/Users/[redacted]/Library/PreferencePanes/Growl.prefPane/Contents/Resources/Gr owlHelperApp.app)
        iTunesHelper    UNKNOWN Hidden (missing value)
        QmasterStatusMenu    Application  (/Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app)
        SpyderUtility    Application  (/Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app)
        Spyder3Utility    Application  (/Applications/Datacolor/Spyder3Elite/Spyder3Utility.app)
        Google Drive    Application  (/Applications/Google Drive.app)
        Google Chrome    Application Hidden (/Applications/Google Chrome.app)
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 8.1.0 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        iPhotoPhotocast: Version: 7.0
    User internet Plug-ins: ℹ️
        Google Earth Web Plug-in: Version: 7.0 [Click for support]
    Audio Plug-ins: ℹ️
        DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
        Adobe Version Cue CS3  [Click for support]
        Flash Player  [Click for support]
        Growl  [Click for support]
        REDcode  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            10%    mds
             5%    WindowServer
             0%    Google Drive
             0%    Google Chrome
             0%    fontd
    Top Processes by Memory: ℹ️
        172 MB    Google Chrome
        155 MB    mds_stores
        155 MB    Mail
        103 MB    Google Chrome Helper
        94 MB    Google Drive
    Virtual Memory Information: ℹ️
        4.52 GB    Free RAM
        2.72 GB    Active RAM
        451 MB    Inactive RAM
        895 MB    Wired RAM
        1.30 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 19, 2015, 03:03:40 PM    Self test - passed

    Why Put it off I say ... Here you go Linc
    Start time: 12:05:29 02/20/15
    Revision: 1250
    Model Identifier: MacBookPro9,1
    System Version: OS X 10.10.2 (14C109)
    Kernel Version: Darwin 14.1.0
    Time since boot: 2:42
    UID: 504
    I/O wait time (ms/s)
        kernel_task (UID 0): 39
    Font issues: 263
    Trust settings: admin 4, user 4
    TCP/IP
        Subnet mask: 255.255.252.0
    Listeners
        cupsd: ipp
        nfsd: 1023
        rpc.lockd: 1017
        rpc.rquotad: garcon
        rpc.statd: exp1
        rpcbind: sunrpc
    System caches/logs
        3319 MB: /System/Library/Caches/com.apple.coresymbolicationd/data
    Diagnostic reports
        2015-02-02 Mail crash
        2015-02-04 Spyder3Utility crash
        2015-02-20 Acrobat hang x3
        2015-02-20 Final Cut Pro crash x2
    HID errors: 22
    Kernel log
        Feb 20 10:20:53 Google Chrome He (map: 0xffffff801e1b7c30) triggered DYLD shared region unnest for map: 0xffffff801e1b7c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 10:31:10 ARPT: 3921.321063: MacAuthEvent en1   Auth result for: 00:19:92:35:03:01 Auth request tx failed
        Feb 20 10:41:10 Google Chrome He (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 10:41:14 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 10:41:30 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:20:59 Google Chrome (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a960) triggered DYLD shared region unnest for map: 0xffffff802b72a960, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a3c0) triggered DYLD shared region unnest for map: 0xffffff802b72a3c0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:20:59 Google Chrome He (map: 0xffffff8023819f00) triggered DYLD shared region unnest for map: 0xffffff8023819f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:21:01 Google Chrome He (map: 0xffffff802cdb0e10) triggered DYLD shared region unnest for map: 0xffffff802cdb0e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:21:01 Google Chrome He (map: 0xffffff8022da2e10) triggered DYLD shared region unnest for map: 0xffffff8022da2e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:21:01 Google Chrome He (map: 0xffffff8023819b40) triggered DYLD shared region unnest for map: 0xffffff8023819b40, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
        Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
        Feb 20 11:49:11 Google Chrome (map: 0xffffff802b72a2d0) triggered DYLD shared region unnest for map: 0xffffff802b72a2d0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb0780) triggered DYLD shared region unnest for map: 0xffffff802cdb0780, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63e10) triggered DYLD shared region unnest for map: 0xffffff8022a63e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63c30) triggered DYLD shared region unnest for map: 0xffffff8022a63c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb05a0) triggered DYLD shared region unnest for map: 0xffffff802cdb05a0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63f00) triggered DYLD shared region unnest for map: 0xffffff8022a63f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63690) triggered DYLD shared region unnest for map: 0xffffff8022a63690, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
        Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
        Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
        Feb 20 12:08:01 ARPT: 8890.600067: MacAuthEvent en1   Auth result for: 00:19:92:35:7d:e1 Auth request tx failed
        Feb 20 12:08:01 ARPT: 8890.950534: MacAuthEvent en1   Auth result for: 00:19:92:35:03:01 Auth timed out
    System log
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
        Feb 20 11:25:05 airportd: _handleLinkEvent: WiFi is not powered. Resetting state variables.
        Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
        Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
        Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
        Feb 20 11:28:49 WindowServer: WSBindSurface Invalid surface 723885656 for window 1311
        Feb 20 11:29:13 fseventsd: event logs in /Volumes/WDA_1T/.fseventsd out of sync with volume.  destroying old logs. (461 2 59825)
        Feb 20 11:29:13 fseventsd: log dir: /Volumes/WDA_1T/.fseventsd getting new uuid: UUID
        Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
        Feb 20 11:36:11 WindowServer: _CGXSetWindowHasKeyAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
        Feb 20 11:36:11 WindowServer: _CGXSetWindowHasMainAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
        Feb 20 11:41:24 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[1532]
        Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Feb 20 12:01:17 WindowServer: WSGetSurfaceInWindow Invalid surface 710322265 for window 1327
        Feb 20 12:04:39 fseventsd: implementation_removed_client: did not find client 0x7f9eec210660 for path = '/.docid'
        Feb 20 12:11:28 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[2262]
    Console log
        Feb 15 12:07:08 ReportCrash: Invoking spindump for pid=644 wakeups_rate=158 duration=285 because of excessive wakeups
        Feb 15 12:55:36 ReportCrash: Invoking spindump for pid=754 wakeups_rate=200 duration=225 because of excessive wakeups
        Feb 15 13:59:55 ReportCrash: Invoking spindump for pid=913 wakeups_rate=186 duration=242 because of excessive wakeups
        Feb 15 16:54:59 ReportCrash: Invoking spindump for pid=964 wakeups_rate=188 duration=240 because of excessive wakeups
        Feb 16 10:35:10 ReportCrash: Invoking spindump for pid=1059 wakeups_rate=337 duration=134 because of excessive wakeups
        Feb 16 10:51:21 ReportCrash: Invoking spindump for pid=1080 wakeups_rate=161 duration=280 because of excessive wakeups
        Feb 16 11:59:13 ReportCrash: Invoking spindump for pid=1168 wakeups_rate=243 duration=186 because of excessive wakeups
        Feb 16 12:02:57 ReportCrash: Invoking spindump for pid=1175 wakeups_rate=382 duration=118 because of excessive wakeups
        Feb 16 13:07:53 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.ic.searchinstaller/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 16 13:07:53 nsurlstoraged: ERROR: unable to determine file-system usage for FS-backed cache at /Users/USER/Library/Caches/com.ic.searchinstaller/fsCachedData. Errno=13
        Feb 16 13:22:31 ReportCrash: Invoking spindump for pid=2237 wakeups_rate=326 duration=139 because of excessive wakeups
        Feb 16 14:17:37 ReportCrash: Invoking spindump for pid=2420 wakeups_rate=228 duration=198 because of excessive wakeups
        Feb 16 14:33:29 ReportCrash: Invoking spindump for pid=2438 wakeups_rate=240 duration=188 because of excessive wakeups
        Feb 16 14:46:36 ReportCrash: Invoking spindump for pid=2454 wakeups_rate=305 duration=148 because of excessive wakeups
        Feb 17 12:58:26 ReportCrash: Invoking spindump for pid=2894 wakeups_rate=689 duration=66 because of excessive wakeups
        Feb 17 13:13:41 ReportCrash: Invoking spindump for pid=2914 wakeups_rate=487 duration=93 because of excessive wakeups
        Feb 17 16:54:57 ReportCrash: Invoking spindump for pid=1965 wakeups_rate=162 duration=278 because of excessive wakeups
        Feb 18 13:50:58 ReportCrash: Invoking spindump for pid=3869 wakeups_rate=160 duration=282 because of excessive wakeups
        Feb 19 08:17:10 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 19 14:59:30 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 19 15:04:57 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 19 15:18:06 osascript: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
        Feb 19 16:50:23 ReportCrash: Invoking spindump for pid=3308 wakeups_rate=189 duration=239 because of excessive wakeups
        Feb 20 09:24:49 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
    Daemons
        com.adobe.fpsaud
        com.adobe.versioncueCS3
        com.ambrosiasw.ambrosiaaudiosupporthelper.daemon
        com.apple.watchdogd
    Agents
        [email protected]
        - status: 78
        com.apple.Finder
        - status: -15
        com.google.keystone.user.agent
        com.jdibackup.ZipCloud.autostart
        - status: 1
        com.jdibackup.ZipCloud.notify
        - status: 1
    User login items
        RED Watchdog
        - /Applications/REDCINE-X Professional/Utilities/RED Watchdog.app
        GrowlHelperApp
        - /Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app
        GrowlHelperApp
        - /Users/USER/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelp erApp.app
        iTunesHelper
        - missing value
        QmasterStatusMenu
        - /Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app
        SpyderUtility
        - /Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
        Spyder3Utility
        - /Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
        Google Drive
        - /Applications/Google Drive.app
        Google Chrome
        - /Applications/Google Chrome.app
    Firefox extensions
        Live PageRank
        Web Developer
        Exif Viewer
    iCloud errors
        bird 418
        cloudd 65
    Continuity errors
        sharingd 21
    Restricted files: 335
    Lockfiles: 48
    Contents of /Library/LaunchDaemons/com.adobe.versioncueCS3.plist
        - mod date: Oct 20 14:05:00 2009
        - checksum: 714202969
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>GroupName</key>
        <string>wheel</string>
        <key>Label</key>
        <string>com.adobe.versioncueCS3</string>
        <key>OnDemand</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3d</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>ServiceDescription</key>
        <string>Adobe Version Cue CS3</string>
        <key>UserName</key>
        <string>root</string>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist
        - mod date: Dec 21 11:32:33 2012
        - checksum: 1980407752
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.ambrosiasw.ambrosiaaudiosupporthelper.daemon</string>
        <key>ProgramArguments</key>
        <array>
        <string>/System/Library/Extensions/AmbrosiaAudioSupport.kext/Contents/MacOS/amb rosiaaudiosupporthelper</string>
        </array>
        <key>KeepAlive</key>
        <false/>
        <key>Disabled</key>
        <false/>
        <key>LaunchEvents</key>
        <dict>
        <key>com.apple.iokit.matching</key>
        <dict>
        <key>AmbrosiaAudioSupport</key>
        <dict>
        <key>IOMatchLaunchStream</key>
        <true/>
        <key>IOProviderClass</key>
        <string>com_AmbrosiaSW_AudioSupport</string>
        </dict>
        ...and 4 more line(s)
    Contents of /Library/LaunchDaemons/com.apple.qmaster.qmasterd.plist
        - mod date: Aug 25 21:24:23 2010
        - checksum: 681742547
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.qmaster.qmasterd</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/sbin/qmasterd</string>
        </array>
        <key>OnDemand</key>
        <false/>
        </dict>
        </plist>
    Contents of /private/etc/hosts
        - mod date: Sep 20 11:46:00 2013
        - checksum: 1921340845
        127.0.0.1 localhost
        255.255.255.255 broadcasthost
        ::1             localhost
        fe80::1%lo0 localhost
    Contents of Library/LaunchAgents/[email protected]
        - mod date: Sep 15 12:18:45 2009
        - checksum: 2526625188
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>KeepAlive</key>
        <false/>
        <key>Label</key>
        <string>[email protected]</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>LowPriorityIO</key>
        <true/>
        <key>Nice</key>
        <integer>10</integer>
        <key>ProgramArguments</key>
        <array>
        <string>/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices .framework/Versions/A/Support/CSConfigDotMacCert</string>
        <string>-l</string>
        <string>/Users/USER/Library/Logs/[email protected]</string>
        <string>-u</string>
        <string>@me.com</string>
        <string>-t</string>
        <string>SharedServices</string>
        <string>-s</string>
        </array>
        ...and 4 more line(s)
    Contents of Library/LaunchAgents/com.google.keystone.agent.plist
        - mod date: Nov 28 13:56:29 2014
        - checksum: 3826001454
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.google.keystone.user.agent</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
         <string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
         <string>-runMode</string>
         <string>ifneeded</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>3523</integer>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.autostart.plist
        - mod date: Feb 19 15:00:08 2015
        - checksum: 2356528749
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.jdibackup.ZipCloud.autostart</string>
            <key>ProgramArguments</key>
            <array>
                <string>open</string>
                <string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
                <string>-n</string>
                <string>--args</string>
                <string>9</string>
                <string>-l</string>
            </array>
            <key>StandardOutPath</key>
            <string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
            <key>StandardErrorPath</key>
            <string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
            <key>RunAtLoad</key>
            <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.notify.plist
        - mod date: Feb 19 15:00:08 2015
        - checksum: 1841511774
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.jdibackup.ZipCloud.notify</string>
            <key>ProgramArguments</key>
            <array>
                <string>open</string>
                <string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
                <string>--args</string>
                <string>7</string>
                <string>1</string>
            </array>
            <key>StandardOutPath</key>
            <string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
            <key>StandardErrorPath</key>
            <string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
            <key>StartInterval</key>
            <integer>1200</integer>
            <key>RunAtLoad</key>
            <false/>
        </dict>
        </plist>
    Extensions
        /System/Library/Extensions/AmbrosiaAudioSupport.kext
        - com.AmbrosiaSW.AudioSupport
        /System/Library/Extensions/FAMProtocol.kext
        - com.sony.protocol.prodisc
        /System/Library/Extensions/JMicronATA.kext
        - com.jmicron.JMicronATA
        /System/Library/Extensions/prodisc_fs.kext
        - com.sony.filesystem.prodisc_fs
    Applications
        /Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app
        - com.adobe.distiller
        /Applications/Adobe Acrobat 8 Professional/Acrobat Uninstaller.app
        - com.adobe.Acrobat.Uninstaller
        /Applications/Adobe Acrobat 8 Professional/Adobe Acrobat Professional.app
        - com.adobe.Acrobat.Pro
        /Applications/Adobe Bridge CS3/Bridge CS3.app
        - com.adobe.bridge2
        /Applications/Adobe Device Central CS3/Device Central.app
        - com.adobe.devicecentral.application
        /Applications/Adobe Dreamweaver CS3/Dreamweaver.app
        - com.adobe.dreamweaver-9.0
        /Applications/Adobe Extension Manager/Extension Manager.app
        - com.adobe.ExtensionManager
        /Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app
        - com.macromedia.fireworks
        /Applications/Adobe Flash CS3 Video Encoder/Adobe Flash CS3 Video Encoder.app
        - com.macromedia.FLVEncoder
        /Applications/Adobe Flash CS3/Adobe Flash CS3.app
        - com.adobe.flash-9.0-en_us
        /Applications/Adobe Flash CS3/Players/Debug/Flash Player.app
        - com.macromedia.Flash Player.app
        /Applications/Adobe Flash CS3/Players/Debug/Install Flash Player 9 UB.app
        - com.MindVision.VISEX
        /Applications/Adobe Flash CS3/Players/Flash Player.app
        - com.macromedia.Flash Player.app
        /Applications/Adobe Flash CS3/Players/Release/Flash Player.app
        - com.macromedia.Flash Player.app
        /Applications/Adobe Flash CS3/Players/Release/Install Flash Player 9 UB.app
        - com.MindVision.VISEX
        /Applications/Adobe Help Viewer 1.0.app
        - com.adobe.Adobe Help Viewer
        /Applications/Adobe Help Viewer 1.1.app
        - com.adobe.Adobe Help Viewer
        /Applications/Adobe Illustrator CS3/Adobe Illustrator.app
        - com.adobe.illustrator
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Analyze Documents.localized/Analyze Documents.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Calendar.localized/Make Calendar.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Collect for Output.localized/Collect for Output.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Contact Sheet Demo.localized/Contact Sheets.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Export Flash Animation.localized/Export Flash Animation.app
        - N/A
        /Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Web Gallery.localized/Web Gallery.app
        - N/A
        /Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.app
        - com.adobe.Photoshop
        /Applications/Adobe Premiere Pro CS3/Adobe Premiere Pro CS3.app
        - com.adobe.AdobePremierePro
        /Applications/Adobe Stock Photos CS3/Adobe Stock Photos CS3.app
        - com.adobe.stockphotos-1.5
        /Applications/Audacity/Audacity.app
        - net.sourceforge.audacity
        /Applications/Beak.app
        - com.flyosity.beak
        /Applications/Buzzbird.app
        - org.buzzbird.buzzbird
        /Applications/Celtx.app
        - ca.greyfirst.celtx
        /Applications/Datacolor/Spyder3Elite/Spyder3Elite.app
        - com.datacolor.spyder3elite
        /Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
        - com.datacolor.spyder3utility
        /Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
        - com.datacolor.spyderutility
        /Applications/Disk Inventory X.app
        - com.derlien.DiskInventoryX
        /Applications/Epson Software/Print CD/Print CD.app
        - jp.co.epson.PrintCD2
        /Applications/FileZilla.app
        - de.filezilla
        /Applications/FlashVideo Converter.app
        - com.geovid.
        /Applications/Gorilla Folder/Gorilla Program 4.0.0/Gorilla 4.0.0
        - N/A
        /Applications/HandBrake.app
        - org.m0k.handbrake
        /Applications/Levelator.app
        - org.conversationsnetwork.levelator
        /Applications/OpenOffice.org.app
        - org.openoffice.script
        /Applications/RecBoot.app
        - com.lepidu.RecBoot
        /Applications/Smultron.app
        - org.smultron.Smultron
        /Applications/TouchCopy.app
        - N/A
        /Applications/Uninstall MM Scheduling/Uninstall MM Scheduling.app
        - N/A
        /Applications/Utilities/Adobe Utilities.localized/Adobe Updater5/Adobe Updater.app
        - "com.Adobe.ESD.AdobeUpdaterApplication"
        /Applications/Utilities/Adobe Utilities.localized/ExtendScript Toolkit 2/ExtendScript Toolkit 2.app
        - com.adobe.estoolkit-2.0
        /Applications/Utilities/Bluetooth Firmware Update.app
        - com.apple.updaters.btfirmwareupdate201
        /Applications/Utilities/FAM Driver Tool.app
        - com.sony.famdrivertool
        /Applications/VLC.app
        - org.videolan.vlc
        /Applications/XDCAM Transfer.app
        - com.sony.bprl.xdcamtransfer
        /Applications/YouSendIt Desktop App.app
        - com.yousendit.YouSendIt
        /Applications/YouSendIt.app
        - com.yousendit.YouSendItExpress
        /Applications/gedit.app
        - org.gnome.gedit
        /Applications/iWork '08/Keynote.app
        - com.apple.iWork.Keynote
        /Applications/iWork '08/Numbers.app
        - com.apple.iWork.Numbers
        /Applications/iWork '08/Pages.app
        - com.apple.iWork.Pages
        /Developer/Applications/Utilities/MacPython 2.5/Build Applet.app
        - org.python.buildapplet
        /Developer/Applications/Utilities/Python 2.6/Build Applet.app
        - org.python.buildapplet
        /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileAddressBook.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSafari.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSlideShow.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Preferences.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Web.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/AdSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Contacts.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Game Center.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSafari.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSlideShow.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Preferences.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/TrustMe.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Web.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/WebSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/iPodOut.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/AdSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Contacts.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Game Center~iphone.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSafari.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSlideShow.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Preferences.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/TrustMe.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Web.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/WebSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/iPodOut.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/VoiceOverTouch.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet~ipad.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Camera.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~ipad.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~iphone.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/DataActivation.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~ipad.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~iphone.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSafari.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSlideShow.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Preferences.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/TrustMe.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Web.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/WebSheet.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/iPodOut.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/SpringBoard.app
        - N/A
        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
        - N/A
        /Library/Application Support/Adobe/Adobe Asset Services CS3/AssetServicesCS3.app
        - com.adobe.assetServicesCS3
        /Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3.app
        - com.adobe.versioncueCS3.VersionCueCS3
        /Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3Status.app
        - com.adobe.versioncueCS3.VCStatusMenu
        /Library/Application Support/Adobe/Installers/UUID/Setup.app
        - com.adobe.Installers.Redirector
        /Library/Application Support/Adobe/Installers/R1/Setup.app
        - com.adobe.Installers.Setup
        /Library/Application Support/Intuit/QuickBooks/2007/JHandShake.app
        - com.intuit.JHandShake
        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
        - com.microsoft.silverlight.sllauncher
        /Library/Application Support/ProApps/MIO/RAD/Plugins/ReadMe(Image Handling Library).app
        - jp.co.canon.DocumentLauncher
        /Library/Application Support/iWork '08/iWork Tour.app
        - com.apple.iWorkTour
        /Library/Documentation/User Guides And Information.localized/Apple Hardware Test Read Me.app
        - com.apple.AppleHardwareTestReadMe
        /Library/Printers/EPSON/InkjetPrinter/AutoSetupTool/EPIJAutoSetupTool.app
        - com.epson.ijprinter.EPIJAutoSetupTool
        /Library/Printers/EPSON/InkjetPrinter/Filter/rastertoescp.app
        - com.epson.ijprinter.rastertoescp
        /Library/Printers/EPSON/InkjetPrinter/Utilities/EPSON Printer Utility3.app
        - com.epson.ijprinter.Utility3
        /Library/Printers/hp/Fax/fax.backend
        - com.hp.fax
        /Library/Printers/hp/Fax/rastertofax.filter
        - com.hp.rastertofax
        /Library/Printers/hp/cups/filters/pdftopdf.filter
        - com.hp.print.cups.filter.pdftopdf
        /Users/USER/Documents/iPhone Apps/Archivers/build/Debug-iphonesimulator/Archivers.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Archivers_test/build/Debug-iphonesimulator/Archivers.app
        - N/A
        /Users/USER/Documents/iPhone Apps/DateCell/build/Debug-iphonesimulator/DateCell.app
        - N/A
        /Users/USER/Documents/iPhone Apps/EasyCustomTable/build/Debug-iphonesimulator/EasyCustomTable.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Grids/build/Debug-iphonesimulator/Grids.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphoneos/Metalsmith Suite.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphonesimulator/Metalsmith Suite.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug/Metalsmith Suite.app
        - com.yourcompany.Metalsmith-Suite
        /Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Distrobution-iphoneos/Metalsmith Suite.app
        - N/A
        /Users/USER/Documents/iPhone Apps/Scrolling/build/Debug-iphonesimulator/Scrolling.app
        - N/A
        /Users/USER/Documents/iPhone Apps/UICatalog/build/Debug-iphonesimulator/UICatalog.app
        - N/A
        /Users/USER/Documents/iPhone Apps/WebViewTutorial/build/Debug-iphonesimulator/WebViewTutorial.app
        - N/A
        /Users/USER/Documents/iPhone Apps/XML/build/Debug-iphonesimulator/XML.app
        - N/A
        /Users/USER/Documents/sites/nvrslp.com/dev/the_lab/ns_resize
        - N/A
        /Users/USER/Documents/sites/zoomify/Zoomifyer EZ v3.1/Zoomifyer EZ.app
        - N/A
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_apdfllckaahabafndbhieahigkjlhalf/Default apdfllckaahabafndbhieahigkjlhalf.app
        - com.google.Chrome.app.Default-apdfllckaahabafndbhieahigkjlhalf-internal
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_bepbmhgboaologfdajaanbcjmnhjmhfn/Default bepbmhgboaologfdajaanbcjmnhjmhfn.app
        - com.google.Chrome.app.Default-bepbmhgboaologfdajaanbcjmnhjmhfn-internal
        /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_blpebaehgfgkcmmjjknibibbjacnplim/Default blpebaehgfgkcmmjjknibibbjacnplim.app
        - com.google.Chrome.app.Default-blpebaehgfgkcmmjjknibibbjacnplim-internal
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.2/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/UICatalog.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/WebViewTutorial.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Archivers.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/AnimatedGifExample.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/3.2/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/4.2/Applications/UUID/Spinspiration.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/XML.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/DateCell.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/UICatalog.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Scrolling.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Autoscroll.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Grids.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/TapToZoom.app
        - N/A
        /Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/EasyCustomTable.app
        - N/A
        /Users/USER/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/octoshape/octoshape
        - N/A
    Frameworks
        /Library/Frameworks/REDCODE.Color.framework
        - com.red.redcode.color
        /Users/USER/Library/Frameworks/EWSMac-GC.framework
        - com.eSellerate.EWSMac67108872
    PrefPane
        /Library/PreferencePanes/Flash Player.prefPane
        - com.adobe.flashplayerpreferences
        /Library/PreferencePanes/REDcode.prefPane
        - com.red.prefpanel
        /Library/PreferencePanes/VersionCueCS3.prefPane
        - com.adobe.versioncueCS3.VCPrefPane
        /Users/USER/Library/PreferencePanes/Growl.prefPane
        - com.growl.prefpanel
    Bundles
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ASEFormat.plugin
        - com.adobe.aseformat
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/BMP.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Cineon.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/EPS Parser.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/GIF.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/JPEG2000.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/OpenEXR.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PBM.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PCX.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PNG.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Pixar.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Radiance.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Targa.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/WBMP.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/altiveccore.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/dicom.plugin
        - com.adobe.dicom
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/mmxcore.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/multiprocessor support.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ppccore.plugin
        - null
        /Library/Application Support/Adobe/Adobe Asset Services CS3/Required/Photoshop Adapter.plugin
        - null
        /Library/Application Support/Adobe/Flash Player/Flash Player.plugin
        - com.macromedia.Flash Player.plugin
        /Library/Application Support/Adobe/Plug-Ins/CS3/File Formats/Camera Raw.plugin
        - com.adobe.CameraRaw
        /Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/Versions/2.0/Resources/PlugIns/CFXmlParser.plugin
        - com.hp.dmf.plugins.CFXmlParser
        /Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/

  • Need help with home work see what you got

    1. The MEMBERS table has the phone number broken into three fields:
       CountryCode - e,g., '1' for the United States
       AreaCode - e.g., three digits for the United States
       Phone - e.g., 7 digits, with or without a dash between the first three digits (Exchange) and last four digits (Line)
       Any or all of the fields may be missing (null) or blank or contain only spaces.
       Write a T-SQL statement to concatenate the three fields into a complete phone number
       with the format: CountryCode(AreaCode)Exchange-Line, e.g., 1(816)123-4567
       If no Phone is present, return a blank string.
       If no area code is present, return only the Phone number. Do not return an empty pair of parentheses or the CountryCode.
    2. The PERSON_CAMPAIGN table contains a row for each war/conflict the member served in. A member may have served in multiple conflicts
       For this purpose, each row contains:
       PersonID - unique member identifier
       Campaign - name of war/conflict
       Write a T-SQL statement to return one row per member with all campaigns concatenated into a single field and separated by commas
       E.g., PersonID    Campaigns
             12345678    Global War on Terror, Iraq, Afghanistan
    3. The MEMBER_STATISTICS table contains one row per post.
       For this purpose, each row contains the post's:
       Division - a way of grouping posts by their member size
       Department - the state in which the post is located
       PostNumber - unique post identifier
       Reinstated - count of members whose annual subscription had lapsed for at least two years but who have now subscribed for the current year
       Write a T-SQL statement to determine the top ten posts in each division based on the number of reinstated members, with a minimum of 50 reinstated members.
       Rank them by highest to lowest reinstated count.
       Return their Division, Rank, Department, PostNumber, Reinstated

    I got 3 home work questions think i have the first two need help with the last one please.
    Kinda stuck on #3 hard I can see data not sure witch to sum or count?
    1. The MEMBERS table has the phone number broken into three fields:
       CountryCode - e,g., '1' for the United States
       AreaCode - e.g., three digits for the United States
       Phone - e.g., 7 digits, with or without a dash between the first three digits (Exchange) and last four digits (Line)
       Any or all of the fields may be missing (null) or blank or contain only spaces.
       Write a T-SQL statement to concatenate the three fields into a complete phone number
       with the format: CountryCode(AreaCode)Exchange-Line, e.g., 1(816)123-4567
       If no Phone is present, return a blank string.
       If no area code is present, return only the Phone number. Do not return an empty pair of parentheses or the CountryCode.
    ANSWER******************
    Notes: created a funtion to format the phone 
    Then used the this function in a select to concatenate Phone 
     CREATE FUNCTION dbo.FORMATPHONE (@CountryCode int, @AreCode int, @Phone VARCHAR(14))
    RETURNS VARCHAR(14)
        AS BEGIN
           DECLARE @ReturnPhone VARCHAR(14)
           DECLARE @NewPhone VARCHAR(14)
    -- Note case sets newphone to null if phone null or '' also to see if phone has '-' in it if not inserts into newphone
           case 
                when @Phone is null or @Phone  = ''
                   Then SET @NewPhone = Null
                when @Phone = substring(@Phone,4,1)='-'
          Then SET @NewPhone = @Phone 
           else  
                SET @NewPhone = substring(@Phone,1,3)+'-'+ substring(@Phone,4,4)
           End     
           case 
                when @NewPhone is null then SET @ReturnPhone = @NewPhone            
           elese case
                    when @AreCode is null or @AreCode = '' then SET @ReturnPhone = @NewPhone
                 else 
          SET @ReturnPhone = @CountryCode + '(' + @AreCode + ')' +  @NewPhone
                END
           END
        RETURN @ReturnPhone 
    END
    select dbo.FORMATPHONE(CountryCode,AreCode,Phone)
    from MEMBERS 
    2. The PERSON_CAMPAIGN table contains a row for each war/conflict the member served in. A member may have served in multiple conflicts
       For this purpose, each row contains:
       PersonID - unique member identifier
       Campaign - name of war/conflict
       Write a T-SQL statement to return one row per member with all campaigns concatenated into a single field and separated by commas
       E.g., PersonID    Campaigns
             12345678    Global War on Terror, Iraq, Afghanistan
    ANSWER******************
    SELECT      PersonID,
                STUFF((    SELECT ',' + Campaign AS [text()]
                            FROM PERSON_CAMPAIGN 
                            WHERE (PersonID = Results.ID)
                            FOR XML PATH('') 
                            ), 1, 1, '' )
                AS Campaigns
    FROM  PERSON_CAMPAIGN Results
    3. The MEMBER_STATISTICS table contains one row per post.
       For this purpose, each row contains the post's:
       Division - a way of grouping posts by their member size
       Department - the state in which the post is located
       PostNumber - unique post identifier
       Reinstated - count of members whose annual subscription had lapsed for at least two years but who have now subscribed for the current year
       Write a T-SQL statement to determine the top ten posts in each division based on the number of reinstated members, with a minimum of 50 reinstated members.
       Rank them by highest to lowest reinstated count.
       Return their Division, Rank, Department, PostNumber, Reinstated

  • Need help with calculator project for an assignment...

    Hi all, I please need help with my calculator project that I have to do for an assignment.
    Here is the project's specifications that I need to do"
    """Create a console calculator applicaion that:
    * Takes one command line argument: your name and surname. When the
    program starts, display the date and time with a welcome message for the
    user.
    * Display all the available options to the user. Your calculator must include
    the arithmetic operations as well as at least five scientific operations of the
    Math class.
    -Your program must also have the ability to round a number and
    truncate it.
    -When you multiply by 2, you should not use the '*' operator to perform the
    operation.
    -Your program must also be able to reverse the sign of a number.
    * Include sufficient error checking in your program to ensure that the user
    only enters valid input. Make use of the String; Character, and other
    wrapper classes to help you.
    * Your program must be able to do conversions between decimal, octal and
    hex numbers.
    * Make use of a menu. You should give the user the option to end the
    program when entering a certain option.
    * When the program exits, display a message for the user, stating the
    current time, and calculate and display how long the user used your
    program.
    * Make use of helper classes where possible.
    * Use the SDK to run your program."""
    When the program starts, it asks the user for his/her name and surname. I got the program to ask the user again and again for his/her name and surname
    when he/she doesn't insert anything or just press 'enter', but if the user enters a number for the name and surname part, the program continues.
    Now my question is this: How can I restrict the user to only enter 'letters' (and spaces of course) but allow NO numbers for his/her surname??
    Here is the programs code that I've written so far:
    {code}
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class Project {
         private static String nameSurname = "";     
         private static String num1 = null;
         private static String num2 = null;
         private static String choice1 = null;
         private static double answer = 0;
         private static String more;
         public double Add() {
              answer = (Double.parseDouble(num1) + Double.parseDouble(num2));
              return answer;
         public double Subtract() {
              answer = (Double.parseDouble(num1) - Double.parseDouble(num2));
              return answer;
         public double Multiply() {
              answer = (Double.parseDouble(num1) * Double.parseDouble(num2));
              return answer;
         public double Divide() {
              answer = (Double.parseDouble(num1) / Double.parseDouble(num2));
              return answer;
         public double Modulus() {
              answer = (Double.parseDouble(num1) % Double.parseDouble(num2));
              return answer;
         public double maximumValue() {
              answer = (Math.max(Double.parseDouble(num1), Double.parseDouble(num2)));
              return answer;
         public double minimumValue() {
              answer = (Math.min(Double.parseDouble(num1), Double.parseDouble(num2)));
              return answer;
         public double absoluteNumber1() {
              answer = (Math.abs(Double.parseDouble(num1)));
              return answer;
         public double absoluteNumber2() {
              answer = (Math.abs(Double.parseDouble(num2)));
              return answer;
         public double Squareroot1() {
              answer = (Math.sqrt(Double.parseDouble(num1)));
              return answer;
         public double Squareroot2() {
              answer = (Math.sqrt(Double.parseDouble(num2)));
              return answer;
         public static String octalEquivalent1() {
              int iNum1 = Integer.parseInt(num1);
    String octal1 = Integer.toOctalString(iNum1);
    return octal1;
         public static String octalEquivalent2() {
              int iNum2 = Integer.parseInt(num2);
              String octal2 = Integer.toOctalString(iNum2);
              return octal2;
         public static String hexadecimalEquivalent1() {
              int iNum1 = Integer.parseInt(num1);
              String hex1 = Integer.toHexString(iNum1);
              return hex1;
         public static String hexadecimalEquivalent2() {
              int iNum2 = Integer.parseInt(num2);
              String hex2 = Integer.toHexString(iNum2);
              return hex2;
         public double Round1() {
              answer = Math.round(Double.parseDouble(num1));
              return answer;
         public double Round2() {
              answer = Math.round(Double.parseDouble(num2));
              return answer;
              SimpleDateFormat format1 = new SimpleDateFormat("EEEE, dd MMMM yyyy");
         Date now = new Date();
         SimpleDateFormat format2 = new SimpleDateFormat("hh:mm a");
         static Date timeIn = new Date();
         public static long programRuntime() {
              Date timeInD = timeIn;
              long timeOutD = System.currentTimeMillis();
              long msec = timeOutD - timeInD.getTime();
              float timeHours = msec / 1000;
                   return (long) timeHours;
         DecimalFormat decimals = new DecimalFormat("#0.00");
         public String insertNameAndSurname() throws IOException{
              boolean inputCorrect = false;
                   while (inputCorrect == false) {
                        while (nameSurname == null || nameSurname.length() == 0) {
                             for (int i = 0; i < nameSurname.length(); i++) {
                             if ((nameSurname.charAt(i) > 'a') && (nameSurname.charAt(i) < 'Z')){
                                       inputCorrect = true;
                        else{
                        inputCorrect = false;
                        break;
                        try {
                             BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in));
                             System.out.print("Please enter your name and surname: ");
                             nameSurname = inStream.readLine();
                             inputCorrect = true;
                        }catch (IOException ex) {
                             System.out.println("You did not enter your name and surname, " + nameSurname + " is not a name, please enter your name and surname :");
                             inputCorrect = false;
                        System.out.println("\nA warm welcome " + nameSurname + " ,todays date is: " + format1.format(now));
                        System.out.println("and the time is now exactly " + format2.format(timeIn) + ".");
                        return nameSurname;
              public String inputNumber1() throws IOException {
              boolean inputCorrect = false;
                   while (inputCorrect == false) {
                        try {
                             BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
                             System.out.print("\nPlease enter a number you want to do a calculation with and hit <ENTER>: ");
                             num1 = br.readLine();
                             double number1 = Double.parseDouble(num1);
                             System.out.println("\nThe number you have entered is: " + number1);
                             inputCorrect = true;
                        } catch (NumberFormatException nfe) {
                             System.out.println("\nYou did not enter a valid number: " + "\""+ num1 + "\" is not a number!!");
                             inputCorrect = false;
                        return num1;
         public String calculatorChoice() throws IOException {
              System.out.println("Please select an option of what you would like to do with this number from the menu below and hit <ENTER>: ");
              System.out.println("\n*********************************************");
              System.out.println("---------------------------------------------");
              System.out.println("Please select an option from the list below: ");
              System.out.println("---------------------------------------------");
              System.out.println("1 - Add");
              System.out.println("2 - Subtract");
              System.out.println("3 - Multiply");
              System.out.println("4 - Divide (remainder included)");
              System.out.println("5 - Maximum and minimum value of two numbers");
              System.out.println("6 - Squareroot");
              System.out.println("7 - Absolute value of numbers");
              System.out.println("8 - Octal and Hexadecimal equivalent of numbers");
              System.out.println("9 - Round numbers");
              System.out.println("0 - Exit program");
              System.out.println("**********************************************");
              boolean inputCorrect = false;
                   while (inputCorrect == false) {
                        try {
                             BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in));
                             System.out.print("Please enter your option and hit <ENTER>: ");
                             choice1 = inStream.readLine();
                             int c1 = Integer.parseInt(choice1);
                             System.out.println("\nYou have entered choice number: " + c1);
                             inputCorrect = true;
                        } catch (NumberFormatException nfe) {
                             System.out.println("You did not enter a valid choice number: " + "\""+ choice1 + "\" is not in the list!!");
                             inputCorrect = false;
                        return choice1;
         public String inputNumber2() throws IOException {
              boolean inputCorrect = false;
                   while (inputCorrect == false) {
                        try {
                             BufferedReader br2 = new BufferedReader (new InputStreamReader(System.in));
                             System.out.print("\nPlease enter another number you want to do the calculation with and hit <ENTER>: ");
                             num2 = br2.readLine();
                             double n2 = Double.parseDouble(num2);
                             System.out.println("\nThe second number you have entered is: " + n2);
                             System.out.println("\nYour numbers are: " + num1 + " and " + num2);
                             inputCorrect = true;
                        } catch (NumberFormatException nfe) {
                             System.out.println("You did not enter a valid number: " + "\""+ num2 + "\" is not a number!!");
                             inputCorrect = false;
                        return num2;
         public int Calculator() {
              int choice2 = (int) Double.parseDouble(choice1);
              switch (choice2) {
                        case 1 :
                             Add();
                             System.out.print("The answer of " + num1 + " + " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 2 :
                             Subtract();
                             System.out.print("The answer of " + num1 + " - " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 3 :
                             Multiply();
                             System.out.print("The answer of " + num1 + " * " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 4 :
                             Divide();
                             System.out.print("The answer of " + num1 + " / " + num2 + " is: " + decimals.format(answer));
                             Modulus();
                             System.out.print(" and the remainder is " + decimals.format(answer));
                             break;
                        case 5 :
                             maximumValue();
                             System.out.println("The maximum number between the numbers " + num1 + " and " + num2 + " is: " + decimals.format(answer));
                             minimumValue();
                             System.out.println("The minimum number between the numbers " + num1 + " and " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 6 :
                             Squareroot1();
                             System.out.println("The squareroot of value " + num1 + " is: " + decimals.format(answer));
                             Squareroot2();
                             System.out.println("The squareroot of value " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 7 :
                             absoluteNumber1();
                             System.out.println("The absolute number of " + num1 + " is: " + decimals.format(answer));
                             absoluteNumber2();
                             System.out.println("The absolute number of " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 8 :
                             octalEquivalent1();
                             System.out.println("The octal equivalent of " + num1 + " is: " + octalEquivalent1());
                             octalEquivalent2();
                             System.out.println("The octal equivalent of " + num2 + " is: " + octalEquivalent2());
                             hexadecimalEquivalent1();
                             System.out.println("\nThe hexadecimal equivalent of " + num1 + " is: " + hexadecimalEquivalent1());
                             hexadecimalEquivalent2();
                             System.out.println("The hexadecimal equivalent of " + num2 + " is: " + hexadecimalEquivalent2());
                             break;
                        case 9 :
                             Round1();
                             System.out.println("The rounded number of " + num1 + " is: " + decimals.format(answer));
                             Round2();
                             System.out.println("The rounded number of " + num2 + " is: " + decimals.format(answer));
                             break;
                        case 0 :
                             if (choice2 == 0) {
                                  System.exit(1);
                             break;
                   return choice2;
              public String anotherCalculation() throws IOException {
                   boolean inputCorrect = false;
                   while (inputCorrect == false) {
                             try {                              
                                  BufferedReader br3 = new BufferedReader (new InputStreamReader(System.in));
                                  System.out.print("\nWould you like to do another calculation? Y/N ");
                                  more = br3.readLine();
                                  String s1 = "y";
                                  String s2 = "Y";
                                  if (more.equals(s1) || more.equals(s2)) {
                                       inputCorrect = true;
                                       while (inputCorrect = true){
                                            inputNumber1();
                                            System.out.println("");
                                            calculatorChoice();
                                            System.out.println("");
                                            inputNumber2();
                                            System.out.println("");
                                            Calculator();
                                            System.out.println("");
                                            anotherCalculation();
                                            System.out.println("");
                                            inputCorrect = true;
                                  } else {
                                       System.out.println("\n" + nameSurname + " thank you for using this program, you have used this program for: " + decimals.format(programRuntime()) + " seconds");
                                       System.out.println("the program will now exit, Goodbye.");
                                       System.exit(0);
                             } catch (IOException ex){
                                  System.out.println("You did not enter a valid answer: " + "\""+ more + "\" is not in the list!!");
                                  inputCorrect = false;
              return more;
         public static void main(String[] args) throws IOException {
              Project p1 = new Project();
              p1.insertNameAndSurname();
              System.out.println("");
              p1.inputNumber1();
              System.out.println("");
              p1.calculatorChoice();
              System.out.println("");
              p1.inputNumber2();
              System.out.println("");
              p1.Calculator();
                   System.out.println("");
                   p1.anotherCalculation();
                   System.out.println("");
    {code}
    *Can you please run my code for yourself and have a look at how this program is constructed*
    *and give me ANY feedback on how I can better this code(program) or if I've done anything wrong from your point of view.*
    Your help will be much appreciated.
    Thanks in advance

    Smirre wrote:
    Now my question is this: How can I restrict the user to only enter 'letters' (and spaces of course) but allow NO numbers for his/her surname??You cannot restrict the user. It is a sad fact in programming that the worst bug always sits in front of the Computer.
    What you could do is checking the input string for numbers. If it contains numbers, just reprompt for the Name.
    AND you might want to ask yourself why the heck a calculator needs to know the users Name.

Maybe you are looking for