I can not get sound in the yahoo chat room
for some strange reason I cannot get sound in the chat rooms when people are playing music
when you start your application you create an instance of Frame2 whose reference is stored in variable frame2.
Now in your class Grow you create another instance of Frame2 whose reference is stored in variable f and set its label to "Class test". This instance is not the same as the instance which you are running.
You need to make class grow as an inner class of Frame2 and then set then set the label of the instance which is running.
Here's the working code -
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Frame2 extends JFrame {
public Frame2() {
super("test");
this.setBounds(100,100,200,100);
JPanel jp=new JPanel();
jp.setBackground(Color.cyan);
jb=new JButton("test");
jl=new JLabel("this is a test");
jp.add(jl);
jp.add(jb);
Container contentpane=this.getContentPane();
contentpane.add(jp,"South");
jb.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
g=new Grow();
g.start();
public void setString(String str){
jl.setText(str);
public static void main(String[] args) {
Frame2 frame2 = new Frame2();
frame2.show();
private JButton jb;
private final JLabel jl;
private Grow g;
class Grow extends Thread{
public void run(){
setString("Class Test");
}
Similar Messages
-
I can not get sound when using Petville, on Face Book.
I use my room mates computer, sometimes, as it is a desktop, but he owns it, and has an account for me (I have an old lap top). He is away for Government training in California, and I ABSOLUTELEY CAN NOT mess up his settings...but, I do not think I can, because I am not listed as an administrator. I play Petville, as a silly game, to wind down, but, I can not get SOUND, on this computer anymore...don't know why. Sure there is a reasonable explanation. It worked before, now it does not. At one time I clicked on NO SOUNDS in the control p[anel (maybe I do have administrator priveledges)...changed it to Windows default, added sounds, customized it & named it, on my user name-not his. For the life of me, I cannot figure this out-but after clicking this and that, I realized it is something about applications, and what is compatible with Mozilla/Firefox. HELP!
See:
* [[No sound in Firefox]]
* [[Video or audio does not play]]
You can click the Volume icon on the Windows Taskbar near the clock and click the Mixer link at the bottom to open the mixer.<br />
You can adjust the volume level for each application in that window, so make sure that Firefox is not muted or set at a low level.<br />
You will only see the Firefox program in the Mixer if you are on a website that plays sound.<br /> -
i am getting no sound from all of the game apps on my ipad. i.e. angry birds, scrabble, but I can still get sound from the ipod app. also I can hear the games if I am using earphones
You have your mute button on. In Settings check to see if you have Lock Orientation checked or Mute checked on the right hand side. If you have Mute checked, all you need to do is click the mute button above the volume control buttons on the upper right hand side of your iPad. If you have Lock Orientation checked in settings, you double click your home button and the most recent apps will appear. Swipe your finger to the right until the Mute icon appears on the left side. Touch it and you will unmute system sounds.
-
HT1222 Can not get mail . The user name or passwords is incorrect
Can not get e-mail . It states that the user name is incorrect and pass-word is incorrect
Did you check your settings and make sure that the information is correct?
-
T520 with Win8 not getting sound trough the docking
When I had win7 everything was ok regarding sound. Now that i have win8 installed, i dont get sound via the audio-out aux port on my docking. I have to use the aux out on the T520 itself.
Anybody else experiencing this? I have installed all related drivers from system update.Verify that your BIOS, audio drivers and software are updated.
Verify that the docking station is supported by Windows 8.
Check to if there is any firmware support for your docking station and that its up-to-date.
Are there any Windows 8 features that you MUST have?
Be AWESOME Everyday!
Donate KUDOS and Click "Accepted Solution"
Did someone help you today?
Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"
This will help the rest of the Community with similar issues identify the verified solution and benefit from it. -
I have had this problem before. I just cant remember how I fixed it. I am not getting any sound from the HDMI output. Everything is selected properly and volumes are set correctly. Last time I had to change a megahrz thing and thats where I am stumped.
Mac HD/Applications/Utiltiies/Audio MIDI Setup
441000 or 48000 Hz for Format -
i have read ur forgotten password or device disabled after entering wrong password. iphone is desabled dont have computer i conected it to before and power button is broke so how can i get back into my iphone?
You will have to restore the phone and set up as New. See: http://support.apple.com/kb/HT1212. The part you need is near the bottom, "If you have never synced your device with iTunes...". You will lose any content that is not backed up in iCloud.
-
I have a two year old ipad2 and while the speakers work ok I can no longer get any sound through the headphones? If any one has any suggestions on how I can get sound to come out of the headphones I would be grateful.
System Preferences --> Sound --> uncheck the mute button next to the Output volume (assuming it is set). Or move the Output volume slider.
-
My ipad is disabled and i can not get it to the passcode scrfeeen\
how do i get my ipad to get back to the unlock page
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
7. iOS - Unable to update or restore
Forgotten Restrictions Passcode Help
iPad,iPod,iPod Touch Recovery Mode
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
Also, see iTunes- Restoring iOS software. -
please help
If you connect the MacBook using a Mini DisplayPort/HDMI adapter you will need to use external speakers for audio. The Mini DisplayPort/HDMI doesn't carry audio and there're usually no audio plugs on the TV to work with HDMI since it's expecting audio with the HDMI. Only the Mid-2010 (7,1) MacBook can output sound along with video to your HDMI. All others output video only with the HDMI adapter.
If your TV has a DVI plug you can use a Mini DisplayPort/DVI adapter. The TV will have RCA audio plugs for use with the DVI.
Some of the newer TVs can use different input audio plugs with the HDMI. You'll have to check with your TV manufacturer to find out if your TV can do this. -
I can not get on email the program continualy asks for my log in
when i click on mail a screen opens asking for my pass word if i enter a password it opens a new screen asking for my pass word again. all other items on the home page work fine. if i use internet explorer i can get to my mail ok.
Troubleshooting extensions and themes
* https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
-> click '''Firefox''' button and click '''Options''' -> Privacy -> History section -> '''Firefox will: select "Use Custom Settings for History"''' -> REMOVE Checkmark from '''Permanent Private Browsing mode''' -> place Checkmarks on:
1) Remember my Browsing History 2) Remember Download History 3) Remember Search and Form History 4) Accept Cookies from sites -> click '''Exceptions...''' button -> type the addresses of the websites from which you want to Allow Cookies to be stored e.g. '''login.live.com''' , '''hotmail.com''' , '''live.com''' , '''msn.com''' , '''mail.yahoo.com''' , '''yahoo.com''' , etc. -> click '''Allow''' for each, One by One 4a) Accept Third-party Cookies -> '''Keep Until : select''' '''They Expire'''
-> REMOVE CHECKMARK from CLEAR HISTORY WHEN FIREFOX CLOSES
-> click '''Firefox''' button and click '''Options''' -> Security -> place Checkmarks on:
1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
-> Click OK on Options window -> Restart Firefox
Check and tell if its working.
-> When you use '''Clear Recent History''' make sure NOT to select '''Cookies, Forms and Search History, Active Logins, Site Preferences'''
* https://support.mozilla.com/en-US/kb/Clear%20Recent%20History#w_what-things-are-included-in-my-history -
Can not get rid of the terminal
I have a G3 Wallstreet and for the last two days when I try to start it up it open up with the Terminal.
I had a program called "AppleJack" and meant to get rid of it but forgot, I have try Zaping the PRAM, Safe Startup, starting it up with a bootable DiskWarrior and even with OS 10.2.
I have the drive Partition with the first 10 Gb for OS 10.2.8 and the rest for OS 0 9.2.2. it has been working just fine up to now.
This "AppleJack" program when it runs starts up in the terminal and runs some stuff like repair the permission and stuff like that, I run it thought all it is suppose to do and it will not shut down when I am told to restart.
Can someone please help me as I use the laptop when I am bedridden.
Thank you for your time and trouble.Norbert,
I do not envy your condition, but I imagine there are few at your age that would even attempt what you are trying to fix, so congratulations and let's see if we can fix the ole girl.
I would like to correct a word I used incorrectly earlier. When you describe your HD, you use the word 'space', not 'room', as I did, so you have about 3GB of free space available. If there is not enough free space for an A&I, the installer will not allow you to proceed. Also, this is a major operation on the HD and it is always wise to have important files backed up...you never know when something might go wrong. I am not suggesting that this procedure will result in lost data, but it is better to be safe than sorry. There is an old saying that files not backed up are files you don't want.
One of several limitations of the Wallstreet is its lack of USB and FireWire ports, thus making it more difficult to back up data. Do you have any procedure for backing up? If so, you can boot to your OS 9.x, find the files you want on the OSX partition, then drag-copy them to another volume; you can do this with OSX data files just like OS 9.x. You may have to boot to your OS 9.x CD, select OS 9.x in the Startup Disk control panel, then restart to your OS 9.x partition.
These are the steps to follow for an Archive & Install, from this tech article:
http://docs.info.apple.com/article.html?artnum=107120
1. Start up from your Mac OS X Install Disc 1. (I deleted the unnecessary part.)
2. Select your language. The Welcome to the Mac OS X Installer window appears.
3. Click Continue. The Important Information window appears.
4. After reading or printing the information, click Continue. The Software License Agreement window appears.
5. After reading or printing the information, click Continue.
6. An agreement sheet appears. If you agree with the license agreement, click Agree. The Select a Destination window appears.
7. Click the volume that you wish to install to.
8. Click Options. The installation options sheet appears.
9. Select Archive and Install.
10. Select the volume which already has Mac OS X installed.
11. You should also select Preserve Users and Network Settings, to preserve network and Home directory settings. (See notes and Related documents below.)
12. Click OK.
13. Click Continue to begin the installation.
The above tech article also mentions this:
-Some third-party software items may not be preserved. If third-party software doesn't work after the Archive and Install is performed, reinstall it or contact the vendor.
-Safari may not work after an A&I (and this may apply to other software also). It should work after updating to 10.2.8 again.
http://docs.info.apple.com/article.html?artnum=107904
Message was edited by: jpl -
I can not get data from the sensor lsm330dl-i​2c (LM3S8962)
Hello
Can you please tell how to configure the i2c for LSM330dl. The application my program, and part of the datasheet.
thank you
Attachments:
545.jpg 35 KB
1.jpg 206 KB
2.jpg 178 KBHi,
I was taking a look at your code and the following example LabVIEW Embedded for ARM I2C Example and there may be an issue with the front panel not updating correctly. Can you use breakpoints and probes to check the wire values? This will let you verify whether the values are actually coming through and just not updating on the front panel.
Also are you able to run that example (you'll have to create a new ARM project to use the example with the LM3S8962)? The example looks very similar to what you are already doing.
Cheers,
Scott A
SSP Product Manager
National Instruments -
I received a ghost, or duplicate e-mail on my Mac and am unable to delete the duplicate from my inbox. There is no message when you open it, The message came from Gacebook. What can I do to get this deleted?
http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox
Comcast online email is considered '''web mail''' so you need to scroll down that support page to the web mail section. -
I installed Adobe Reader so I can read PDFs a teacher has posted online. How do I open the PDFs? I tried using the open button at the top, but I'm only able to see the first page. Thanks
I had the same problem.
Try this.
https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html
Maybe you are looking for
-
Can't seem to get my own domain name to work
First of all I'm sure this has been asked a lot so apologies if it's a repetitive post I'm just at the hair pulling stage! Well. I've had no issues joining mobile me (joined a week ago) and publishing my site from iWeb. But then I wanted to get my ow
-
I'm no longer able to use the projector VPL-ES4 with win7, he accuses error frequency
I'm no longer able to use the projector VPL-ES4 with win7, he accuses error frequency. Working at a university here in Brazil Unicamp. Here we have several projectors model VPL-ES4, we were using this projector with win7 however a few days they all s
-
Exs and loading samples.
installed L9 last week. all seems o.k but just tried to load multiple samples with problems. 1stly, i choose contiguous zones with a start note from C1 yet the samples are laid out the entire keyboard from C-2 and not the space of 1 note. any ideas?.
-
When I start up everything looks normal but when I choose an email to read, the loading green wheel comes out and takes a long time. If I try to press anything the (Not Responding) shows up on the tab above. When I wait for a minute or two, it works
-
Big problems with Freecom harddrives
I have three of them and up to a few weeks ago they were fine. Now they will not mount. When you turn them on they start up the harddrive and you can here it and just at that point you expect it to appear on the desktop it spins down and the light fl