DEAL OR NO DEAL HELP THIS IS URGENT PLEASE HELP ME!!!!!

i have a project due in two days and i must create a deal or no deal game in java the following is the code i have currently created i am not very advanced so this is where i am at so far:
// The "DealorNoDeal" class.
import java.awt.*;
import hsa.Console;
import java.util.Random;
public class DealorNoDeal
    static Console c;
    public static void main (String[] args)
        c = new Console (30, 110, 15, "DEAL OR NO DEAL");
        //setSize(500,500);
        double[] CasesValues = {.01, 1, 5, 10, 25, 50, 75, 100, 200, 300, 400, 500, 750, 1000, 5000, 10000, 25000, 50000, 75000, 100000, 200000, 300000, 400000, 500000, 750000, 1000000};
        double[] Case = new double [26];
        int number = 0, Choosen, Remove = 0, Offer = 0;
        double PlayerCase;
        Random generator = new Random ();
        boolean Picked = false;
        char Deal = ' ';
        boolean Not = false;
        String name;
        // USER ENTERS THEIR NAME
        c.println ("Please enter your name: ");
        name = c.readString ();
        c.println (" ");
        // THIS PUTS THE NUMBERS IN THEIR CASES
        for (int i = 1 ; i < 26 ; i++)
            number = generator.nextInt (26);
            Case = CasesValues [number];
