It keeps giving me this error and i really need help!

package net.minecraft.src;
import org.lwjgl.opengl.GL11;

public class ModelMrsMcDade extends RenderLiving

{

 //The three numbers below change the size of your model (you'll need to change the hitbox size too though)
    protected void preRenderScale(ModelMrsMcDade entity, float f)
    {
        GL11.glScalef(1F, 1F, 1F);
    }

    public ModelMrsMcDade(ModelMrsMcDade modelbase, float f)
    {
        super(modelbase, f);
    }

    public void func_177_a(ModelMrsMcDade entity, double d, double d1, double d2,
            float f, float f1)
    {
        super.doRenderLiving(entity, d, d1, d2, f, f1);
    }

    public void doRenderLiving(EntityLiving entityliving, double d, double d1, double d2,
            float f, float f1)
    {
        super.doRenderLiving((ModelMrsMcDade) entityliving, d, d1, d2, f, f1);
    }

    public void doRender(Entity entity, double d, double d1, double d2,
            float f, float f1)
    {
        doRenderLiving((ModelMrsMcDade)entity, d, d1, d2, f, f1);
    }

    protected void preRenderCallback(EntityLiving entityliving, float f)
    {
        preRenderScale((ModelMrsMcDade)entityliving, f);
    }

I AM ALSO GETTING " reached end of file while parsing" WHEN I TRY TO COMPILE THIS CODE.

import javax.swing.*;

public class ComputingComputersPrices {
   public static void main(String[] args) {

   Object[] options = {"LabTop", "DeskTop"};

   int computer = JOptionPane.showOptionDialog(null, "Select your computer type", "SELECT PC",
   JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, null);

   boolean Laptop;
   boolean Desktop;

    String monitor = JOptionPane.showInputDialog(null, "Enter the Monitor size you desire", "15, 17 or 19");

    String hardDrive = JOptionPane.showInputDialog(null, "Enter the Hard Desk size you desire", "200, 400 or 600");

    String memory = JOptionPane.showInputDialog(null, "Enter the Memory size you desire", "1-8");

    String processor = JOptionPane.showInputDialog(null, "Enter the Processor speed you desire", "4 or 6");

      if (monitor >= 19 )
      {
        Laptop = false;
      {

      int Monitor = Integer.parseInt(monitor);
      int HardDrive = Integer.parseInt(hardDrive);
      int Memory = Integer.parseInt(memory);
      int Processor = Integer.parseInt(processor);

    if ((Processor == 4) || (Processor == 6) && (Memory < 1) || (Memory > 8) && (HardDrive == 200) || (HardDrive == 400) || (HardDrive == 600) && (Monitor == 15) || (Monitor == 17) || (Monitor == 19)) {

        Desktop = ((50 * processor) + (50 * memory) + (0.40 * hardDrive) + (0.8 * monitor * 0.6 * monitor * 1));
        Laptop = (500 + (50 * processor) + (50 * memory) + (0.40 * hardDrive) + (0.8 * monitor * 0.6 * monitor * 1));
         }
     }
    if (Destop) {
         JOptionPane.showMessageDialog("The price of your Desktop computer is" + Desktop);

        else if (Laptop)  {
            JOptionPane.showMessageDialog("The price of your Laptop computer is" + Laptop);
        }
       else {
           JOptionPane.showMessageDialog("Invalid configuration");
       }

       }
     }
 }

Edited 3 Years Ago by Nick Evan: Fixed formatting

Don't hijack old threads
If you have a question start your own thread
If you post code post, it in code tags
If you want people to read it, indent it properly

Ok I am really sorry but I am very new here and I really need urgent help.

Meanwhile, I tried to generate my own post but I just cant find my way around.

On the main Java forum page, above the first topic you will find "Want to start a new topic discussion? ... Click Here to Start a New Thread"
(and don't forget to select all your code then click the CODE icon in the top frame of the text edit area)

This article has been dead for over six months. Start a new discussion instead.