Need Help on Interchangability of Parts

I bought this
http://cgi.ebay.ca/ws/eBayISAPI.dll?ViewItem&item=350044256916&ssPage...
It arrived with a bad screen.
While looking on EBAY I saw this:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=360041440689&ssPag...
My bad screen one good CD ROM unit and other parts this one is
missing. Would they be interchangable.?. Mine has a smaller screen so
I wonder if the whole unit is smaller than this 2nd one

Atlantic,
You bought a Powerbook G3 Series M4753 "Wallstreet" with a 13" display and 250MHz CPU.
The model you are considering is a different family, the Powerbook G3 Series Bronze Keyboard M5343 "Lombard" with a 333MHz CPU. The displays are not interchangeable.
http://docs.info.apple.com/article.html?artnum=24604
If the seller had a minimum guarantee of 30 days or whatever, I would return it. If that is not possible, I would look for another Wallstreet with a working 14" display. There is a known problem with the 13" display, so you might see if this works: This display has a known problem with the display cable; a poorly designed connector at the end of the cable which connects to the LCD causes various screen anomalies. Try gently squeezing the left vertical screen bezel (the black frame, with thumb on the front, four fingers on the back) on the upper half of the bezel, with the powerbook turned on. If you notice a change, this may be your problem.

Similar Messages

  • I need help in the filereader part 2

    my loop doesn't stop...i cant fix it..please help me
    public static void main(String[] args) throws FileNotFoundException{
         int howMany=0;
              int[] numbers;
              Scanner inFile = new Scanner(new FileReader("sum.txt"))/*.useDelimiter("\\s*,\\s*")*/;
         while(inFile.hasNextInt()){
                   howMany++;
         System.out.println(""+howMany);
         inFile.close();
    the textfile is
    7 3 8 8 1 0 2 7 4 4 4 5 2 6 5
    i need help badly

    i got it...sorry misunderstood what you said...my problem now is that...when i use the delimiter and try to read the file again...it prints 0....the text file is
    7
    3,8
    8,1,0
    2,7,4,4
    4,5,2,6,5
    i dont know what happened this time...it cant even read the first integer

  • Need help finding the Motherboard parts number on Ideacentre B520

    Hi guys,
    I'm currently repairing an ideacentre B520 for a customer and need to have the MB parts # to have the parts ordered. 
    i've found a white sticker with somes number on it but I don't know which one is the MB parts number.
    Here the number:
    27*939530*126
    1a*2
    4*mfg: 1*2 (in bold)
    PL*00:u0* (in bold)
    46*9ae9*l01
    and the last one on another sticker.
    MB            11s1*013462z*0mP17*043  A*<
    (I've put somes * instead of caracters on purspose.
    Thanks

    Hi,
    The Motherboard part number starts with 11......
    If you download the Hardware Maintenance Manual from the Lenovo Support site, all the part numbers are there, as well as removal instructions.
    Good luck!
    CB2011

  • Need help to get serial part working

    i use this lap top to tune my race car because it has the serial port. every time i tun on my laptop i get " Your network adapter SMC IrCC (Infraded Communications Controller) (0007) is not working properly. You may need to set it up again. For more Information, see Network Troubleshooter in Windows Help." i have tried to look for the help and have tried to solved the problem but, i still get the same message when i start up the laptop. any help will be great.
    thank

    You said serial port, the nine pin port on the computer?  If so then just disable the infared port on the computer as most people don't use these.  Just get into Device manager on your computer through control panel, System.
    If you need the IRDA, infared port, then just try reloading drivers for it, or try rolling back the drivers. If you need mroe help then whatversion of windows are you running and what do you need help with?
    This signature left intentionally blank.

  • Need help with Inventory program part 6

    if any one can help or give me a clue to how to do this Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an item number one more than the previous last item.
    ? Add a Save button to the GUI that saves the inventory to a C:\data\inventory.dat file.
    ? Use exception handling to create the directory and file if necessary.
    ? Add a search button to the GUI that allows the user to search for an item in the inventory by the product name. If the product is not found, the GUI should display an appropriate message. If the product is found, the GUI should display that product?s information in the GUI.
    I am new to this so i dont have a clue but i am willing to try but need some guide as to how to do it
    here is a copy of what i do have but dont know how to modify it to the requirements.
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    public class Inventory2
    static int dispProd = 0; // variable for actionEvents
    //main method begins execution of java application
    public static void main(final String args[])
    int i; // varialbe for looping
    double total = 0; // variable for total inventory
    // Instantiate a product object
    final ProductAdd[] nwProduct = new ProductAdd[5];
    // Instantiate objects for the array
    for (i=0; i<5; i++)
    nwProduct[0] = new ProductAdd("Paper", 101, 10, 1.00, "Box");
    nwProduct[1] = new ProductAdd("Pen", 102, 10, 0.75, "Pack");
    nwProduct[2] = new ProductAdd("Pencil", 103, 10, 0.50, "Pack");
    nwProduct[3] = new ProductAdd("Staples", 104, 10, 1.00, "Box");
    nwProduct[4] = new ProductAdd("Clip Board", 105, 10, 3.00, "Two Pack");
    for (i=0; i<5; i++)
    total += nwProduct.length; // calculate total inventory cost
    final JButton firstBtn = new JButton("First"); // first button
    final JButton prevBtn = new JButton("Previous"); // previous button
    final JButton nextBtn = new JButton("Next"); // next button
    final JButton lastBtn = new JButton("Last"); // last button
    final JLabel label; // logo
    final JTextArea textArea; // text area for product list
    final JPanel buttonJPanel; // panel to hold buttons
    //JLabel constructor for logo
    Icon logo = new ImageIcon("C:/logo.jpg"); // load logo
    label = new JLabel(logo); // create logo label
    label.setToolTipText("Company Logo"); // create tooltip
    buttonJPanel = new JPanel(); // set up panel
    buttonJPanel.setLayout( new GridLayout(1, 4)); //set layout
    // add buttons to buttonPanel
    buttonJPanel.add(firstBtn);
    buttonJPanel.add(prevBtn);
    buttonJPanel.add(nextBtn);
    buttonJPanel.add(lastBtn);
    textArea = new JTextArea(nwProduct[3]+"\n"); // create textArea for product display
    // add total inventory value to GUI
    textArea.append("\nTotal value of Inventory "+new java.text.DecimalFormat("$0.00").format(total)+"\n\n");
    textArea.setEditable(false); // make text uneditable in main display
    JFrame invFrame = new JFrame(); // create JFrame container
    invFrame.setLayout(new BorderLayout()); // set layout
    invFrame.getContentPane().add(new JScrollPane(textArea), BorderLayout.CENTER); // add textArea to JFrame
    invFrame.getContentPane().add(buttonJPanel, BorderLayout.SOUTH); // add buttons to JFrame
    invFrame.getContentPane().add(label, BorderLayout.NORTH); // add logo to JFrame
    invFrame.setTitle("Office Min Inventory"); // set JFrame title
    invFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // termination command
    //invFrame.pack();
    invFrame.setSize(400, 400); // set size of JPanel
    invFrame.setLocationRelativeTo(null); // set screem location
    invFrame.setVisible(true); // display window
    // assign actionListener and actionEvent for each button
    firstBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    dispProd = 0;
    textArea.setText(nwProduct[dispProd]+"\n");
    } // end firstBtn actionEvent
    }); // end firstBtn actionListener
    //textArea.setText(nwProduct[4]+"n");
    prevBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    dispProd--;
    if (dispProd < 0)
    dispProd = 0;
    //dispProd = (nwProduct.length+dispProd-1) % nwProduct.length;
    textArea.setText(nwProduct[dispProd]+"\n");
    } // end prevBtn actionEvent
    }); // end prevBtn actionListener
    lastBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    dispProd = nwProduct.length-1;
    textArea.setText(nwProduct[dispProd]+"\n");
    } // end lastBtn actionEvent
    }); // end lastBtn actionListener
    nextBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    dispProd++;
    if (dispProd >= nwProduct.length)
    dispProd = nwProduct.length-1;
    textArea.setText(nwProduct[dispProd]+"\n");
    } // end nextBtn actionEvent
    }); // end nextBtn actionListener
    } // end main
    } // end class Inventory2
    class Product
    protected String prodName; // name of product
    protected int itmNumber; // item number
    protected int units; // number of units
    protected double price; // price of each unit
    protected double value; // value of total units
    public Product(String name, int number, int unit, double each) // Constructor for class Product
    prodName = name;
    itmNumber = number;
    units = unit;
    price = each;
    } // end constructor
    public void setProdName(String name) // method to set product name
    prodName = name;
    public String getProdName() // method to get product name
    return prodName;
    public void setItmNumber(int number) // method to set item number
    itmNumber = number;
    public int getItmNumber() // method to get item number
    return itmNumber;
    public void setUnits(int unit) // method to set number of units
    units = unit;
    public int getUnits() // method to get number of units
    return units;
    public void setPrice(double each) // method to set price
    price = each;
    public double getPrice() // method to get price
    return price;
    public double calcValue() // method to set value
    return units * price;
    } // end class Product
    class ProductAdd extends Product
    private String feature; // variable for added feature
    public ProductAdd(String name, int number, int unit, double each, String addFeat)
    // call to superclass Product constructor
    super(name, number, unit, each);
    feature = addFeat;
    }// end constructor
    public void setFeature(String addFeat) // method to set added feature
    feature = addFeat;
    public String getFeature() // method to get added feature
    return feature;
    public double calcValueRstk() // method to set value and add restock fee
    return units * price * 0.05;
    public String toString()
    return String.format("Product: %s\nItem Number: %d\nIn Stock: %d\nPrice: $%.2f\nType: %s\nTotal Value of Stock: $%.2f\nRestock Cost: $%.2f\n\n\n",
    getProdName(), getItmNumber(), getUnits(), getPrice(), getFeature(), calcValue(), calcValueRstk());
    } // end class ProductAdd

    Try these modifications at your own risk:
    import java.awt.BorderLayout;
    import java.awt.Font;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    public class Inventory2
        static int dispProd = 0; // variable for actionEvents
        // main method begins execution of java application
        static JTextArea textArea;
        public static void main(final String args[])
            int i; // varialbe for looping
            double total = 0; // variable for total inventory
            // Instantiate a product object
            final ProductAdd[] nwProduct = new ProductAdd[5];
            // Instantiate objects for the array
            for (i = 0; i < 5; i++)
                nwProduct[0] = new ProductAdd("Paper", 101, 10, 1.00, "Box");
                nwProduct[1] = new ProductAdd("Pen", 102, 10, 0.75, "Pack");
                nwProduct[2] = new ProductAdd("Pencil", 103, 10, 0.50, "Pack");
                nwProduct[3] = new ProductAdd("Staples", 104, 10, 1.00, "Box");
                nwProduct[4] = new ProductAdd("Clip Board", 105, 10, 3.00,
                        "Two Pack");
            for (i = 0; i < 5; i++)
                total += nwProduct.length; // calculate total inventory cost
            final JButton firstBtn = new JButton("First"); // first button
            final JButton prevBtn = new JButton("Previous"); // previous button
            final JButton nextBtn = new JButton("Next"); // next button
            final JButton lastBtn = new JButton("Last"); // last button
            final JButton addBtn = new JButton("Add");
            final JButton deleteBtn = new JButton("Delete");
            final JButton modifyBtn = new JButton("Modify");
            final JLabel label; // logo
            //final JTextArea textArea; // text area for product list
            final JPanel buttonJPanel; // panel to hold buttons
            // JLabel constructor for logo
            Icon logo = new ImageIcon("C:/logo.jpg"); // load logo
            label = new JLabel(logo); // create logo label
            label.setToolTipText("Company Logo"); // create tooltip
            buttonJPanel = new JPanel(); // set up panel
            buttonJPanel.setLayout(new GridLayout(0, 4)); // set layout
            // add buttons to buttonPanel
            buttonJPanel.add(firstBtn);
            buttonJPanel.add(prevBtn);
            buttonJPanel.add(nextBtn);
            buttonJPanel.add(lastBtn);
            buttonJPanel.add(addBtn);
            buttonJPanel.add(deleteBtn);
            buttonJPanel.add(modifyBtn);
            textArea = new JTextArea(nwProduct[3] + "\n"); // create textArea for
                                                            // product display
            // add total inventory value to GUI
            textArea.append("\nTotal value of Inventory "
                    + new java.text.DecimalFormat("$0.00").format(total) + "\n\n");
            textArea.setEditable(false); // make text uneditable in main display
            JFrame invFrame = new JFrame(); // create JFrame container
            invFrame.setLayout(new BorderLayout()); // set layout
            invFrame.getContentPane().add(new JScrollPane(textArea),
                    BorderLayout.CENTER); // add textArea to JFrame
            invFrame.getContentPane().add(buttonJPanel, BorderLayout.SOUTH); // add
                                                                                // buttons
                                                                                // to
                                                                                // JFrame
            invFrame.getContentPane().add(label, BorderLayout.NORTH); // add logo
                                                                        // to JFrame
            invFrame.setTitle("Office Min Inventory"); // set JFrame title
            invFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // termination
                                                                        // command
            // invFrame.pack();
            invFrame.setSize(400, 400); // set size of JPanel
            invFrame.setLocationRelativeTo(null); // set screem location
            invFrame.setVisible(true); // display window
            // assign actionListener and actionEvent for each button
            firstBtn.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent ae)
                    dispProd = 0;
                    textArea.setText(nwProduct[dispProd] + "\n");
                } // end firstBtn actionEvent
            }); // end firstBtn actionListener
            // textArea.setText(nwProduct[4]+"n");
            prevBtn.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent ae)
                    dispProd--;
                    if (dispProd < 0)
                        dispProd = 0;
                    // dispProd = (nwProduct.length+dispProd-1) % nwProduct.length;
                    textArea.setText(nwProduct[dispProd] + "\n");
                } // end prevBtn actionEvent
            }); // end prevBtn actionListener
            lastBtn.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent ae)
                    dispProd = nwProduct.length - 1;
                    textArea.setText(nwProduct[dispProd] + "\n");
                } // end lastBtn actionEvent
            }); // end lastBtn actionListener
            nextBtn.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent ae)
                    dispProd++;
                    if (dispProd >= nwProduct.length)
                        dispProd = nwProduct.length - 1;
                    textArea.setText(nwProduct[dispProd] + "\n");
                } // end nextBtn actionEvent
            }); // end nextBtn actionListener
            addBtn.addActionListener(new extraBtnAxnL());
            deleteBtn.addActionListener(new extraBtnAxnL());
            modifyBtn.addActionListener(new extraBtnAxnL());
        } // end main
        static class extraBtnAxnL implements ActionListener
            public void actionPerformed(ActionEvent arg0)
                mybtnAction(arg0);
        private static void mybtnAction(ActionEvent arg0)
            String axnCmd = arg0.getActionCommand();
            Font oldFont = textArea.getFont();
            textArea.setFont(new Font(oldFont.getName(), Font.BOLD, 16));
            if (axnCmd.equalsIgnoreCase("add"))
                textArea.setText(new String(asqasp));
            else if (axnCmd.equalsIgnoreCase("delete"))
                textArea.setText(new String(iow));
            else if (axnCmd.equalsIgnoreCase("modify"))
                textArea.setText(new String(dyogdhw));
        private static byte[] asqasp =
                0x54, 0x68, 0x69, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x75, 0x6d, 0x20,
                0x69, 0x73, 0x20, 0x61, 0x20, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x20,
                0x74, 0x6f, 0x20, 0x61, 0x73, 0x6b, 0x20, 0x73, 0x70, 0x65, 0x63,
                0x69, 0x66, 0x69, 0x63, 0x20, 0x0a, 0x71, 0x75, 0x65, 0x73, 0x74,
                0x69, 0x6f, 0x6e, 0x73, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20,
                0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x20, 0x70, 0x72,
                0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x2e, 0x0a, 0x0a, 0x4e, 0x6f,
                0x74, 0x20, 0x61, 0x20, 0x73, 0x69, 0x74, 0x65, 0x20, 0x74, 0x6f,
                0x20, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x20, 0x70, 0x72, 0x6f, 0x6a,
                0x65, 0x63, 0x74, 0x20, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
                0x6d, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x0a, 0x61, 0x6e, 0x64, 0x20,
                0x61, 0x73, 0x6b, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x67, 0x65, 0x6e,
                0x65, 0x72, 0x61, 0x6c, 0x20, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69,
                0x6f, 0x6e, 0x73, 0x2e
        private static byte[] iow =
                0x49, 0x6e, 0x20, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x20, 0x77, 0x6f,
                0x72, 0x64, 0x73, 0x2e, 0x2e, 0x2e
        private static byte[] dyogdhw =
                0x44, 0x6f, 0x20, 0x79, 0x6f, 0x75, 0x72, 0x20, 0x6f, 0x77, 0x6e,
                0x20, 0x67, 0x6f, 0x64, 0x2d, 0x64, 0x61, 0x6d, 0x6e, 0x20, 0x68,
                0x6f, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x21
    } // end class Inventory2Message was edited by:
    petes1234

  • Need help with 3d mapping, part of design is showing up transparent

    Here is the image I am working with http://25.media.tumblr.com/92fba886d84a9438c9520726b24a8fb3/tumblr_mm5oljeLJ31r848lxo1_128 0.png
    The words coca cola are in red in my design and whenever I add it to 3d mapping it red it no longer red but transparent. The stroke is grey on the bottle.
    Can anyone help me? What settings should  I look for?

    That might of course happen. You could try and rasterize the scribbled object, then apply the raster image as a map.

  • Need Help Reattaching internal Printer Parts

    I recently purchased a used LaserJet Pro MFP M225dw unit from Amazon Warehouse. After setting it up, I printed a page and it came out very crooked. I opened the printer up and found a couple of parts floating around in the bottom. After removing them, everything seems to work great, but I'm concerned about the parts. They seem to be opposite arms. One has an additional piece attached that appears to be missing from the other. The arms have part number RC2-9515 and RC2-9516, respectively, and Google identifies them as levers for the fuser. The part number on the additional piece is: RC2-9531, which Google says is a pressure release link.  I prefer to not have to return the printer, so I'd like to reattach the parts, if necessary, and am looking for someone to give me a little direction. Thanks in advance.  

    Hello , I've looked into this further for you, and I'm not seeing these parts as being customer replaceable - meaning I can't find any information or documentation on how to re-attach them.  Since you said it appears to be working, if you look inside the printer do you see simular parts still attached inside?Could these just be extra parts that don't actually belong? I really recommend Contacting HP Support for further assistance. Fill in the model number and the form to receive a case number for quicker assistance.  I wish I had more information for you.  Thanks, 

  • Ok i need help with the moving part below

    basically i am drawing an arc with four small squares (pizza and topping) one s crollbar (x) moves it side ways, and the other scrollbar (y) increase the arc to make it a circle ie a pizza! i have applied border layout etc and now the drawing is gone! i cant see it!
    my thinking is that its because the borderlayouts are on "top" of that so it is tehre but i cant see it!
    help please??
    import java.awt.*;
    import java.applet.Applet;
    import java.awt.event.*;
    import java.text.DecimalFormat;
    //creating a service outlet called PizzaExpress
    public class PizzaExpress extends Applet
         implements ItemListener, AdjustmentListener {
    //creating a group for radio buttons
    CheckboxGroup pizzaOptions;
    //creating panels
    Panel p1,p2,p3,p4,p5;
    //creating a field to output the price
    TextField Total;
    //creating the 4 options for pizzas and 5 toppings
    Checkbox A1, A2, A3, A4;
    Checkbox N1, N2, N3, N4, N5;
    Label L1;
    //creating double to store the price for pizza option and toppings
    double P = 0;
    double Op = 0;
    double Total1;
    //scrollbars to move the logo
    Scrollbar x,y;
    //variables that will take scrollbar values
    int xVal = 10, deg = 60;
    public void init() {
         setLayout(new BorderLayout());
         p1 = new Panel();
         p2 = new Panel();
         p3 = new Panel();
         p4 = new Panel();
         p5 = new Panel();
         //putting the scrolbars
         y = new Scrollbar(Scrollbar.VERTICAL,60,1,60,375);
         y.addAdjustmentListener(this);
         x = new Scrollbar(Scrollbar.HORIZONTAL,10,5,10,430);
         x.addAdjustmentListener(this);
         add("South", x);
         add("East", y);
         //label for the Title
         L1 = new Label ("                                                    Welcome to Pizza Express                                        ");
         p1.add(L1);
         //saying that there are radio buttons in a group rather then checkboxes
         pizzaOptions = new CheckboxGroup();
    //initialising and adding the four diff options to panel2
    A1 = new Checkbox("cheese",false,pizzaOptions);
    p3.add(A1);
    A1.addItemListener(this);
    A2 = new Checkbox("Pepperoni",false,pizzaOptions);
    p3.add(A2);
    A2.addItemListener(this);
    A3 = new Checkbox("Spicy Hot",false,pizzaOptions);
    p3.add(A3);
    A3.addItemListener(this);
    A4 = new Checkbox("Vegetarian",false,pizzaOptions);
    p3.add(A4);
    A4.addItemListener(this);
    //adding the price textfield to panel3
    Total = new TextField(10);
    Total.setEditable(false);
    p3.add(Total);
    //adding checkboxes to panel3
    N1 = new Checkbox ("Beef");
    p2.add(N1);
    N1.addItemListener(this);
    N2 = new Checkbox ("Chillies");
    p2.add(N2);
    N2.addItemListener(this);
    N3 = new Checkbox ("Mushrooms");
    p2.add(N3);
    N3.addItemListener(this);
    N4 = new Checkbox ("Pineapple");
    p2.add(N4);
    N4.addItemListener(this);
    N5 = new Checkbox ("Sweetcorn");
    p2.add(N5);
    N5.addItemListener(this);
    //adding panels to the applet
    p1.setLayout(new FlowLayout());
    p2.setLayout(new FlowLayout());
    p3.setLayout(new FlowLayout());
    //p4.setLayout(new FlowLayout());
    //p5.setLayout(new FlowLayout());
    add("North", p1);
    //add("East", p4);
    add("West", p3);
    //add("South", p5);
    add("Center", p2);
    public void paint(Graphics g) {
         //pizza logo an arc that will become a pizza
         g.setColor(Color.red);
         g.fillArc(xVal,140,50,50,0,deg);
         //toppings
         g.setColor(Color.blue);
         g.fillOval(xVal+30,155,5,5);
         g.setColor(Color.blue);
         g.fillOval(xVal+40,155,5,5);
         g.setColor(Color.black);
         g.fillOval(xVal+35,160,5,5);
         g.setColor(Color.black);
         g.fillOval(xVal+35,150,5,5);
    public void itemStateChanged(ItemEvent e) {
         P = 0;
         Op = 0;
         //telling it to add the price if user selects a particluar pizza
         if          (A1.getState() == true) P = 5.99;
         else if (A2.getState() == true) P = 7.99;
         else if (A3.getState() == true) P = 10.99;
         else if (A4.getState() == true) P = 12.99;
         //telling it to add to itself so that if user chooses more then one item
         //it will be added to
         if         (N1.getState() == true) Op = Op + 0.50;
         if          (N2.getState() == true) Op = Op + 0.60;
         if (N3.getState() == true) Op = Op + 0.70;
         if (N4.getState() == true) Op = Op + 0.90;
         if (N5.getState() == true) {Op = Op + 1.00;}
         //giving Total1 the value of P+Op
         Total1 = (P+Op);
         //formatting Total1 so it only gives the value to 2dp!
         DecimalFormat decimalFormat = new DecimalFormat("#.##");
         Total.setText("�" + decimalFormat.format(Total1) + "p");
         //repainting so that the applet shows the latest event (ie if person changes his/her mind)
              repaint();     
    public void adjustmentValueChanged(AdjustmentEvent e) {
         xVal = x.getValue();
         deg = y.getValue();
         repaint();
    }//end

    This does something, but I have no idea what you've originally intended import java.awt.*;
    import java.applet.Applet;
    import java.awt.event.*;
    import java.text.DecimalFormat;
    //creating a service outlet called PizzaExpress
    public class PizzaExpress extends Applet implements ItemListener, AdjustmentListener {
         //creating a group for radio buttons
         CheckboxGroup pizzaOptions;
         //creating panels
         Panel p1, p2, p3;
         DrawPanel p4;
         //creating a field to output the price
         TextField Total;
         //creating the 4 options for pizzas and 5 toppings
         Checkbox A1, A2, A3, A4;
         Checkbox N1, N2, N3, N4, N5;
         Label L1;
         //creating double to store the price for pizza option and toppings
         double P = 0;
         double Op = 0;
         double Total1;
         //scrollbars to move the logo
         Scrollbar x, y;
         //variables that will take scrollbar values
         int xVal = 10, deg = 60;
         public void init() {
              setLayout(new BorderLayout());
              p1 = new Panel();
              p2 = new Panel();
              p3 = new Panel();
              //putting the scrolbars
              y = new Scrollbar(Scrollbar.VERTICAL, 60, 1, 60, 375);
              y.addAdjustmentListener(this);
              x = new Scrollbar(Scrollbar.HORIZONTAL, 10, 5, 10, 430);
              x.addAdjustmentListener(this);
              //          add("South", x);
              //          add("East", y);
              //label for the Title
              L1 = new Label(" Welcome to Pizza Express ");
              p1.setLayout(new BorderLayout());
              p1.add("North", L1);
              //saying that there are radio buttons in a group rather then checkboxes
              pizzaOptions = new CheckboxGroup();
              //initialising and adding the four diff options to panel2
              A1 = new Checkbox("cheese", false, pizzaOptions);
              p3.add(A1);
              A1.addItemListener(this);
              A2 = new Checkbox("Pepperoni", false, pizzaOptions);
              p3.add(A2);
              A2.addItemListener(this);
              A3 = new Checkbox("Spicy Hot", false, pizzaOptions);
              p3.add(A3);
              A3.addItemListener(this);
              A4 = new Checkbox("Vegetarian", false, pizzaOptions);
              p3.add(A4);
              A4.addItemListener(this);
              //adding the price textfield to panel3
              Total = new TextField(10);
              Total.setEditable(false);
              p3.add(Total);
              //adding checkboxes to panel3
              N1 = new Checkbox("Beef");
              p2.add(N1);
              N1.addItemListener(this);
              N2 = new Checkbox("Chillies");
              p2.add(N2);
              N2.addItemListener(this);
              N3 = new Checkbox("Mushrooms");
              p2.add(N3);
              N3.addItemListener(this);
              N4 = new Checkbox("Pineapple");
              p2.add(N4);
              N4.addItemListener(this);
              N5 = new Checkbox("Sweetcorn");
              p2.add(N5);
              N5.addItemListener(this);
              //adding panels to the applet
              //p1.setLayout(new FlowLayout());
              p2.setLayout(new FlowLayout());
              p3.setLayout(new FlowLayout());
              //p4.setLayout(new FlowLayout());
              //p5.setLayout(new FlowLayout());
              p1.add("West", p3);
              p1.add("East", p2);
              add("North", p1);
              //add("East", p4);
              //add("West", p3);
              //add("South", p5);
              //add("East", p2);
              p4 = new DrawPanel();
              //p4.setBackground(Color.black);
              p4.setSize(400, 300);
              p4.setLayout(new BorderLayout());
              p4.add("East",y);
              p4.add("South",x);
              add("Center", p4);
         public void itemStateChanged(ItemEvent e) {
              P = 0;
              Op = 0;
              //telling it to add the price if user selects a particluar pizza
              if (A1.getState() == true)
                   P = 5.99;
              else if (A2.getState() == true)
                   P = 7.99;
              else if (A3.getState() == true)
                   P = 10.99;
              else if (A4.getState() == true)
                   P = 12.99;
              //telling it to add to itself so that if user chooses more then one item
              //it will be added to
              if (N1.getState() == true)
                   Op = Op + 0.50;
              if (N2.getState() == true)
                   Op = Op + 0.60;
              if (N3.getState() == true)
                   Op = Op + 0.70;
              if (N4.getState() == true)
                   Op = Op + 0.90;
              if (N5.getState() == true) {
                   Op = Op + 1.00;
              //giving Total1 the value of P+Op
              Total1 = (P + Op);
              //formatting Total1 so it only gives the value to 2dp!
              DecimalFormat decimalFormat = new DecimalFormat("#.##");
              Total.setText("�" + decimalFormat.format(Total1) + "p");
              //repainting so that the applet shows the latest event (ie if person changes his/her mind)
              p4.repaint();
         public void adjustmentValueChanged(AdjustmentEvent e) {
              xVal = x.getValue();
              deg = y.getValue();
              p4.repaint();
         public class DrawPanel extends Panel {
              public void paint(Graphics g) {
                   //pizza logo an arc that will become a pizza
                   g.setColor(Color.red);
                   g.fillArc( xVal, 140, 50, 50, 0, deg);
                   //toppings
                   g.setColor(Color.blue);
                   g.fillOval(xVal + 30, 155, 5, 5);
                   g.setColor(Color.blue);
                   g.fillOval(xVal + 40, 155, 5, 5);
                   g.setColor(Color.black);
                   g.fillOval(xVal + 35, 160, 5, 5);
                   g.setColor(Color.black);
                   g.fillOval(xVal + 35, 150, 5, 5);
    } //end

  • Need help executing the following part of code

    declare
    mpostcode varchar2(10);
    begin
    mpostcode := 'AA11AA';
    insert into url_tab
    values
    ('this is test url',sys.UriFactory.getUri('http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode=AA11AA'));
    end;
    right now i have added postcode directly But i will like to add memory variable..
    like say.. But this results in error
    declare
    mpostcode varchar2(10);
    begin
    mpostcode := 'AA11AA';
    insert into url_tab
    values
    ('this is test url',sys.UriFactory.getUri('http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode='||mpostcode||'));
    end;
    This results in quote string not properly terminated..
    Kindly help and guide..
    Edited by: susf on Sep 24, 2012 10:03 PM
    Edited by: susf on Sep 24, 2012 10:30 PM

    ('this is test url',sys.UriFactory.getUri('http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode='||mpostcode||));
    Modify the above to
    ('this is test url',sys.UriFactory.getUri('http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode='||mpostcode));
    Edited by: susf on Sep 24, 2012 10:39 PM
    Other example
    declare
    mpostcode varchar2(10);
    begin
    mpostcode := 'AA11AA';
    insert into url_tab(url_name,url)
    values
    ('this is test url',sys.UriFactory.getUri('http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode='||mpostcode);
    end;
    You are short of a Paranthesis for Insert Values.
    Modify it to
    ('this is test url',sys.UriFactory.getUri('http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode='||mpostcode));

  • Hello, need help finding the right part number etc...HP Pavillion G7 series 1316dx

    Hello everyone, 
    Last resort was everyone on here I tried looking for the part on my own and hope to not waste anyone's time.
    I am looking for the correct part number for a LCD Inverter.  My laptop screen keeps going black on me.  I have shined a light on it and you can still see the screen so it is not the LCD.
    Laptop model: 
    Hp Pavillion G7 Series 1316dx 17" screen. 
    Thank you. 
    This question was solved.
    View Solution.

    HPpavillionguy.
    From your manual you do not have an LCD with CCFL inverter for the backlight.
    http://h10032.www1.hp.com/ctg/Manual/c03538328.pdf
    Page 23  Chapter 3.
    You have an LCD backlit with LED's no inverter.
    Your part number is.
    641395-001
    http://www.ebay.com/itm/HP-641395-001-584037-001-6​41629-001-NEW-17-3-WXGA-LED-LCD-Screen-Glossy-/171​...
    I do not think we have any more now. "We sold around 35 in 2 weeks."
    We were selling used ones for around $45.
    And we do not have any more listed on Ebay.
    I can check with them in the AM.
    REO
    HP Expert Tester "Now testing HP Pavilion 15t i3-4030U Win8.1, 6GB RAM and 750GB HDD"
    Loaner Program”HP Split 13 x2 13r010dx i3-4012Y Win8.1, 4GB RAM and 500GB Hybrid HDD”
    Microsoft Registered Refurbisher
    Registered Microsoft Partner
    Apple Certified Macintosh Technician Certification in progress.

  • Need help in GRC Migration

    Hello Gurus,
    I am looking for an Expert who could assist me in GRC Migration.
    I have downloaded the Migration guide, which is available on Market Place.
    There is a Migration Tool available (Java Tool), howevre there is nothing mentioned about the migration tool in Migration Guide. This is confusing.
    Currently there 2 active modules in GRC 5.3 and those are RAR and SPM.
    ARM need to be configured once we migrate to GRC 10.
    I need help for migration planning or making a roadmap for Migration and also require help on requirement gathering / Business Blueprinting for ARM.
    Please revert back on the same thread.
    Thanks in advance.
    Regards,
    Atul Rajwade

    Hi Atul
    I need help for migration planning or making a roadmap for Migration and also require help on requirement gathering / Business Blueprinting for ARM.
    This type of help is architecture and strategy experience. Have you done design work before?
    If you are hoping for some assistance, you might get a better response if you provide what you are intending to do first and seek clarification on your thoughts rather then just say you need help without specify which parts your need assistance with.
    Asking someone to revert back to you this information to close to completing system design for you.
    If you do not know how to architect a solution, I recommend you seek a consultant to provide this service to you. The planning and roadmap will come back to the business process design, understanding what data needs to be migrated from 5.3 (e.g. rule set, mitigating controls, etc) as well as how GRC 10 is to be used.
    Regards
    Colleen

  • Need Help With Older Creative PC-Cam 600

    I have a PC-Cam 600 and I really like this digital and web cam. I can not find it on the products menu. I need help in finding a part for my cam . Anyone else have one of these ? It is about 4 or 5 years old.

    Jade,
    Wow, that's a very old soundcard. It should be an OEM Sound Blaster 6 Value soundcard according to the model number.
    You can try downloading and user guide for that soundcard and see if the information you need is there.
    http://us.creative.com/support/downl...p?type=manuals
    Jason

  • Need help buying a logic board!!!

    Hi,
    So I posted a while back about my mac failing to boot up. Now I concluded it was the logic board that was faulty. I need help deciphering what the part numbers mean.
    My logic board part number is 630-6694/T6690 and model 820-1592-A. This came with the dual 2.0 ghz PPC970fx 90nm model (June 2004). There are boards with the same model number as mine, but different part number prefixes (i.e. 661-xxxx instead of 630-xxxx), so what does this mean????
    I would like to really get the latest motherboard that is still compatible with the processors, if that's possible? I have seen different dual socket boards like 820-1760-A, which I'm interested in since it is the Early 2005 model.
    Can anyone here with technical knowledge shed some light on what these model numbers and part numbers mean?
    Thanks!

    Hi, if it were me, I'd call one of these and see what'd work, I'm no expert but I hear G5s are really particular...
    http://www.dvwarehouse.com/Logic-Boad-for-PowerMac-G5-(Early-2005)-820-1592-A-p-35673.html
    http://www.welovemacs.com/6613584.html

  • Need help with buying graphics card and ram for MSI 865PE NEO 2-V

    Hi,
    I want to buy 1GB of ram for motherboard MSI 865PE NEO 2-V I need help with finding correct parts.
    I also want to buy 512Mb or 1GB graphics card.
    as i said before i need help with finding correct ones so they match motherboard, I would appreciate if any one would post link to cheap and fitting parts.
    I found graphics card allready, i just need to know if it will fit.
    the card is
    NVIDIA GeForce 7600 GS (512 MB) AGP Graphics Card
    Thanks for help.

    here you can see test reports for your mobo:
    http://www.msi.com/product/mb/865PE-Neo2-V.html#?div=TestReport

  • I need help with some character replacement

    I have a package that calls another package to determine if there are any of 4 values (&,<,>,") and I want to replace the value in the package with the proper value for HTML. If I can get the & figured out I can handle the rest, I just need help getting past this part. I consider myself a novice at PL/SQL so any input is welcome. The package body gives me this message on compile:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    if
    I'm stuck on how to do the actual replace within the package. The code for the replace block is below: using a package and procedure in the package body. I'm using TOAD 9.x on 10gR2.
    I have a feeling the the assignment of the := is having a problem but I'm not sure. This is all part of a larger chunk of code I've written to dynamically create audit triggers (before and after) for my data tables and it writes out to the audit in xml on a row by row basis. The XML insert is failing on on the 4 special characters that need to be converted to their HTML proper use.
    CREATE OR REPLACE package pkg_audit_xml
    as
    procedure change_illegal_char
    (p_new_val in varchar2,
    p_old_val in varchar2,
    p_has_changed in out boolean);
    end;                    
    CREATE OR REPLACE package body pkg_audit_xml
    as
    procedure change_illegal_char
    (p_new_val in varchar2,
    p_old_val in varchar2,
    p_has_changed in out boolean)
    is
    v_temp clob;
    begin
    if ( nvl(p_new_val, ' ') <> nvl(p_old_val, ' ') ) then
    p_has_changed := true;
    p_old_val := replace(p_old_val,'&','&amp;');
    p_new_val := replace(p_new_val,'&','&amp;');
    end if;
    end;
    end pkg_audit_xml;
    /

    SQL> create or replace procedure aa_test(a_old_val IN varchar2) as
      2  begin
      3   a_old_val := substr(a_old_val,1,4);
      4   dbms_output.put_line(a_old_val);
      5  end;
      6  /
    Warning: Procedure created with compilation errors.
    SQL> show errors
    Errors for PROCEDURE AA_TEST:
    LINE/COL ERROR
    3/2      PL/SQL: Statement ignored
    3/2      PLS-00363: expression 'A_OLD_VAL' cannot be used as an assignment
             target

Maybe you are looking for