A really stupid question - Please Help

Hi Just learning Java, so please forgive my ignorance
I've built a splash screen for an appilcation and cannot get the applicationMain, to initialise the Splash, this is the code I have:
class applicationMain
     public static void main (String args[])
          application appv1= new application ("Application");
mySplash splash = new mySplash(display,"My Splash", true);
but it won't compile with the second line in mySplash.... it keeps highlighting the display.
Please help as it driving me nuts!
Thanks

import java.awt.*;
import java.awt.event.*;
public class mySplash extends Dialog implements ActionListener
     private Label west;
     private Label east;
     private Panel northPanel;
     private Label northLabel1;
     private Label northLabel2;
     private Panel southPanel;
     private Button ok;
     private logo picture;
     mySplash (Frame parent, String title, boolean modality)
          super (parent, title, modality);
          west = new Label (" ");
          east = new Label (" ");
          northLabel1 = new Label ("Designed by Kay M Nelson", Label.CENTER);
          northLabel2 = new Label ("Student No 02430541, March 2003", Label.CENTER);
          ok = new Button ("Ok");
          northPanel = new Panel ();
          northPanel.setLayout (new GridLayout (2,1));
          northPanel.add(northLabel1);
          northPanel.add(northLabel2);
          southPanel = new Panel ();
          southPanel.add (ok);
          picture = new logo();
          this.add("North", northPanel);
          this.add("East", east);
          this.add("West", west);
          this.add("South", southPanel);
          this.add("Center", picture);
          addWindowListener (new WindowAdapter ()
               public void windowClosing (WindowEvent e)
                    shut();
          ok.addActionListener (this);     
          this.setSize (400,380);
          this.setResizable (false);
          this.setVisible (true);
     public void actionPerformed (ActionEvent ae)
          if (ae.getSource () == ok)
                    shut();
     private void shut ()
          dispose ();
This part compiles ok

Similar Messages

  • A really quick question- please help!

    How do I find out the MAC address of my airport card in my laptop! Just moved from PC to Mac so don't have a clue where to start!
    Thanks,
    Jack

    Click the apple in the top left corner > click "About This Mac" > Click "More Info" > Scroll Down to Network > Click "Locations" > Scroll Down in the Right Pane about 3/4ths of the way to "Airport" > There it is

  • Stupid questions Please Help

    1. how can i use the previous command ( like DOS' upper arrow key).
    2. how can i find a specific file in unknown directory (like DOS' dir filename /s)
    thanks,
    david

    1. how can i use the previous command ( like DOS'
    upper arrow key).$ksh -o vi
    ESC k combination will put you in command mode enabling you use arrow keys for previous commands. Pressing i or a will allow you to insert or append to the command.
    >
    2. how can i find a specific file in unknown directory
    (like DOS' dir filename /s)#find / -name "file-name-you-want" -print
    this will start from root / dir to search from any other dir substitute / with dir you want.
    Thanks,
    Hemant
    http://www.adminschoice.com

  • My phone says there's 0 bytes available but only 6 GB are used the phone is supposed to be 8 GB I have no pictures at all and only 6 apps this is really bothering me please help I can't even take pictures because it says I've no storage

    My phone says there's 0 bytes available but only 6 GB are used the phone is supposed to be 8 GB I have no pictures at all and only 5 apps this is really bothering me please help I can't even take pictures because it says I've no storage I also have no messages at all

    My iPhone is a 16GB and it says 9.0GB Available and 3.7GB used; I suspect the missing 2.3GB is occupied by the system software.

  • HT2968 I can not update several of my apps that i have purchased a while back in my Apps Store on my MacPro. Because it keeps using my old @me account for iTunes and i don't remember the password or security question, Please help?

    I can not update several of my apps that i have purchased a while back in my Apps Store on my MacPro. Because it keeps using my old @me account for iTunes and i don't remember the password or security question, Please help?

    Hi AlphaCentori,
    If you are having issues accessing the Apple ID that was used to originally purchase those apps, you may find the following article helpful:
    Apple Support: Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/ht5312
    Regards,
    - Brenden

  • I want to change my apple id password but I forgot the security questions please help me some using my icloud I'd

    I want to change my apple id password but I forgot the security questions please help me some using my icloud I'd and if confirmation is must so please phone number is mine please send a code please help me my apple

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • My apple id have been blocked an i do not remember the identity or security question please help what can i do?

    my apple id have been blocked an i do not remember the identity or security question please help what can i do?

    If your account is disabled you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your iPhone and iPad by tapping on your id in Settings > iTunes & App Storeand then log back in so as to 'refresh' the account on it.
    For your security questions, if you have a rescue email address (which is not the same thing as an alternate email address) on your account then the steps half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address then you will need to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699 (you can also try this link if you can't get your account enabled via the above)
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use

  • Macbook air adapter heats up really bad ! please help

    Hello Folks !!
    This is Jan and i purchased macbook air 11 inch 64 gb ultrathin laptop 2 months back. i use this laptop for watching youtube videos or occasional skype chat with family and friends and each day i dont use my laptop for more than 4 hours.
    Yesterday i was watching youtube video and after 2 hrs, the adaptor got so hot and i was afraid and pulled power and switched off laptop.
    Are thare any macbook air adaptor knows issues and why my macbook air adaptor heats up really bad ?
    Please help me resolve my issue with macbook air adaptor.
    Please help.
    Thanks
    Jan

    The power adaptor will always get a little warm or even hot during use.
    How hot did it get? Was it smoking, melting, or discoloring?
    If not, then that little bit of heat is usual and you shouldn't worry about it too much.
    Hope this helps,
    NWB1

  • Hi, I have traveled the country and have forgotten my security questions please help me thank you

    Hi, I have traveled the country and have forgotten my security questions please help me thank you

    Call Apple to help reset your Security Question.
    http://support.apple.com/kb/HT5699

  • HT201303 I forgotten my answer of security questions, please help me. Thank you !

    I forgotten my answer of security questions, please help me. Thank you !

    You need to ask Apple to reset your security questions; as described in this article, it can be done in Vietnam by phoning 1-201-0288 and then 800-708-5413.
    (107433)

  • HT201363 Hello, I have my pass word, I have my Apple ID, but itunes think I am buying a song for the first time and is asking me 2 security questions, please help, what should i do?

    I cannot remember the answeres to my security questions, please help.

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105959)

  • I want to change my security question in my apple accnt. but the problem is, there is no Link shown that i could reset or change my security questions. please help!!

    i want to change my security question in my apple account. but the problem is, there is no Link shown that i could reset or change my security questions. please help!!

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (117399)

  • I was hacked i kept getting emails that some purshcaes were being made when no one was downloading them and i guess they hacked my apple iD because they changed the security question and now i cant change anything without the security question please help

    I was hacked i kept getting emails that some purshcaes were being made when no one was downloading them and i guess they hacked my apple iD because they changed the security question and now i cant change anything without the security question please help i want to reset the security question but i cant.

    You should contact Apple by phone as soon as possible. You'll need to change your Apple ID and all passwords.
    See Contact Apple at the bottom right of this page.
    Hope this helps.

  • HT5312 i forgot my secret question, please help me this problem. Thanks

    I forgot my secret question, please help me this problem. Thanks

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    And/or see the  More Like This  section on the right.

  • Hi I live in Iran and I forgot the answer to the security question please help me thanks

    Hi I live in Iran and I forgot the answer to the security question please help me thanks

    How to reset your Apple ID security questions.
    Go to appleid.apple.com, click on the blue button that says 'Manage Your Apple ID'.
    Log in with your Apple ID and password. (If you have forgotten your Apple ID password, go to iforgot.apple.com first to reset your password with a password recovery email)
    Go to the Password & Security section on the left side, and click on the link underneath the security questions that says 'Forgot your answers? Send reset security info email to [email]'.
    This will generate an automated e-mail that will allow you to reset your security questions.
    If that doesn't work, or  there is no rescue email link available, then click on 'Temporary Support PIN' that is in the bottom left side, and generate a 4-digit PIN for the Apple Account Security Advisor you will be contacting later.
    Next, go to https://getsupport.apple.com
    (If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services')
    Choose 'More Products & Services', then 'Apple ID'.
    A new page will open.
    Choose 'Other Apple ID Topics', then 'Forgotten Apple ID Security Questions'.
    Click the blue 'Continue' button.
    Select the contact option that suits your needs best.

Maybe you are looking for

  • Email setup on Treo Pro

    I live in Australia and use the carrier Telstra but there are no aussie support forums. I have set up my email for my Internode Pop 3 account the same way I did for the old Palm Centro and as per instructions on the Palm site. The Palm Centro worked

  • Returning error messages from media server

    My application requires that I can get detailed feedback from the FMS upon a given failure. For instance, if I try to open a stream who's file does not exist, is it possible to have a message or error code returned to Flash so that I can deal with th

  • [Solved]Can sox use thunar's synatax to add wavs from within a folder?

    Sorry I renamed this topic to be more specific to the issue(re-edit: oops that was a terrible subject title earlier I must've rushed when editing.) NOTE:A workable solution is in my last post... Ok I'm trying to configure Thunar to run a simple scrip

  • New EIT Not appearing for Organization classification

    Hi all, I have set up a new EIT for the organization. I have run the scripts for populatting the information_type in the hr_org_information_types table and also hr_org_info_types_by_class but the new EIT is not appearing in the new classification. Ca

  • Error message: the resource type must not be null.

    Hi, I have working on Integrating Oracle E-Business Suite Release 12 with Oracle Access Manager 11gR1 PS2 (11.1.1.7.0) using Oracle E-Business Suite AccessGate. I am getting this error when I am Register the WebGate Agent with Oracle Access Manager.