for (int i = 0 ; i < 13 ; i++)
c.println (CasesValues [i] + "\t\t" + CasesValues [i + 13]);
// THE USER CHOOSES THEIR CASE
c.println ("Please Pick Your Case");
Choosen = c.readInt ();
PlayerCase = Case [Choosen];
c.clear ();
// THE USER PICKS 6 CASES TO REMOVE
for (int x = 1 ; x < 7 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 19;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("ALRIGHT NOW YOU MUST OPEN 5 CASES");
// THE USER PICKS 5 CASES TO REMOVE
for (int x = 1 ; x < 6 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 14;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("ALRIGHT WE WILL CONTINUE TO OPEN CASES");
// THE USER PICKS 4 CASES TO REMOVE
for (int x = 1 ; x < 5 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 10;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("ALRIGHT WE WILL CONTINUE BY OPENING 3 CASES");
// THE USER PICKS 3 CASES TO REMOVE
for (int x = 1 ; x < 4 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 7;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("ALRIGHT," + name + "YOU MUST CHOOSE 2 CASES TO OPEN NOW");
// THE USER PICKS 2 CASES TO REMOVE
for (int x = 1 ; x < 3 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 5;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("ALRIGHT," + name + "YOU MUST CHOOSE 1 CASE TO OPEN NOW");
// THE USER PICKS 1 CASES TO REMOVE
for (int x = 1 ; x < 2 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 4;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("ALRIGHT," + name + "YOU MUST CHOOSE 1 CASE TO OPEN NOW");
// THE USER PICKS 1 CASES TO REMOVE
for (int x = 1 ; x < 2 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 3;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("ALRIGHT," + name + "YOU MUST CHOOSE 1 CASE TO OPEN NOW");
// THE USER PICKS 1 CASES TO REMOVE
for (int x = 1 ; x < 2 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 2;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("NOW ITS TIME TO OPEN ONE MORE CASE");
// THE USER PICKS 1 CASES TO REMOVE
for (int x = 1 ; x < 2 ; x++)
c.print ("Please Choose Case To Remove: ");
Remove = c.readInt ();
for (int i = 1 ; i < 26 ; i++)
if (Remove == i)
c.clear ();
c.println ("You Picked Case " + Remove + " That had a value of " + Case [i]);
Case [i] = 0;
c.println ();
c.print ("Case Numbers Picked: ");
for (int i = 1 ; i < 26 ; i++)
if (Case [i] == 0)
c.print (" " + i);
c.println ();
// CALCULATES AND MAKES OFFER
for (int i = 1 ; i < 26 ; i++)
Offer += Case [i];
Offer = Offer / 2;
c.clear ();
c.println ("The Offer is: " + Offer);
c.println ("DO YOU ACCPET (Y/N)");
Deal = c.readChar ();
if (Deal == 'Y' || Deal == 'y')
c.clear ();
c.println ("CONGRATS, YOU LEAVE WITH " + Offer + "DOLLARS");
else if (Deal == 'N' || Deal == 'n')
c.println ("NOW ITS TIME TO OPEN YOUR CASE, YOUR CASE CONTAINED " + (Offer * 2) + " DOLLARS");
i would really appreciate it if you could show me how to tell the player when they have already chose a case and not let them choose it again and if possible have all the values display and eliminate the values as they the cases are opened my e-mail is [email protected] if you can e-mail there or add me on msn it would be really appreciated also for future reference thanks

Why is everybody on this thread so violent.Nobody was violent.
Just to address my first posts.
1) The subject line is very annoying
2) Asking for people to email you is not on
3) The code is crap. It's unbearable lengthy and the more I looked at it the more I cringed. As you yourself noted in your reply more methods would be a good start. Even if hero were to get the program in it's current form to work then as a grade it gets no better than a D and possibly an F anyway.
So while I think encouragement is fine and noble there are sometimes you have to call a spade a spade. The OP (_hero_) if he wants help here needs to be prepared to interact on the forum in a communally acceptable fashion (see 1 and 2) and to start from scratch with his code (see 3). While this may not be what the OP wanted to hear playing pollyanna about it is counter-productive.
All I did was give my advice to the guy and now IM
getting torn to pieces by prometheuzzzzzzz and
marcrules.
Look:
1) I taught myself Java and I didn't learn the
conventions properly (at all).
2) I can't indent code directly in the java forum
message editor.
3) When I write my posts I often dont test them
because they're pseudo-code so they dont need to be
made in Eclipse or JCreator or w/e.There is a lot of whining going on here. Just take the advice given for what it is worth. Learn conventions. Start indenting. Stop using an IDE (for now).
Above all stop taking it so personally. If you post code that is crap on this site more often then not someone will point it out. Subtly or un-subtly as the case may be.
4) Stop being so violent towards people when they're
asking for helpAgain see my previous points. Nobody was violent to anyone. Further the OP needs a wakeup call.
>
Does that explain why i code as i do?Not really.

Similar Messages

  • Why isnt this working urgent please help

    why isnt this working im trying to connect a panel to a scrollpane the panel will contain several dozen text fields
    the scrollpane shouls be about 350, 450 , but the pane is 350
    by 1200 the problem now is that the scorllbar isnt created and even when I explictly create it it contains no knob, and it will
    not scroll up or down please someone help this is urgent
    import java.awt.*;
    import com.sun.java.swing.*;
    public class ScrollDemo extends JPanel {
         private Rule columnView;
         private Rule rowView;
         private ScrollablePicture picture;
         class UnitsListener implements ItemListener {
              public void itemStateChanged(ItemEvent e) {
                   if (e.getStateChange() == ItemEvent.SELECTED) {
                        // Turn it to metric.
                        rowView.setIsMetric(true);
                        columnView.setIsMetric(true);
                   } else {
                        // Turn it to inches.
                        rowView.setIsMetric(false);
                        columnView.setIsMetric(false);
                   picture.setMaxUnitIncrement(rowView.getIncrement());
    public ScrollDemo() {
         Two t = new Two(columnView.getIncrement());
              JScrollPane pictureScrollPane = new JScrollPane(t);
              pictureScrollPane.setPreferredSize(new Dimension(300, 250));
              pictureScrollPane.setColumnHeaderView(columnView);
              pictureScrollPane.setRowHeaderView(rowView);
         public static void main(String s[]) {
              JFrame frame = new JFrame("ScrollDemo");
              frame.setContentPane(new ScrollDemo());
              frame.setVisible(true);
    import java.awt.*;
    import com.sun.java.swing.*;
    public class Two extends JPanel implements Scrollable{
    private JPanel ivjJPanel3 = null;
         private JScrollPane ivjJScrollPane1 = null;
         private int maxUnitIncrement = 1;
    public Two(int m)
         getJPanel1();
         maxUnitIncrement = m;
         setSize(300,1200);
    private void getJPanel1() {
                   setLayout(null);
                   setSize(250,1200);
                   add(getJLabel1(), getJLabel1().getName());
    public Dimension getPreferredScrollableViewportSize() {
              return getPreferredSize();
         public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation,
         int direction) {
              if (orientation == SwingConstants.HORIZONTAL)
                   return visibleRect.width - maxUnitIncrement;
              else
                   return visibleRect.height - maxUnitIncrement;
         public boolean getScrollableTracksViewportHeight() {
              return false;
         public boolean getScrollableTracksViewportWidth() {
              return false;
         public int getScrollableUnitIncrement(Rectangle visibleRect,
                                                      int orientation,
                                                      int direction) {
              //Get the current position.
              int currentPosition = 0;
              if (orientation == SwingConstants.HORIZONTAL)
                   currentPosition = visibleRect.x;
              else
                   currentPosition = visibleRect.y;
              //Return the number of pixels between currentPosition
              //and the nearest tick mark in the indicated direction.
              if (direction < 0) {
                   int newPosition = currentPosition -
                                       (currentPosition / maxUnitIncrement) *
                                       maxUnitIncrement;
                   return (newPosition == 0) ? maxUnitIncrement : newPosition;
              } else {
                   return ((currentPosition / maxUnitIncrement) + 1) *
                        maxUnitIncrement - currentPosition;
         public void setMaxUnitIncrement(int pixels) {
              maxUnitIncrement = pixels;

    I personally didn't play with swing components when they were in the com.sun.java.swing state, but I have a strong feeling it is very buggy and could be causing your problem.
    Before posting gui issues, please use a newer API, even jdk1.1 would be fine, anything would be better than what your using.
    you wrote: I dont care if its javax.swing or
    com.sun.java.swing
    I would also gather from this statement that your attitude could be one of your other issues.

  • This is urgent please help!  long running job in sm37 but not in sm66

    Hi,
    Can someone please help for an explanation as to why if you call sm37, you can see that the job is long running (example about 70,000 sec), but when you look at the PID where the job is running in sm66 it does not show 70,000 sec but only around 6,000 sec.
    Can someone please explain why?  Thank you very much

    For background processes, additional information is available for the background job that is currently running. You can only display this information, if you are logged onto the instance where the job is running, or if you choose Settings and deselect Display only abbreviated information, avoid RFC. In any case, the job must still be running.
    Regards
    Anilsai

  • I have had creative cloud for a while now and suddenly indesign dissapeared off of my macbook pro and now won't install again! This is urgent please help.

    I checked its been uninstalled from my mac and then every time I reinstall it, it just perpetually sits on that page that says 'inDesign is downloading now'... but it never does. Need urgent help please! Photoshop and illustrator remained on my mac no issue there. Whats going on?...

    Musecatherine please begin the installation process in the Creative Cloud Desktop application.  You can find details on how to install the Adobe Creative applications, included with your membership, at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.
    It is likely that the AAM Detect Plug-in is not installed or blocked by your current web browser.  This is why no action occurs when you are on the download page.

  • Tv tuner problem!!!!  this is urgent please help....

    Hi,
    I'm trying to capture vidfeo from tv tuner I've done it before with several kinds of tuners
    I'm using " Ati All In Wonder 128 " -display adapter with tv tuner- now and it is giving strange colors on JMF
    studio although it runs fine on Ati software
    any help will be good even any wild guesses will be helpful
    duke

    thanks for your reply
    this problem is fixed now after I captured another format UYVY instead of YUV
    but there is a nother problem if capture with 16 pits per pixel the screen is fine but with 24 a thick black line is at the top of the screen
    the problem is I can change the pits per pixel parameter in jmf studio
    but in my code
    I query the CaptureDeviceManager with a VideoFormat object (it has no way to set the pits per pixel)
    and it is giving the black line
    and when I try to query the CaptureDeviceManager with RGBFormat object to set teh pits per pixel
    It returns a 0 length array of capture device info
    are you familiar with such a problem
    thanks in advance

  • How to write this application - URGENT PLEASE HELP

    I would like to write a program for a supermarket loyalty card system. The program should have 2 customers and 2 gifts on offer. The customer details and the gift details can be hard coded.
    When the program starts the user should be shown a menu which will have options to
    view all customer details
    add points for a customer
    buy a gift
    When the user chooses to buy a gift ro to add points, any changes made to the customers' points must be done using methods. Adding or buying gifts should be done using customer id's and gift id's.
    The user must be able to see the altered points.
    I WILL APPRECIATE IF I COULD GET HELP EVEN FOR PSEUDOCODE.

    Not as much as this guy tho http://forum.java.sun.com/thread.jsp?forum=31&thread=486327&tstart=150&trange=15

  • Urgent please help, this program should work

    Urgent please help.
    I need to solve or I will be in big trouble.
    This program works at my home computer which is not networked.
    The hard disk was put onto another computer at another location whihc is networked. Here my program worked on Monday 14 october but since for the last two days it is not working without me changing any code. Why do I receive this error message???
    Error: 500
    Location: /myJSPs/jsp/portal-project2/processviewfiles_dir.jsp
    Internal Servlet Error:
    javax.servlet.ServletException
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460)
    at jsp.portal_0002dproject2.processviewfiles_dir_1._jspService(processviewfiles_dir_1.java:162)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
    at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
    at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
    at org.apache.tomcat.core.Handler.service(Handler.java:235)
    at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
    at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
    at java.lang.Thread.run(Thread.java:536)
    Root cause:
    java.lang.NullPointerException
    at jsp.portal_0002dproject2.processviewfiles_dir_1._jspService(processviewfiles_dir_1.java:132)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
    at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
    at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
    at org.apache.tomcat.core.Handler.service(Handler.java:235)
    at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
    at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
    at java.lang.Thread.run(Thread.java:536)

    foolishmatt,
    The code is quit large.
    to understand the program I think all the code needs to be examined.
    I would need to send to you in an email.
    Here is my e-mail
    [email protected]
    if you contact me than I can send the code to you.
    Thank you in advance.

  • Urgent, Please help me in this problem.I am getting problem while installation

    I am using Windows 8 in my system. I am trying to install Sql Server in system . Everything is fine, but finally  when i click on install button i am getting the following error .
    please help me quickly. I well be thankful to you.

    Triple post meanwhile:
    http://social.msdn.microsoft.com/Forums/en-US/7fafa499-ca1e-42f7-a117-73df924d9847/urgent-please-help-me-in-this-problemi-am-getting-problem-while-installation?forum=sqlsetupandupgrade
    http://social.msdn.microsoft.com/Forums/en-US/a1c7978c-2f84-495f-a8b6-9e9fe46654d7/getting-problem-while-installing-sql-server-2012?forum=sqlsetupandupgrade
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • I made upgrade for IOS to 7.04 but my iphone is second hand and when iphone need to make activation ,i don't have the apple ID so my iphone didn't work from this time so please help me urgent

    I made upgrade for IOS to 7.04 but my iphone is second hand and when iphone need to make activation ,i don't have the apple ID so my iphone didn't work from this time so please help me urgent.

    There isn't one.
    amrzaky wrote:
    I can't contact with previous owner s i need another solutoin
    The Apple ID and Password that was Originally used to Activate the iDevice is required.
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    You need to return the Device for a refund, as you will not be able to re-activate it.

  • Set Page "HEIGHT" ---Very Urgent, Please Help me on this issue. Please.

    Hi all ,
    Very Urgent, Please Help me on this issue.
    when_now_form trigger i set set maximize the window and MDI. And my window and canvas is same height (1500). The formsweb.cfg also changed to 1500. But still I can not view full page on web. Where to I change the properties. Please help.
    Selvam

    Is your form running inside the browser window (with SeparateFrame=False)? If the browser is maximized, and your form is maximized, yet you cannot see the entire screen, you can run with SeparateFrame=True. You can do that on the browser line.

  • My iPad refuses to turn on... HELP THIS IS URGENT!

    Just thismorning i had my iPad 2 working fine... until it ran out of charge. Yes, I put it on the charger. Once it had been charging for about 30 minutes, i attempted to switch it on, but the apple logo sign never moved. At some times, the iPad returned to the normal unlock screen, but when i did, it froze and the frozen apple sign appeared again.
    I thought that maybe plugging it into my computer backup source would help... Well, it kinda helped but the iPad is reacting as if it is brand new and its name is now ''iPad'' when clearly, before i had this problem, it was named ''Nicole's iPad''.
    Please help, this is urgent! I have school on Tuesday and if it is not repaired by then, my assignments and homework will be lost. Thankyou

    Try to hard boot it by pressing home key and power key at same time  and keep them pressed to the count of one to fifteen. 
    And wait for few minutes it will work
    If its not working yet then connect it iTunes and update it to iOS 6,
    Before updating do not forget to back up your iPad 

  • Kernel panics, message saying "You need to restart your computer.Hold down the Power..." I am in the middle of HSC very URGENT please help!! Mac keeps needing to restart!!

    Kernel panics, message saying "You need to restart your computer.Hold down the Power..." I am in the middle of HSC very URGENT please help!! Mac keeps needing to restart!!
    I looked in console and its saying that it may be because of Sophos Anti-Virus, i deleted and uninstalled all traces of Sophos but looked in console and this is some of the lines coming up:
    26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.intercheck[6460]) posix_spawn("/Library/Sophos Anti-Virus/InterCheck.app/Contents/MacOS/InterCheck", ...): No such file or directory
    26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.autoupdate[6461]) posix_spawn("/Library/Sophos Anti-Virus/SophosAutoUpdate.app/Contents/MacOS/SophosAutoUpdate", ...): No such file or directory
    26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.notification[6462]) posix_spawn("/Library/Sophos Anti-Virus/SophosAntiVirus.app/Contents/MacOS/SophosAntiVirus", ...): No such file or directory
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.intercheck[6460]) Exited with code: 1
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.intercheck) Throttling respawn: Will start in 10 seconds
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.autoupdate[6461]) Exited with code: 1
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.autoupdate) Throttling respawn: Will start in 10 seconds
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.notification[6462]) Exited with code: 1
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.notification) Throttling respawn: Will start in 10 seconds
    26/09/13 10:11:18.291 PM Safari: self <TabContentView: 0x7f8d5dd1aa50>
    26/09/13 10:11:22.617 PM Safari: self <TabContentView: 0x7f8d5db7bb00>
    26/09/13 10:11:27.866 PM Safari: self <TabContentView: 0x7f8d5c331a70>
    26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver[6487]) posix_spawn("/Library/Sophos Anti-Virus/SophosUIServer.app/Contents/MacOS/SophosUIServer", ...): No such file or directory
    26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver[6487]) Exited with code: 1
    26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver) Throttling respawn: Will start in 10 seconds"
    Looked all over computer and cant find anything of Sophos please help very urgent!

    That was all that there was in the most recent one, how long do you think it could take to fix?
    Here is the second most recent:
    Wed Sep 25 15:39:39 2013
    panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff7f81757965, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0xffffff81acc397fe, CR3: 0x000000001e2b5025, CR4: 0x00000000000606e0
    RAX: 0x000000001d31a000, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000000000000
    RSP: 0xffffff80b0dbb710, RBP: 0xffffff80b0dbb820, RSI: 0x0000000000000000, RDI: 0x0000000000000001
    R8:  0x000000000000000a, R9:  0x0000000000000378, R10: 0x0000000000000128, R11: 0x0000000000000378
    R12: 0xffffff800c626400, R13: 0x0000000000000000, R14: 0x0000000000000000, R15: 0xffffff81acc39802
    RFL: 0x0000000000010246, RIP: 0xffffff7f81757965, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0xffffff81acc397fe, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80b0dbb3c0 : 0xffffff8000220792
    0xffffff80b0dbb440 : 0xffffff80002c4794
    0xffffff80b0dbb5f0 : 0xffffff80002da55d
    0xffffff80b0dbb610 : 0xffffff7f81757965
    0xffffff80b0dbb820 : 0xffffff7f817667a0
    0xffffff80b0dbb840 : 0xffffff7f8173a58e
    0xffffff80b0dbb870 : 0xffffff7f8177fb6f
    0xffffff80b0dbb8a0 : 0xffffff7f81779632
    0xffffff80b0dbb8d0 : 0xffffff7f8177d7d5
    0xffffff80b0dbb900 : 0xffffff7f8177c6db
    0xffffff80b0dbb9e0 : 0xffffff7f817412b8
    0xffffff80b0dbba10 : 0xffffff7f81778684
    0xffffff80b0dbba30 : 0xffffff7f817449ce
    0xffffff80b0dbbb60 : 0xffffff7f81741a4c
    0xffffff80b0dbbbc0 : 0xffffff8000655f3e
    0xffffff80b0dbbbe0 : 0xffffff800065681a
    0xffffff80b0dbbc40 : 0xffffff8000656fbb
    0xffffff80b0dbbd80 : 0xffffff80002a3f08
    0xffffff80b0dbbe80 : 0xffffff8000223096
    0xffffff80b0dbbeb0 : 0xffffff80002148a9
    0xffffff80b0dbbf10 : 0xffffff800021bbd8
    0xffffff80b0dbbf70 : 0xffffff80002aef10
    0xffffff80b0dbbfb0 : 0xffffff80002daec3
          Kernel Extensions in backtrace:
             com.apple.driver.AppleIntelHD3000Graphics(7.3.2)[A2328231-E577-32FF-B20F-D08BDC FE9C51]@0xffffff7f81738000->0xffffff7f8179bfff
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f80889000
                dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f80d2e000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f80cf5000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    11G63b
    Kernel version:
    Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
    Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
    System model name: MacBookPro8,1 (Mac-94245B3640C91C81)
    System uptime in nanoseconds: 1866666823698
    last loaded kext at 480357661446: com.apple.filesystems.smbfs          1.7.2 (addr 0xffffff7f80795000, size 241664)
    last unloaded kext at 303348424187: com.apple.driver.AppleUSBUHCI          5.1.0 (addr 0xffffff7f80af7000, size 65536)
    loaded kexts:
    com.sophos.kext.sav          8.0.14
    org.virtualbox.kext.VBoxNetAdp          4.2.16
    org.virtualbox.kext.VBoxNetFlt          4.2.16
    org.virtualbox.kext.VBoxUSB          4.2.16
    org.virtualbox.kext.VBoxDrv          4.2.16
    com.logmein.driver.LogMeInSoundDriver          1.0.2
    com.Greatdy.driver.SystemAudioCapture          1.0.0
    com.apple.filesystems.smbfs          1.7.2
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.iokit.IOBluetoothSerialManager          4.0.8f17
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleHDA          2.2.5a5
    com.apple.driver.AppleMikeyDriver          2.2.5a5
    com.apple.driver.AGPM          100.12.75
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.SMCMotionSensor          3.0.2d6
    com.apple.driver.AppleSMCPDRC          5.0.0d8
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.3
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.driver.ApplePolicyControl          3.1.33
    com.apple.driver.ACPI_SMC_PlatformPlugin          5.0.0d8
    com.apple.driver.AppleIntelHD3000Graphics          7.3.2
    com.apple.driver.AppleBacklight          170.2.2
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleUSBTCButtons          227.6
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.8f17
    com.apple.driver.AppleUSBTCKeyboard          227.6
    com.apple.driver.AppleIRController          312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.iokit.SCSITaskUserClient          3.2.1
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCISerialATAPI          2.0.3
    com.apple.iokit.IOAHCIBlockStorage          2.1.0
    com.apple.driver.AppleUSBHub          5.1.0
    com.apple.driver.AppleFWOHCI          4.9.0
    com.apple.driver.AirPort.Brcm4331          561.7.22
    com.apple.driver.AppleSDXC          1.2.2
    com.apple.iokit.AppleBCM5701Ethernet          3.2.4b8
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleAHCIPort          2.3.1
    com.apple.driver.AppleUSBEHCI          5.1.0
    com.apple.driver.AppleACPIButtons          1.5
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.5
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          195.0.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1.4
    com.apple.security.TMSafetyNet          8
    com.apple.driver.AppleIntelCPUPowerManagement          195.0.0
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.driver.DspFuncLib          2.2.5a5
    com.apple.iokit.IOSurface          80.0.2
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleHDAController          2.2.5a5
    com.apple.iokit.IOHDAFamily          2.2.5a5
    com.apple.iokit.IOAudioFamily          1.8.6fc18
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleGraphicsControl          3.1.33
    com.apple.driver.AppleSMC          3.1.3d10
    com.apple.driver.IOPlatformPluginLegacy          5.0.0d8
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.IOPlatformPluginFamily          5.1.1d6
    com.apple.iokit.IONDRVSupport          2.3.4
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.driver.AppleIntelSNBGraphicsFB          7.3.2
    com.apple.iokit.IOGraphicsFamily          2.3.4
    com.apple.kext.triggers          1.0
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.8f17
    com.apple.iokit.IOBluetoothFamily          4.0.8f17
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.5
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.5
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.5
    com.apple.driver.AppleUSBMultitouch          230.5
    com.apple.iokit.IOUSBHIDDriver          5.0.0
    com.apple.driver.AppleUSBMergeNub          5.1.0
    com.apple.driver.AppleUSBComposite          5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.2.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.2.1
    com.apple.driver.AppleThunderboltNHI          1.6.0
    com.apple.iokit.IOThunderboltFamily          2.0.3
    com.apple.iokit.IOUSBUserClient          5.0.0
    com.apple.iokit.IOFireWireFamily          4.4.8
    com.apple.iokit.IO80211Family          420.3
    com.apple.iokit.IOEthernetAVBController          1.0.1b1
    com.apple.iokit.IONetworkingFamily          2.1
    com.apple.iokit.IOAHCIFamily          2.0.8
    com.apple.iokit.IOUSBFamily          5.1.0
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          177.11
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.driver.DiskImages          331.7
    com.apple.iokit.IOStorageFamily          1.7.2
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.5
    com.apple.iokit.IOPCIFamily          2.7
    com.apple.iokit.IOACPIFamily          1.4

  • Encrypting and Decrypting Data(Its Very Urgent, Please Help.)

    Hi,
    Can anyone tell me some idea in the below mentioned details.
    Iam creating a Function for Encrypting and Decrypting Data Values using
    DBMS_OBFUSCATION_TOOLKIT with UTL_RAW.CAST_TO_RAW by using
    Key Value as normal.
    But the problem, is it possible to have the key value more than 8.
    Its showing me error when i give the key value less than 8 or more than 8.
    Can u tell me why it happens, is that the limit of the key value or is any other way to do that.
    Its Very Urgent, Please Help.
    Thanks,
    Murali.V

    Is this what you're looking for?
    Usage Notes
    If the input data or key given to the DES3DECRYPT procedure is empty, then the procedure raises the error ORA-28231 "Invalid input to Obfuscation toolkit."
    If the input data given to the DES3DECRYPT procedure is not a multiple of 8 bytes, the procedure raises the error ORA-28232 "Invalid input size for Obfuscation toolkit." ORA-28233 is NOT applicable for the DES3DECRYPT function.
    If the key length is missing or is less than 8 bytes, then the procedure raises the error ORA-28234 "Key length too short." Note that if larger keys are used, extra bytes are ignored. So a 9-byte key will not generate an exception.
    C.

  • Date format Problem in OAF R12 Urgent Please help!!!

    We have acustom application in OAF which was developed in 11i. Now we migrated the same to R12.
    In this there are two date fileds getting dispayed on the page and the query for the same is
    SELECT TO_CHAR (SYSDATE, 'dd-mm-yyyy') AS CURRENT_DATE, UPPER (TO_CHAR (SYSDATE - 10, 'mon-yy')) AS g_period, UPPER (TO_CHAR (SYSDATE + 5, 'mon-yy')) AS gnext_period, TO_CHAR (sysdate,'dd-mon-yyyy') as today_date, TO_CHAR (sysdate - 1,'dd-mon-yyyy') as yesterday_date FROM DUAL
    In 11i version the output is dispaying correctly but in R12 the current date is dispayed as
    Start Date 04-Nov-5242
    End Date 04-Nov-5241
    As per logic it should be
    Start Date 09-Feb-2012
    End Date 10-Feb-2012
    Please help..Urgent issue.

    Here are the answers to your problems :
    1. Once u restart , the oracle services and the database is not mounting automatically.That is because, when you install the Oracle Oracle8i Standard Edition Release (8.1.7), the two key services namely
    OracleOraHome81TNSListner and
    OracleService<your SID name>
    are configured as manual start ( check the NT --> start>setting>control panel>services. )
    For the database to start automatically the next time you start your machine, these two services will have to be put into "Automatic Start" mode.
    < for this double click on the respective service, select the "Automatic" radio button and click on ok>.
    Now when you restart the machine, your database will be automatically mounted.
    2. this as explained above is a corollory to the above problem. you can start or stop your database on NT using the "Services" window....
    hope this helps.
    bye.
    Hi All,
    I have installed Oracle Oracle8i Standard Edition Release (8.1.7) from technet site.
    I have installed it on windows NT 4.0 .
    Installation is fine.
    I can access or get into SQL prompt .
    I have created a database also.
    1st problem
    My problem is once I restart the Machine and try to access SQL plus .it gives me an error
    ORA-01034: Oracle not available
    ORA-27101: shared memory realm does not exist.
    2nd problem
    I dont know how to start and stop the database , as there is nothing to do that in the start menu of Oracle .
    How do i do this .
    This is very urgent please help.
    regards,
    Preeti

  • Hi guys urgent please help me ASAP my ipod touch 4g reboots/restarts over and over again and i cant enter DFU mode cause my home button is stuck/broken please help guys i cant enter itunes too cause it said it needs my passcode

    hi guys urgent please help me ASAP my ipod touch 4g reboots/restarts over and over again and i cant enter DFU mode cause my home button is stuck/broken please help guys i cant enter itunes too cause it said it needs my passcode the problem is i cant even enter my passcode in my ipod touch cause its rebooting over and over again help please guys

    - See if this program will place it in recovery mode since that erases the iPod and bypasses the passocode.
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    - Next try letting the battery fully drain. The try again.

Maybe you are looking for