Search the Community
Showing results for tags 'error'.
-
Hello All, I am a beginner coder and I am trying to get a java drum kit program that I found by online source, because I thought it would be fun to work with, but when I compile the code on interviewbit the applet comes up with the buttons but no sound plays. I do not know why this is and I was wondering if I could get help fixing it. Can anyone now how to fix this please explain in layman's terms. This is my code: import java.awt.*; import java.applet.*; import java.awt.event.*; import javax.swing.*; public class FinalProjectst extends JApplet { private JButton snareButton; private JButton hiHatButton; private JButton bassButton; private JButton cymbalsButton; private AudioClip snare; private AudioClip hiHat; private AudioClip bass; private AudioClip cymbals; public void init() { setLayout (new FlowLayout()); sampleButtons(); snare = getAudioClip(getDocumentBase(), "Snare.wav"); hiHat = getAudioClip(getDocumentBase(), "HiHat.wav"); bass = getAudioClip(getDocumentBase(), "Kick.wav"); cymbals = getAudioClip(getDocumentBase(), "Crash.wav"); } private void sampleButtons() { snareButton = new JButton("Snare"); hiHatButton = new JButton("Hi Hat"); bassButton = new JButton("Kick"); cymbalsButton = new JButton("Cymbals"); snareButton.addActionListener(new ButtonListener()); hiHatButton.addActionListener(new ButtonListener()); bassButton.addActionListener(new ButtonListener()); cymbalsButton.addActionListener(new ButtonListener()); add(snareButton); add(hiHatButton); add(bassButton); add(cymbalsButton); } private class ButtonListener implements ActionListener { public void actionPerformed(ActionEvent e) { if (e.getSource() == snareButton) snare.play(); if (e.getSource() == hiHatButton) hiHat.play(); if (e.getSource() == bassButton) bass.play(); if (e.getSource() == cymbalsButton) cymbals.play(); } } }
-
Hi. I think I replaced my original windows 8.1 64 with a fake one. The scenario of what I did is given below: I purchased a hp laptop with original windows 8.1 64 preinstalled. I downloaded Microsoft Office with toolkit from torrent because I did not want to buy ms office. First I installed the office setup.exe as per instructions. Then I opened the Microsoft toolkit. I had no idea how to use it. I pressed the windows logo instead of the office logo. Then I selected windows 8.1 and I clicked activate, backup, check, check status, etc randomly. I had no idea what I was doing. Now I think I replaced my original windows 8.1 64 with a fake one. I cannot update my windows and it is showing error code 8024402F. Please help me on what to do. Please advise me whether I replaced my original windows. I want my original windows back.
-
Hey there! I just bought Medal Of Honor 2010 from my local game store. It install smothly then finished smoothly. But when i tried to open the game (moh.exe), the game does not appear but appear this error!: General protection fault! History:GEvent::TryAcuireCancel() Adress = 0x7 a0385 (filename not found)[in D:/'my hard disk/medal of honor 2010/medal of honor/binaries/moh.exe] bla bla bla..and so on..to many to type. Well the main problem is 'GENERAL PROTECTION FAULT' That was the main problem and error. I hope there are some kind and very honest human and NO MORE MICROSOFT/WINDOWS SCAM in this forum when helping someone to solved his problem. We are windows user, and we are the microsoft supporter, thats mean we all must teamworks to find and fix something that our 'windows friend' proble. Well guys, how to fix that GPF problem?
-
Hello, I have a problem during the installation of a software (the software is Battery 4) When the installation starts, this error occurs: Runtime error in setup script: Line 438: access violation at address 74A715DA in module 'version.dll'. Read of address 00000004 So I cannot install my software. How can I fix this error?
- 1 reply
-
- installation
- version.dll
-
(and 2 more)
Tagged with:
-
Shutting down problem, whenever I tried to shutdown It sucks to logging of window..but it when I restart windows it start with no errors, but doesn't shut down, so I hibernate my computer...and one more problem is that some of the programs always stop responding, that's the common problem in windows 7...really a headache having windows 7..can you help with these errors.
-
Hello, I have Windows XP, and when i try to log in as a user which didn't have a password the log in screen freezes and i hear the error sound. The computer was acting normal until i updated it, now only the users who had a password(only i had a password), can't log in. :( I tried scanning it with Malwarebytes' and there were no viruses found, currently scanning it with avast. Please help! :( -Daniel -- P.S Sorry for my English, i'm from Poland
-
So I have this old emachines computer that has system32 errors and won't boot.. So I put in the windows xp install cd in there and the booting process just continues as if the cd isn't even in there.. I put the windows xp cd in my primary computer and it recognized it so it's not the cd. I put the windows 7 install cd in the emachines computer and it recognized it so that means the cd drive works. I am totally stumped as to why the computer won't boot the disc. Thanks for help in advance! Henry
- 3 replies
-
- windows xp
- cd
- (and 6 more)
-
Hey everybody ! :) This is my first post so bear with me, Today i was visiting my elderly aunt when all of a sudden the phone rang with a long distance call. She picked up the phone and just by her responses i could tell that it was a fraudulent microsoft scam so her being not so technology savvy called me over to the phone. She told the telemarceter and he happily complied but as soon as he said "Hi my name is Mike and i am calling from microsoft windows" I quickly replied back in a louder more aggressive tone and said "This is a scam !" and then he proceeded to tell me how i didn't know it was a scam , not knowing that i had read about this before. He then started to get nervous and try to convince me. As soon as he started talking his lies i told him that i didn't own any computers and this is a scam so it could not be me, He then quickly said bye bye and hung up on me. What are your experiences with this ? Has this ever happened to you ?