What is my question

the teacher has given me a project. I try to remove some method of one component or add new method to that component therefore it become a new component. can I do that. how to start? can I find some sample code? for example JButton can be treated as a component. I remove a method "disable" from JButton. therefore JButton become a new component that is same as JButton except without "disable" method.at first, I try to do that in user-defined component. I think I should use some class in java.bean package. but still have no clue
sorry for my english

here i have created a new type of button that plays an AudioClip when you press it. i think this is what you are talking about, but this is much mcuh more interesting than a Button without a disable() method. don't be so lame.
class NewButton extends Button implements ActionListner{
  Audioclip clip;
  public NewButton(String string, AudioClip audioclip){
       super(string);
       clip=audioclip;
       this.addActionListner(this);
   public void actionPerformed(ActionEvent e){
      clip.play();

Similar Messages

  • I have no clue as to what my security question answers are and since this is my first purchase from my mac book it is asking for these. What do i do?

    I have no clue as to what my security question answers are and since this is my first purchase from my mac book it is asking for these. What do i do?

    You won't be able to change your rescue email address until you can answer 2 of your questions, you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down this page to update your rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • What causes a question mark icon to appear in a finder window?

    Hello,
       I was wondering if anyone knows what causes a question mark icon to appear at the top of a finder window?
    Thanks!

    Either the file or folder which was in that spot(if any) got moved or deleted, or a bad write to the Finder's plist file.
    (67394)

  • What does a question mark and i file mean on my macbook pro

    what does a question mark and i file mean on my macbook pro when i turn it on?

    To be more specific, the computer is not finding a valid system when it starts up. This may result from the hard drive's physical mechanism failing, or the system on the drive being corrupted in some way.
    Repairing permissions is not likely to fix this issue. Instead I would suggest booting from the system install DVD, running Disk Utility, selecting your hard drive's partition and select *Repair Disk*.
    Note: if the hard drive does not show up in Disk Utility at all, it is dead and will need to be replaced. Contact Apple (800-275-2273 in the USA) and have them set up warranty service, or carry the MacBook in to an Apple retail store to have it fixed. Be sure to [make an appointment|http://www.apple.com/retail] first you you may wait a long time to speak to a Mac Genius.
    If Repair Disk finds any problems and is able to correct them, you may be able to restart and everything be okay. If it is unable to correct the problems, you will need to erase and restore your hard drive.
    If Repair Disk does not find any problems, I would suggest an Archive and Install as described in [this article|http://support.apple.com/kb/HT1710].
    Best of luck.

  • TS2446 Is there a way to find out what your security question answer is?

    Is there a way to find out what your security question answer is?

    Amazing,  I can't find out what app on my phone just ran 388mb of data xfer at 2:44am yesterday while I'm sound asleep yet the LE types can subpoena and search warrant anything I do online and with who and for how long.  Verizon list who I receive phone calls from and make calls to and from where I receive messages and to whom/where I text but can't tell me squat about something that is eating up band width.  I'm sure it's probably some app that is running in the background on my phone. I've just got to figure out what it is and kill it.  I want to drop (cause I don't use it, it's slower than a dial up 1200bps modem)my data plans and save about $50 a month.

  • HT5312 I dont now what my security questions is ,, can you help??

    I dont now what my security questions is ,, can you help??
    All I remember is the name of my favorite teacher, a Haifa
    Thanx..

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (99824)

  • What does the question mark in upper left hand corner mean

    what does the question mark in upper left hand corner mean

    Do you mean on a thumbnail in the organizer?That means that organizer has lost track of the original file. Usually that happens when you've done something with the photo outside of organizer, like moved it or deleted the original. If you want organizer to be able to keep track of your photos, you need to do all moving and deleting from within the organizer, not in Windows Explorer or the Mac Finder.

  • I have no idea what my security question answers are. I just got a new ipas but it won

    I have no idea what my security question answers are. I just got a new ipas but it won't let me buy apps. How do I find my answers

    Apple ID security issues -
    Call Apple Care and ask for the Account Security Team. They can assist you with your issue.

  • When I go to buy an app that isn't free it asks for my security question but I don't know what my security question is so I go to change it and it said it will send the info to this email that I don't even have. What do I do?

    When I go to buy an app that isn't free it asks for my security question but I don't know what my security question is so I go to change it and it said it will send the info to this email that I don't even have. What do I do?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • What kind of questions can be asked from business in an enhancement?

    Hello people,
    I am working on an enhancement which talks about a program which checks if the ee exists in the system, or not. How can I approach this ENH? What kind of questions should I ask business, Please advise.
    Thanks,
    JEss..

    Hi,
    The best way to check whether a personnel exists on the system is to check for the unique ID given to the person by the states (as you said one example is the SSN for US). I guess all of the countries has this king of unique ID attached to their citizens. However, in case of a multi-national implementation, you may need a more integrated way of checking these several types of numbers. Checking for the full name may only work with user interaction.
    Regards,
    Dilek

  • What is this question (below) about ?

    Using SQL Deveoper to do this question:
    What is this question (below) about ?
    Number of Logins
    This statistics will keep track of number of user logins into Library Website within and outside school campus.
    Statistics is recorded on an hourly basis. Users may select statistics by
    yearly (statistics displayed by all months in the selected year)
    monthly (statistics displayed by all days in the selected month)
    daily (statistics displayed by all hours in the selected day)
    Message was edited by:
    user579538

    the person who can best give you the right answer is no other than the person who gave you that question.
    with that limited information you gave me, it's quite difficult for me to point you in the right direction as i don't know the whole picture of your problem.
    if you would insist so, i would say take up the ff courses:
    1. Introduction to SQL/SQL*Plus
    2. PL/SQL
    3. Oracle Reports
    3. Oracle Forms
    4. Oracle Portal/Collaboration suite
    5. etc.
    and these will take you some time to accomplish.

  • I can't change my appleID password as I have no idea what my security questions are! HELP!!!! I am not getting any messages to nmy new, awesome Samsung S4

    I can't change my appleID password as I have no idea what my security questions are! HELP!!!! I am not getting any messages to nmy new, awesome Samsung S4

    Hello Jaded1234,
    The steps in the articles below will guide you in setting up your rescue email address and resetting your security questions:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    If you continue to have issues, please contact our Account Security Team as outlined in this article:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • HT5312 I'm trying to purchase an app am I can't remember what my security question answers are.

    I'm trying to purchase an app am I can't remember what my security question answers are.

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (97408)

  • I don't remember what my security question answers were i don't remember making them

    I don't remember what my security question answers were i don't remember making them

    See Kappy's great User Tips.
    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities https://discussions.apple.com/docs/DOC-4551
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us http://www.apple.com/emea/support/itunes/contact.html
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service http://support.apple.com/kb/HE57
     Cheers, Tom

  • "What Size" results question. How can I locate used GB not appearing on HD?

    My Version Tracker "What Size" results are as follows:
    / - on disk 91.4 GB
    Capacity 465 GB
    Used 145 GB
    Available 320 GB
    71.1 GB Users
    8.61 GB Applications
    6.34 GB Library
    2.67 GB username
    1.43 GB System
    I have about 30 GB of songs, 5 GB of Pictures, and 30 GB of movies. So I am confident that the "Users" total (71.1 GB) is in keeping with what I have used. (And Users, Applications, Library, username, and System all equal what is "on disk, 91.4 GB.")
    What I am wondering is, how can I locate the unaccounted for 53.6 GB? (Which is 91.4 subtracted from the "Used 145 GB.")
    I have been unsuccessful in finding any searches related to this subject that I can use. I found a couple about using Terminal, however, I would need step by step procedures for that.
    Any ideas, articles, or threads anyone can point me to?

    368/2814
    Hi jpwill,
    First of all, always keep in mind the double standard problem that prevents from being able to make straight, simple, easy counts. See:
    - (KB article # 30065) Macintosh Hard Disk: Is It Missing Space?
    Then, WhatSize should be run separately from each user account, as you cannot use it to spy on the others, it doesn't take into account the others' files.
    Also: some system files like VM have a fluctuating size. Quit as many apps as you can and test if several measurements give different results.
    WhatSize is able to show (one user's) every folder and every file. Use its different ways to show results, and detect the "strange" sizes firstly from what should be expected.
    It is very possible that a file has grown huge for some reason.
    Let us know if you have a question about some particular files!
    Axl

  • What type of questions can i expect for master data?

    hi,
    am preparing for the interview. pls... let me know those questions for master data.
    thanks to all

    HI arun,
    Pl. be clear on
    what is master data, purpose, customer master data fields and material master data imp fields.
    common distribution channels and divisions.
    Org. master data. ( interms of one to many , many to many relations of org elements ).
    condition master data
    How master data is uploaded and maintained.
    Hope it helps. Pl. reward if useful.
    Thanks
    Sadhu Kishore

Maybe you are looking for

  • White box behind transparent images with drop shadow in InDesign CC 2014 (v.10) but not in InDesign CC (v.9)

    Hi all, Please can you help? No matter what settings I use in my print options in InDesign CC 2014 (v.10), ALL transparent images with a drop shadow are printing with a white box behind the image. If I remove the drop shadow, all prints fine. I know

  • Is it possible to print from within in Classic

    I have a Power Mac G5 running Tiger (10.4.10) and I use OS 9 (9.2.2) which I run through Classic (as you all know, G5's cannot boot in OS 9). My printer is an HP Photosmart 3210 and HP supplies no Photosmart 3210 driver for OS 9, since the printer is

  • Entourage Freezes when I try to email an attachment

    After installing SL yesterday I have noticed that every time i try to email an attachment in Entourage I have to do a force quit as it freezes. I can email from Word ie. send attachment via email when I am in word, but can not create an email in Ento

  • Environment Variables for Visual Basic Clients

    How does one set the environment variables when writing clients in Visual Basic. I would like the set the variables TUXDIR, WSNADDR etc at runtime, instead of setting them in the Control Panel Thanks

  • SharePoint Environment Suggestion

    Hi, We have about 2000 users and each user has a site collection and they upload documents to their site collection.   So we have 2000 site collections under one web application and it is becoming tedious for maintaining purposes. We are planning to