could someone please tell me where I'm wrong... ??

with these parameters, I created a file pfile

db_name = omf

instance_name = omf

control_files = / U01/OMF/Create/control01. CTL, /u01/omf/create/control02.ctl

shared_pool_size = 100 m

db_cache_size = 52 m

DB_BLOCK_SIZE = 8192

audit_file_dest = / u01/omf/adump

background_dump_dest = / u01/omf/bdump

= core_dump_dest / u01/omf/cdump

user_dump_dest = / u01/omf/udump

db_recovery_file_dest = / u01/omf/flash_recovery_area

db_recovery_file_dest_size = 2g

db_create_file_dest = / u01/omf/create

db_create_online_log_dest_1 = / u01/omf/create

db_create_online_log_dest_2 = / u01/omf.

UNDO_MANAGEMENT = auto

undo_tablespace = undotbs01

Remote_login_passwordfile = exclusive lock

compatible = 10.2.0.1

After that, I started my database until the nomount State by specifying the path to my file pfile

After that, I hit my database command to create as

SQL > create database;

It gives me error as

ORA-01092: ORACLE instance is complete. Disconnection forced

anyone please help me with this...

Change undo_management from AUTOMATIC to MANUAL

Tags: Database

Similar Questions

  • Lost-Hi could someone please tell me where I can find my 25 digit product key

    Hi could someone please tell me where I can find my key thanx, 25-digit product.

    Hello Samuelballantyne,

    If your copy of Windows came pre-installed on your PC then you should be able to locate the product key 25 letter on the bottom of your laptop or on the back or the side if it's a desktop computer.

    If, however, you bought a copy the retail Windows; in other words you bought the OS yourself in a box from a retailer will the product key on the box or the sleeve of the DVD opertaing system.

    I hope that the product key will be in one of these two places. However, another option, assuming you still have the operating system installed on your PC, is to download a third application of the called party Magic Jelly Bean Keyfinder http://www.magicaljellybean.com/keyfinder/ download this application and then run it on your PC it will then show you the product key number.

    In addition, when you write the number make you that read correctly as a B can easily be confused with a 8. If you writeie down the wrong number, then you will not be able to install the operating system properly.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • I'm in an online course at Kaplan University and I need to answer a few questions about a system failure in Windows XP and Vista. Is could someone please tell me where I can find this information. Thanks a lot :^}

    Let me know here to find this information?

    Hello

    Would help if we knew that matters. :)

    Good information here:

    http://www.faultwire.com/

    See bug Codes
    http://msdn.Microsoft.com/en-us/library/ms789516.aspx
    TROUBLESHOOTING WINDOWS STOP MESSAGES
    http://aumha.org/a/stop.htm

    Microsoft support
    http://support.Microsoft.com/default.aspx

    Windows XP solutions Center
    http://support.Microsoft.com/ph/1173

    MS Knowledge Base
    http://support.Microsoft.com/search/default.aspx?mode=a&query=system+crashes&spid=1173&catalog=LCID%3D1033&1033comm=1&AST=25&AST=28&RES=20

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • Could you please tell me where I can find all my own disussions?

    CC did some change in the past in my profile.

    Could you please tell me where I can find all my own discussions?

    And also another problem: I used to get an e-mail every time someone answer me one of my discussions. But now, I have not received ANY email. Is not easy for me to follow in the next few days, because I shut my computer down in the night and again in the morning and then my discussion disappeared. So Dear sweet CC peut you help we did with this?

    And what is - this? : 2015-07-17_1401 - library of ha4010 when I press this icon (50 +), I have had 1000 not read in my Inbox? What is c? I don't want?

    I want only the notification on my own discussions?

    Thank you very much!

    I love CC :-)

    (50 +) notifications that you can get is about your activity on the forums. When you go to the Inbox so you can mark all as read invite him (50 +) will disappear.

    To get email notifications please refer to you as a result of links: Disable email notifications | Adobe forums (you can use this link to activate notifications)

    Adobe forum subscriptions.mov - YouTube

  • could you please tell me where to find the AMD/ATI video driver for my acer Apire 5942 G

    could you please tell me where to find the AMD/ATI video driver for my acer Apire 5942 G

    could you please tell me where to find the AMD/ATI video driver for my acer Apire 5942 G

    Your best resource is the Acer support site. They will have all the latest downloads for your model.

    Acer support: Downloads & Support Documents - family of products:

    http://support.Acer.com/us/en/product/family.aspx

    Concerning

  • Could someone please tell Adobe programmers to give the possibility to remove ' home, tools, documents, learn Adobe icon, link icon Mobile and sign in "from the Acrobat Reader toolbar.

    Could someone please tell Adobe programmers to give the possibility to remove ' home, tools, documents, learn Adobe icon, link icon Mobile and sign in "from the Acrobat Reader toolbar.

    Even assuming that we could achieve these programmers they don't make decisions like that, do marketing.

  • Could anyboody please tell me where can I find graphic example swf files

    Hi all
    I am trying to download some swf files of graphics application skinning for my FLex components.
    But I can't find any free graphics of swf files.
    Could anyboody please tell me where can I find graphic example swf files?

    Please guide me. Thank you

    There are tutorials on the components of the skin.  This 2nd link, I believe, has a tutorial.

    p.s. Please check the useful/correct.

  • Hi, I have cs6, indesign, and I can't use the black and the white arrow. I just bought the cs6. can someone please tell me what I did wrong. Thank you, alexandra

    Hi, I have cs6, indesign, and I can't use the black and the white arrow. I just bought the cs6. can someone please tell me what I did wrong. Thank you, alexandra

    https://helpx.Adobe.com/InDesign/KB/InDesign-tools-panels-Don ' t - respond.html

  • Is could someone please tell me what this means... Bad Format

    I am running windows xp and get an error message (bad Format, the operation could not be performed due to wrong format)... This only happens on one program that I try to start, all programs, open and run. Could someone tell me how to solve this problem, that I have to reformat my hard drive and reinstall windows. .. Thank you

    Probably be better if you contact Propellerheads. Because they are . Or check their forum

  • Is could someone please tell me why my paintComponent() is called infinitely?

    I'm having problems understanding why my paintComponent() method is called infinitely and to explain why this would be much appreciated!

    This is the code where the question is:
    package project;
    
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.FontMetrics;
    import java.awt.Graphics;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.ButtonGroup;
    import javax.swing.JButton;
    import javax.swing.JCheckBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JRadioButton;
    import javax.swing.JTextField;
    import javax.swing.SwingConstants;
    
    public class UserInterface extends JPanel
    {
    //    private JTextField orb1ChargeDensityTextField; // don't remember what I have this for or if it's a mistake
    //    private JTextField orb2ChargeDensityTextField; // don't remember what I have this for or if it's a mistake
        private JFrame frame;
        private JTextField orb1ChargeTextField;
        private JTextField orb2ChargeTextField;
        private JTextField orb1InitialVelocityTextField;
        private JTextField orb2InitialVelocityTextField;
        private JTextField gravityConstantTextField;
        private JCheckBox considerGravity;
        private JCheckBox considerElectricity;
        private JRadioButton inVacuumRadioButton;
        private JRadioButton inAirRadioButton;
        private JRadioButton inOtherMediumRadioButton;
        private JPanel graphicsPanel = this;
        private JPanel buttonsPanel;
        private Orb orb1;
        private Orb orb2;
        private boolean regularComponentsAdded = false;
        private JLabel orb1InitialVelocityLabel;
        private JLabel orb2InitialVelocityLabel;
        private JLabel orb1ChargeLabel;
        private JLabel orb2ChargeLabel;
        private JLabel gravityConstantLabel;
    //    private JPanel orb1InitialVelocityPanel;
    //    private JPanel orb2InitialVelocityPanel;
    //    private JPanel gravityConstantPanel;
        private JButton simulateButton;
        private GridBagConstraints c;
        private boolean simulationStarted = false;
        private Common common = new Common();
        private JLabel planetaryRadiusLabel;
        private JTextField planetaryRadiusTextField;
        private JLabel planetaryMassLabel;
        private JTextField planetaryMassTextField;
        private JLabel dielectricConstantPanel;
        private JTextField dielectricConstantTextField;
        private JLabel orb1HeightLabel;
        private JLabel orb2HeightLabel;
        private JTextField orb1HeightTextField;
        private JTextField orb2HeightTextField;
        private JLabel separationDistanceLabel;
        private JTextField separationDistanceTextField;
        private JLabel dragCoefficientLabel;
        private JTextField dragCoefficientTextField;
        private JLabel orb1RadiusLabel;
        private JTextField orb1RadiusTextField;
        private JLabel orb2RadiusLabel;
        private JTextField orb2RadiusTextField;
    
        public UserInterface()
        {
            createPanels();
            createOrbs();
            setLabelProperties();
            setTextFieldProperties();
            setCheckBoxProperties();
            setRegularButtonProperties();
            setRadioButtonProperties();
            setPanelProperties();
            setFrameProperties();
        }
    
        public void setLabelProperties()
        {
            orb1InitialVelocityLabel = new JLabel("First orb's initial velocity (m/s): ");
            orb1InitialVelocityLabel.setVerticalAlignment(SwingConstants.TOP);
            orb2InitialVelocityLabel = new JLabel("Second orb's initial velocity (m/s): ");
            orb2InitialVelocityLabel.setVerticalAlignment(SwingConstants.TOP); // CHECK!!!
            orb1ChargeLabel = new JLabel("First orb's charge (C): ");
            orb2ChargeLabel = new JLabel("Second orb's charge (C): ");
            gravityConstantLabel = new JLabel("Gravity constant (m/s^2): ");
            planetaryRadiusLabel = new JLabel("Planetary radius (m): ");
            planetaryMassLabel = new JLabel("Planetary mass (kg): ");
            dielectricConstantPanel = new JLabel("Dielectric constant: ");
            orb1HeightLabel = new JLabel("First orb's height (m): ");
            orb2HeightLabel = new JLabel("Second orb's height (m): ");
            separationDistanceLabel = new JLabel("Separation distance (m): ");
            dragCoefficientLabel = new JLabel("Drag coefficient: ");
            orb1RadiusLabel = new JLabel("First orb's radius (m): ");
            orb2RadiusLabel = new JLabel("Second orb's radius (m): ");
        }
    
        public void setPanelProperties() // layout needs some serious fixing!!!
        {
            if(!regularComponentsAdded)
            {
                // Initial GridBagLayout settings
                c = new GridBagConstraints();
                c.anchor = GridBagConstraints.FIRST_LINE_START;
                c.weighty = 0; //etho
                c.fill = GridBagConstraints.HORIZONTAL;
                c.gridheight = 1; // is for the the specific component when adding - not height for all components together
    
                buttonsPanel.setSize(400, 200);
                buttonsPanel.setLayout(new GridBagLayout());
    
                buttonsPanel.setBackground(Color.CYAN);
                graphicsPanel.setBackground(Color.GREEN);
    
                c.gridx = 1; c.gridy = 1;
                buttonsPanel.add(considerElectricity, c);
                considerElectricity.setBackground(Color.YELLOW);
    
                c.gridx = 2; c.gridy = 1;
                buttonsPanel.add(considerGravity, c);
    
                c.gridx = 1; c.gridy = 2; c.gridwidth = 1; c.weighty = 0; // etho
                buttonsPanel.add(orb1InitialVelocityLabel, c);
    
                c.gridx = 2; c.gridy = 2;
                buttonsPanel.add(orb1InitialVelocityTextField, c);
    
                c.gridx = 1; c.gridy = 3;
                buttonsPanel.add(orb2InitialVelocityLabel, c);
    
                c.gridx = 2; c.gridy = 3;
                buttonsPanel.add(orb2InitialVelocityTextField, c);
    
                c.gridx = 1; c.gridy = 5; c.gridwidth = 1;
                buttonsPanel.add(gravityConstantLabel, c);
                c.gridx = 2; c.gridy = 5;
                buttonsPanel.add(gravityConstantTextField, c);
    
                c.gridx = 1; c.gridy = 6;
                buttonsPanel.add(orb1ChargeLabel, c);
    
                c.gridx = 2; c.gridy = 6;
                buttonsPanel.add(orb1ChargeTextField, c);
    
                c.gridx = 1; c.gridy = 7;
                buttonsPanel.add(orb2ChargeLabel, c);
    
                c.gridx = 2; c.gridy = 7;
                buttonsPanel.add(orb2ChargeTextField, c);
    
                c.gridx = 1; c.gridy = 8;
                buttonsPanel.add(planetaryRadiusLabel, c);
    
                c.gridx = 2; c.gridy = 8;
                buttonsPanel.add(planetaryRadiusTextField, c);
    
                c.gridx = 1; c.gridy = 9;
                buttonsPanel.add(planetaryMassLabel, c);
    
                c.gridx = 2; c.gridy = 9;
                buttonsPanel.add(planetaryMassTextField, c);
    
                c.gridx = 1; c.gridy = 10;
                buttonsPanel.add(dielectricConstantPanel, c);
    
                c.gridx = 2; c.gridy = 10;
                buttonsPanel.add(dielectricConstantTextField, c);
    
                c.gridx = 1; c. gridy = 11;
                buttonsPanel.add(orb1HeightLabel, c);
    
                c.gridx = 2; c.gridy = 11;
                buttonsPanel.add(orb1HeightTextField, c);
    
                c.gridx = 1; c.gridy = 12;
                buttonsPanel.add(orb2HeightLabel, c);
    
                c.gridx = 2; c.gridy = 12;
                buttonsPanel.add(orb2HeightTextField, c);
    
                c.gridx = 1; c.gridy = 13;
                buttonsPanel.add(separationDistanceLabel, c);
    
                c.gridx = 2; c.gridy = 13;
                buttonsPanel.add(separationDistanceTextField, c);
    
                c.gridx = 1; c.gridy = 14;
                buttonsPanel.add(dragCoefficientLabel, c);
    
                c.gridx = 2; c.gridy = 14;
                buttonsPanel.add(dragCoefficientTextField, c);
    
                c.gridx = 1; c.gridy = 15;
                buttonsPanel.add(orb1RadiusLabel, c);
    
                c.gridx = 2; c.gridy = 15;
                buttonsPanel.add(orb1RadiusTextField, c);
    
                c.gridx = 1; c.gridy = 16;
                buttonsPanel.add(orb2RadiusLabel, c);
    
                c.gridx = 2; c.gridy = 16;
                buttonsPanel.add(orb2RadiusTextField, c);
    
                c.gridx = 1; c.gridy = 17;
                buttonsPanel.add(inVacuumRadioButton, c);
    
                c.gridx = 1; c.gridy = 18;
                buttonsPanel.add(inAirRadioButton, c);
    
                c.gridx = 1; c.gridy = 19; c.weighty = 1;
                buttonsPanel.add(inOtherMediumRadioButton, c);
    
                c.gridx = 1; c.gridy = 20; c.weighty = 0; c.gridwidth = 2;
                buttonsPanel.add(simulateButton, c);
    
            }
            if(considerElectricity.isSelected())
            {
                orb1ChargeLabel.setVisible(true);
                orb1ChargeTextField.setVisible(true);
                orb2ChargeLabel.setVisible(true);
                orb2ChargeTextField.setVisible(true);
                dielectricConstantPanel.setVisible(true);
                dielectricConstantTextField.setVisible(true);
                orb1HeightLabel.setVisible(true);
                orb2HeightLabel.setVisible(true);
                orb1HeightTextField.setVisible(true);
                orb2HeightTextField.setVisible(true);
                separationDistanceLabel.setVisible(true);
                separationDistanceTextField.setVisible(true);
                dragCoefficientLabel.setVisible(true);
                dragCoefficientTextField.setVisible(true);
                orb1RadiusLabel.setVisible(true);
                orb2RadiusLabel.setVisible(true);
                orb1RadiusTextField.setVisible(true);
                orb2RadiusTextField.setVisible(true);
            }
            else
            {
                orb1ChargeLabel.setVisible(false);
                orb1ChargeTextField.setVisible(false);
                orb2ChargeLabel.setVisible(false);
                orb2ChargeTextField.setVisible(false);
                dielectricConstantPanel.setVisible(false);
                dielectricConstantTextField.setVisible(false);
                separationDistanceLabel.setVisible(false);
                separationDistanceTextField.setVisible(false);
                dragCoefficientLabel.setVisible(false);
                dragCoefficientTextField.setVisible(false);
                orb1RadiusLabel.setVisible(false);
                orb2RadiusLabel.setVisible(false);
                orb1RadiusTextField.setVisible(false);
                orb2RadiusTextField.setVisible(false);
            }
            if(considerGravity.isSelected())
            {
                gravityConstantLabel.setVisible(true);
                gravityConstantTextField.setVisible(true);
                planetaryRadiusLabel.setVisible(true);
                planetaryRadiusTextField.setVisible(true);
                planetaryMassLabel.setVisible(true);
                planetaryMassTextField.setVisible(true);
                orb1HeightLabel.setVisible(true);
                orb1HeightTextField.setVisible(true);
                orb2HeightLabel.setVisible(true);
                orb2HeightTextField.setVisible(true);
            }
            else
            {
                gravityConstantLabel.setVisible(false);
                gravityConstantTextField.setVisible(false);
                planetaryRadiusLabel.setVisible(false);
                planetaryRadiusTextField.setVisible(false);
                planetaryMassLabel.setVisible(false);
                planetaryMassTextField.setVisible(false);
                orb1HeightLabel.setVisible(false);
                orb1HeightTextField.setVisible(false);
                orb2HeightLabel.setVisible(false);
                orb2HeightTextField.setVisible(false);
            }
    //        buttonsPanel.add(orb1ChargeDensityTextField); // don't remember what I have this for or if it's a mistake
    //        buttonsPanel.add(orb2ChargeDensityTextField); // don't remember what I have this for or if it's a mistake
    //        frame.pack();
            buttonsPanel.validate(); // THIS SEEMS TO NOT BE NEEDED BUT KEEP IT UNTIL I LOOK FURTHER INTO THIS!!!
            buttonsPanel.setVisible(true);
    
    //        System.out.println("The width is: " + buttonsPanel.getWidth()); // here for testing purposes
        }
    
        public void setRadioButtonProperties()
        {
            inVacuumRadioButton = new JRadioButton("Vacuum");
            inAirRadioButton = new JRadioButton("Air");
            inOtherMediumRadioButton = new JRadioButton("Other");
            inVacuumRadioButton.setSelected(true);
    
            ButtonGroup group = new ButtonGroup();
            group.add(inVacuumRadioButton);
            group.add(inAirRadioButton);
            group.add(inOtherMediumRadioButton);
        }
    
        public void setRegularButtonProperties()
        {
            simulateButton = new JButton("Simulate");
    
            simulateButton.addActionListener(new ActionListener()
            {
                public void actionPerformed(ActionEvent e)
                {
                    // The following is test code and is not the real deal type of simulation
                    orb1.setX(0); simulationStarted = true;
    //                Timer timer = new Timer(100, new Repaint());
                }
            });
        }
    
    //    public class Repaint implements ActionListener
    //    {
    //        public void actionPerformed(ActionEvent e)
    //        {
    //            repaint();
    //        }
    //    }
    
        public void createPanels()
        {
            buttonsPanel = new JPanel();
        }
    
        public void createOrbs()
        {
            orb1 = new Orb();
            orb2 = new Orb();
        }
    
        protected void paintComponent(Graphics g)
        {
            super.paintComponent(g);
            drawTitle(g);
            // THE FOLLOWING IS DATA CALCULATED AND SHOVED INTO THE ORB CLASS BEING USED
            g.setColor(Color.RED);
            orb1.setX(0.03F); orb1.setY(0.1F); // temporary for testing purposes
            if(orb1RadiusTextField.getText() != null)
                orb1.setRadius(Float.parseFloat(orb1RadiusTextField.getText()));
            else
                orb1.setRadius(0.3F);
            System.out.println("The nummber is this: " + Float.parseFloat(orb1RadiusTextField.getText()));
            g.fillOval(getPixelXCoordinate(orb1.getX()), getPixelYCoordinate(orb1.getY()), convertMetresToPixels(orb1.getRadius()), convertMetresToPixels(orb1.getRadius()));
        }
    
        public int convertMetresToPixels(double metres)
        {// This method only converts metres to pixels and does not take into account where the pixels are drawn
            int pixels = -1;
            int scalar = 3000;
            pixels = (int) (scalar*metres);
            return pixels;
        }
    
        public int getPixelXCoordinate(double metresXCoordinate)
        {
            return convertMetresToPixels(metresXCoordinate);
        }
    
        public int getPixelYCoordinate(double metresYCoordinate)
        {
            return (int) (frame.getHeight() - convertMetresToPixels(metresYCoordinate));
        }
    
        public void drawTitle(Graphics g) // There's an issue with the delay from normal/unformatted text to special/formatted text
        {
            String title = "Welcome to the orb program!";
            FontMetrics fontMetrics = g.getFontMetrics();
            graphicsPanel.setFont(new Font("Times", Font.BOLD, 20));
    
            // Get the position of the leftmost character in the baseline
            int x = fontMetrics.stringWidth(title);
            int y = fontMetrics.getAscent();
    
            //
            g.drawString(title, x, y);
    
            // Nullify unused references for garbage collector
            fontMetrics = null;
            title = null;
        }
    
        public void setFrameProperties()
        {
            frame = new JFrame();
            frame.setTitle("Orb program");
            frame.setVisible(true);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(1100, 800); // change resolution in conjunction with FontMetrics title placement
            frame.setLocationRelativeTo(null);
            frame.setLayout(new BorderLayout());
    //        frame.add(buttonsPanel); // uncomment this later
            frame.add(graphicsPanel);
            frame.add(buttonsPanel, BorderLayout.EAST);
        }
    
        public void setCheckBoxProperties()
        {
            considerGravity = new JCheckBox("Enable gravity", false);
            considerGravity.addActionListener(new ActionListener()
            {
                public void actionPerformed(ActionEvent e)
                {
                    setPanelProperties();
                }
            });
    
            considerElectricity = new JCheckBox("Enable electrical forces", true);
            considerElectricity.addActionListener(new ActionListener()
            {
                public void actionPerformed(ActionEvent e)
                {
                    setPanelProperties();
                }
            });
        }
    
        public void setTextFieldProperties()
        {
            float tempElementaryCharge = common.getElementaryCharge();
            gravityConstantTextField = new JTextField("9.79205");
            orb1ChargeTextField = new JTextField(String.valueOf(tempElementaryCharge));
            orb2ChargeTextField = new JTextField(String.valueOf(-1 * tempElementaryCharge));
            orb1InitialVelocityTextField = new JTextField("0");
            orb2InitialVelocityTextField = new JTextField("0");
            planetaryRadiusTextField = new JTextField("6.3685E6");
            planetaryMassTextField = new JTextField("5.9721986E24");
            dielectricConstantTextField = new JTextField("1.00058986");
            orb1HeightTextField = new JTextField("1");
            orb2HeightTextField = new JTextField("1");
            separationDistanceTextField = new JTextField("1");
            dragCoefficientTextField = new JTextField("0.47");
            orb1RadiusTextField = new JTextField("0.03");
            orb2RadiusTextField = new JTextField("CACA2");
    
    //        orb1ChargeDensityTextField = new JTextField(""); // don't remember what I have this for or if it's a mistake
    //        orb2ChargeDensityTextField = new JTextField(""); // don't remember what I have this for or if it's a mistake
        }
    
    //    public String getOrb1Initial // I WAS HERE LAST!!!!
    
        public static void main(String[] args) // main() will be removed later
        {
            UserInterface userInterface = new UserInterface(); // this will later be called via the main() of the launcher program
        }
    }
    (Just so that can compile the program here)
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    
    package project;
    
    /**
     *
     * @author Deniz
     */
    
    public class Common
    {
        private float coulombConstant = (float) 8.9875517873681764E9; // Nm^2/C^2
        private float newtonGravitationalConstant = (float) 6.67428E-11; // Nm^2/kg^2
        private float planetaryMass = (float) 5.9721986E24; // (in kg) defaults to Earth's mass
        private float dielectricConstant = (float) 1.00058986; // dimensionless
        private float planetaryRadius;
        private float height;
        private float systemImpulse;
        private final float airDensityEarth = (float) 1.29; // in kg/m^3 // THIS NUMBER COULD BE WRONG
        private float mediumDragForce;
        private final float airDensityMars = (float) 2.30446139E-5; // g/(cm^3)
        private float gravityConstant; // = (float) 9.80665; // in m/s^2 // set it via text field instead of here by default
        private float mediumDensity; // also called fluid density
        private float separationDistance; // m
        private float electricalPotentialEnergy;
        private double electricField;
        private double gravitationalPotentialEnergy;
        private double totalKineticEnergy;
        private double totalPotentialEnergy;
        private boolean inVacuum = true; // should make it get from text field - check my logic again jic
    //    private float potentialDifference; // I'M PRETTY SURE THIS IS FOR V = ED AND V = ED IS FOR UNIFORM ELECTRIC FIELDS AND THIS PROGRAM DOESN'T SIMULATE SOMETHING WITH A UNIFORM ELECTRIC FIELD
        private boolean inAir = false; // should make it get from text field - check my logic again jic
        private boolean inOtherMedium = false; // neglect any additional electrical properties that MIGHT exist(depending on the fluid in question)
        private final float elementaryCharge = (float) 1.6E-19;
    
        public Common()
        {
    
        }
    
        public float getElementaryCharge()
        {
            return elementaryCharge;
        }
    
        public double getSeparationDistance()
        {
            return separationDistance;
        }
    
        public float getSystemImpulse()
        {
            return systemImpulse;
        }
    
        public float getElectricalPotentialEnergy()
        {
            return electricalPotentialEnergy;
        }
    
        public double getElectricField()
        {
            return electricField;
        }
    
        public float getMediumDragForce()
        {
            if(inVacuum)
            {
                return 0;
            }
            else
            {
                return mediumDragForce;
            }
        }
    
        public void setSeparationDistance(Orb orb1, Orb orb2, float surfaceSeparation)
        {
            separationDistance = surfaceSeparation + orb1.getRadius() + orb2.getRadius();
        }
    
        public void setMediumDragForce(float mediumDragForce)
        {
            this.mediumDragForce = mediumDragForce;
        }
    
        public void setMediumDragForce(float mediumDensity, double velocity, float referenceArea, float dragCoefficient)
        {
            mediumDragForce = (float) (-0.5 * mediumDensity * referenceArea * dragCoefficient * Math.pow(velocity, 2)); // haven't paid too much attention to direction of the vector yet
        }
    
        public void setMediumDensity(float mediumDensity)
        {
            this.mediumDensity = mediumDensity;
        }
    
    //    public void setSeparationDistance(Point point)
    //    {
    //
    //    }
    
        public void setSystemImpulse(float systemImpulse)
        {
            this.systemImpulse = systemImpulse;
        }
    
        public float getGravityConstant()
        {
            if(gravityConstant > 9.7 && gravityConstant < 9.9)
            {
                return gravityConstant;
            }
            else
            {
                gravityConstant = (float) (newtonGravitationalConstant * planetaryMass/Math.pow((planetaryRadius + height),2));
                return gravityConstant;
            }
        }
    
        public double getGravitationalPotentialEnergy()
        {
           return gravitationalPotentialEnergy;
        }
    
        public double getTotalKineticEnergy()
        {
            return totalKineticEnergy;
        }
    
        public double getTotalPotentialEnergy()
        {
            return totalPotentialEnergy;
        }
    
    //    public float getPotentialDifference()
    //    {
    //        return potentialDifference;
    //    }
    
        public void setGravityConstant(float gravityConstant)
        {
            this.gravityConstant = gravityConstant;
        }
    }
    (Just so that can compile the program here)
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    
    package project;
    
    import java.awt.Point;
    
    /**
     *
     * @author Deniz
     */
    public class Orb
    {
        private boolean fixedOrbPosition = false;
        private float currentVelocity;
        private float currentSpeed;
        private float orbArea;
        private double charge;
        private double mass;
        private Point position;
        private float x;
        private float y;
        private double initialVelocity;
        private double intialSpeed;
        private float chargeDensity;
        private float potential;
        private float gamma; // in order to implement relativistic linear momentum
        private float initialMomentum;
        private float finalMomentum;
        private float impulse;
        private float radius;
        private final float sphereDragCoefficient = 0.47F;
        private float weight;
    
        public Orb()
        {
    
        }
    
        public float getWeight()
        {
            return weight;
        }
    
        public float getRadius()
        {
            return radius;
        }
    
        public void setRadius(float radius)
        {
            this.radius = radius;
        }
    
        public double getSpeed()
        {
            return currentSpeed;
        }
    
        public double getVelocity()
        {
            return currentVelocity;
        }
    
        public double getPotential()
        {
            return potential;
        }
    
        public double getCharge()
        {
            return charge;
        }
    
        public float getChargeDensity()
        {
            return chargeDensity;
        }
    
        public float getInitialMomentum()
        {
            return initialMomentum;
        }
    
        public float getFinalMomentum()
        {
            return finalMomentum;
        }
    
        public float getImpulse()
        {
            return impulse;
        }
    
        public double getMass()
        {
            return mass;
        }
    
        public Point getPosition()
        {
            return position;
        }
    
        public float getX()
        {
            return x;
        }
    
        public float getY()
        {
            return y;
        }
    
        public void setInitialVelocity(double initialVelocity)
        {
            this.initialVelocity = initialVelocity;
        }
    
        public void setImpulse(float impulse)
        {
            this.impulse = impulse;
        }
    
        public void setInitialMomentum(float initialMomentum)
        {
            this.initialMomentum = initialMomentum;
        }
    
        public void setVelocity(float currentVelocity)
        {
            this.currentVelocity = currentVelocity;
        }
    
        public void setSpeed(float currentSpeed)
        {
            this.currentSpeed = currentSpeed;
        }
    
        public void setFinalMomentum(float finalMomentum)
        {
            this.finalMomentum = finalMomentum;
        }
    
        public void setX()
        {
            // THIS ONE SHOULD OBTAIN ITS DATA FROM A JTEXTFIELD!!!
        }
    
        public void setX(float currentX)
        {
            this.x = currentX;
        }
    
        public void setY()
        {
            // THIS ONE SHOULD OBTAIN ITS DATA FROM A JTEXTFIELD!!!
        }
    
        public void setY(float currentY)
        {
            this.y = currentY;
        }
    
        public void setCharge(double charge)
        {
            this.charge = charge;
        }
    
        public void setChargeDensity(float chargeDensity)
        {
            this.chargeDensity = chargeDensity;
        }
    
        public void setMass(float mass)
        {
            this.mass = mass;
        }
    
        public void setPosition(Point position)
        {
            this.position = position;
        }
    
        public void setPosition(int x, int y)
        {
            this.x = x;
            this.y = y;
        }
    }
    Thanks in advance!

    Because you keep changing the font of drawTitle(), which causes another paint event.

    You also break a primary rule of the paintComponent() that is specified in the Javadoc. You are not supposed to make permanent changes to the provided GraphicsContext. If you need to change, you are supposed to copy it.

    Also that:

            // Nullify unused references for garbage collector
            fontMetrics = null;
            title = null;
    

    is nonsense. Local variables are about to go in any case out of reach. Don't waste your time with this.

  • could someone please tell me how to stop pop ups netbits (ad served by netbits). I have tried everything what it that I can think of, all to nothing done.

    some of the things I've tried:-spybot, anti-malware, avast. I even downloaded 'explorer processes' off the system restore, rebooted in safe mode, suspension winlogon.exe and explorer.exe and replay all my anti spy/malware/adblocker programs... nothing works and it leads me around the twist. can anyone help with this please. Edit

    Hello
    I think I have the answer. You go in my computer and then go to uninstall/change a program in Windows 7/Vista. XP would be in the control panel. Then you scroll down until you see the following entry: "Netbits contextual Tracking. Click it and then click on uninstall it / edit button. This should remove these pesky ads from popping up.

  • Hello could someone please tell me how served pack 2

    I served a pack but need served pack 2 on my vista windiws

    You should be able to get if Windows Update (easiest) or from:

    http://windows.microsoft.com/en-US/windows/downloads/service-packs .

  • my freezer scandisk to 0% at the start of the computer. someone please tell me how to solve this problem

    my freezer scandisk to 0% at the start of the computer. someone please tell me how to solve this problem, and for this reason, I can't use my computer for other things as well. It is now very slow and do not file load. as adobe flashplayer doesn't load on google crome more please help me with this. I have windows xp sp2

    Yes, install xp3, the patch is only for hp AND amd pc, install from the link and then navigate to the microsoft updates and a priority scan, install, then do a custom scan and install rootkit updates, it will be a long process that you are behind in security updates , \\

    clean the pc then do the following:

    Shenan Stanley tips: will probably want to clean this machine...

     

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    ·                                 MalwareBytes (FREE)

    ·                                 SuperAntiSpyware (FREE)

    Remove anything they find. Reboot when necessary. (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in. Look for whatever it is you do not know usingGoogle (or ask here.) You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory. This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

    Do a house cleaning and the dust of this hard drive:

    You can free up disk space (will also help get rid of the things that you do not use) through the following steps:

    Windows XP should take between 4.5 and 9 GB * with * an Office suite, editing Photo software, alternative Internet browser (s), various Internet plugins and a host of other things installed.

    If you are comfortable with the stability of your system, you can delete the uninstall of patches which has installed Windows XP...
    http://www3.TELUS.NET/dandemar/spack.htm
    (Especially of interest here - #4)
    (Variant: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm )

    You can run disk - integrated into Windows XP - cleanup to erase everything except your last restore point and yet more 'free '... files cleaning

    How to use disk cleanup
    http://support.Microsoft.com/kb/310312

    You can disable hibernation if it is enabled and you do not...

    When you Hibernate your computer, Windows saves the contents of the system memory in the hiberfil.sys file. As a result, the size of the hiberfil.sys file will always be equal to the amount of physical memory in your system. If you don't use the Hibernate feature and want to reclaim the space used by Windows for the hiberfil.sys file, perform the following steps:

    -Start the Control Panel Power Options applet (go to start, settings, Control Panel, and then click Power Options).
    -Select the Hibernate tab, uncheck "Activate the hibernation", and then click OK. Although you might think otherwise, selecting never under "Hibernate" option on the power management tab does not delete the hiberfil.sys file.
    -Windows remove the "Hibernate" option on the power management tab and delete the hiberfil.sys file.

    You can control the amount of space your system restore can use...

    1. Click Start, right click my computer and then click Properties.
    2. click on the System Restore tab.
    3. highlight one of your readers (or C: If you only) and click on the button "settings".
    4 change the percentage of disk space you want to allow... I suggest moving the slider until you have about 1 GB (1024 MB or close to that...)
    5. click on OK. Then click OK again.

    You can control the amount of space used may or may not temporary Internet files...

    Empty the temporary Internet files and reduce the size, that it stores a size between 64 MB and 128 MB...

    -Open a copy of Microsoft Internet Explorer.
    -Select TOOLS - Internet Options.
    -On the general tab in the section 'Temporary Internet files', follow these steps:
    -Click on 'Delete the Cookies' (click OK)
    -Click on "Settings" and change the "amount of disk space to use: ' something between 64 MB and 128 MB. (There may be many more now.)
    -Click OK.
    -Click on 'Delete files', then select "Delete all offline content" (the box), and then click OK. (If you had a LOT, it can take 2 to 10 minutes or more).
    -Once it's done, click OK, close Internet Explorer, open Internet Explorer.

    You can use an application that scans your system for the log files and temporary files and use it to get rid of those who:

    CCleaner (free!)
    http://www.CCleaner.com/
    (just disk cleanup - do not play with the part of the registry for the moment)

    Other ways to free up space...

    SequoiaView
    http://www.win.Tue.nl/SequoiaView/

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

    Those who can help you discover visually where all space is used. Then, you can determine what to do.

    After that - you want to check any physical errors and fix everything for efficient access"

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

    Cleaning the components of update on your Windows XP computer

    While probably not 100% necessary-, it is probably a good idea at this time to ensure that you continue to get the updates you need. This will help you ensure that your system update is ready to do it for you.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on theroot of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update (you * NOT * use the aggressive version):
    How to reset the Windows Update components?

    Reset.

    Now that your system is generally free of malicious software (assuming you have an AntiVirus application), you've cleaned the "additional applications" that could be running and picking up your precious memory and the processor, you have authorized out of valuable and makes disk space as there are no problems with the drive itself and your Windows Update components are updates and should work fine - it is only only one other thing youpouvez wish to make:

    Get and install the hardware device last drivers for your system hardware/system manufacturers support and/or download web site.

  • Can someone please tell me what version of Photoshop Elements will easily download and run with mac Snow Leopard 10.5.8?

    I posted a question which was: can someone please tell me what version of Photoshop Elements works with Mac Snow Leopard 10.6.8.  Then this window pops up saying mark this discussion with a question and this window.  I have no idea how it works. It is already a question and if I need to point out that how this window it looks like a word of edition window, help me to do this? Download, installation, setting up

    You asked the question in the title area instead of the area where the body of your posting is intended to be.  No fault of your own - they need to make more clear form.

    Check the system requirements for the different versions of Photoshop Elements and see who fits your system.  Adobe sells only the latest versions of their software, so if you need an earlier version, you will need to find a seller for her.

    System requirements | Adobe Photoshop Elements

  • Can someone please tell me exactly what spec, I need to buy a unit of optical disc (DVD) to replace my MacBook Pro 15 "mid-2009?

    Can someone please tell me exactly what spec, I need to buy a unit of optical disc (DVD) to replace my MacBook Pro 15 "mid-2009? When I try to insert a disc, there is a solid block in the slot.

    I guess that you may have about a Superdrive replacement for your MacBook Pro 2009.

    This link will show you are the specific item and its requirements:

    -040 https://www.iFixit.com/Store/Mac/MacBook-MacBook-Pro-15-inch-8x-SuperDrive/IF185-1? gclid = Cj0KEQjw3ZS-BRD1xu3qw8uS2s4...

Maybe you are looking for

  • envy110

    Hello I'm running on el capitan 10.11.6 on iMac (early 2008), I've always been able to print and scan wirelessly with my hp envy110, for some reason, I can no longer, tried to install the latest drivers for the printer or delete, add to scratch new p

  • Satellite A300-203 - need drivers in Windows XP Home edition for the HDMI output

    Hello world! Given the poor performance of Vista, I decided to install XP on this machine. I installed all the drivers (from the Toshiba Site) available for my laptop XP, everything is a work, * but HDMI Out does not work *. I tried to install the dr

  • Skype Causes BSOD on login

    Hi I beenhaving this problem for about a month. What happens is that Skype opens, and the wheel connection will start spinning, but as soon as it is supposed to finish my screeching blue screens and computer to a halt, forcing me to reboot. I looked

  • Pilots and S/W for PCI-6533

    I found a card PCI-6533 since our society brought to assess, but I don't have the drivers.  I want to evaluate its performance in my application for digital i/o (TTL of 16 bits with an external clock (1.68 MHz) and the switch (to start and stop the c

  • KB2597112 and KB2598292 do not repeatedly move

    I tried the Microsoft Fix - It, who found a problem with microsoft update and supposed to be fixed, but updates still wouldn't install.  They are: Update of security for Microsoft Office 2003 (KB2597112)Update for the filter of junk e-mail in Outlook