HT1212 why the itunes didn't work

thx

yes, java1.1 has scroll panel, but can't match all
the request as I need, so I extend a scroll bar, and
add it to a panel. You can see why I use a thread to
post a key-up event, I want my "scroll panel" can
accept this event and do their job, and they DO it in
the applet viewer, but they didn't work in browser(IE
with Jdk1.5 plug-in).
In fact, the whole project almost finished, so I
can't make big modify.But, what if a 'small modify' can't serve you?
Ill mannered OS and/or application could have eaten up raw events before they
arrive at your humble Java application. Try this on Win and IE:
<html><body>
<applet code="ButtonTest" width="300" height="300"></applet>
</body></html>
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
public class ButtonTest extends Applet implements ActionListener {
     Label label;
     public void init() {
          Button b1 = new Button("Apple");
          b1.addActionListener(this);
          add(b1);
          label = new Label("                 ");
          add(label);
     public void actionPerformed(ActionEvent ae) {
          int modifiers = ae.getModifiers();
          if ((modifiers & ActionEvent.CTRL_MASK) != 0) {
               label.setText("CTRL");
                else {
               label.setText("-");
}

Similar Messages

  • Why the postEvent didn't work

    I add a thread to postEvent to a applet, send a key-up event, to let the applet scroll up, it do work in applet viewer, but didn't work in IE. why

    yes, java1.1 has scroll panel, but can't match all
    the request as I need, so I extend a scroll bar, and
    add it to a panel. You can see why I use a thread to
    post a key-up event, I want my "scroll panel" can
    accept this event and do their job, and they DO it in
    the applet viewer, but they didn't work in browser(IE
    with Jdk1.5 plug-in).
    In fact, the whole project almost finished, so I
    can't make big modify.But, what if a 'small modify' can't serve you?
    Ill mannered OS and/or application could have eaten up raw events before they
    arrive at your humble Java application. Try this on Win and IE:
    <html><body>
    <applet code="ButtonTest" width="300" height="300"></applet>
    </body></html>
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ButtonTest extends Applet implements ActionListener {
         Label label;
         public void init() {
              Button b1 = new Button("Apple");
              b1.addActionListener(this);
              add(b1);
              label = new Label("                 ");
              add(label);
         public void actionPerformed(ActionEvent ae) {
              int modifiers = ae.getModifiers();
              if ((modifiers & ActionEvent.CTRL_MASK) != 0) {
                   label.setText("CTRL");
                    else {
                   label.setText("-");
    }

  • I have ad Apple ID on my iPad , when I use the apple on my iPhone for the first time, I put in my Apple ID for the iPad, didn't work. Need to create a new one. Why? How can I just use my iPad ID on my iPhone?

    I have ad Apple ID on my iPad , when I use the apple on my iPhone for the first time, I put in my Apple ID for the iPad, didn't work. Need to create a new one. Why? How can I just use my iPad ID on my iPhone?

    Hi kamfong,
    Went to Settings where?
    If you want to use your exisiting Apple ID on your iPad, you need to:
    1.     Go to Settings>iTunes & App Store and sign out the new ID, and then sign on the old one
    2.     Go to Settings>iCloud, scroll to the bottom and delete the iCloud account, and the sign back onto iCloud using the old ID
    You still have not indindated why you are saying that using your old ID originally "didn't work". What do you mean by that? Did you get some sort of error when you tried to sign on with your exisiting Apple ID?
    Cheers,
    GB

  • Just got an iPad 2 and neither Keynote nor Pages were compatible. when I updated iOS as requisited, the backup from iTunes didn't work. the iPad doesn't connect to iTunes. what do I do?

    just got an iPad 2 and neither Keynote nor Pages were compatible. when I updated iOS as requisited, the backup from iTunes didn't work. the iPad doesn't connect to iTunes. what do I do?

    Usually it's because you are not making internet connection via wifi.
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
     Cheers, Tom

  • I continually receive the "iTunes has stopped working" notification and won't allow me to log on.  Why is that?  I have uninstalled and reinstalled iTunes repeatedly to no avail.

    Why do I continually get the "iTunes is not working properly" notice???  I cannot get to the iTunes store.  I am using Windows 8 and have tried downloading it and redownloading it numerous times..

    Yeah... that's how it works.  Signing into iTunes does not magically make a library appear.
    If you have an iTunes library (media purchased from iTunes) then YOU need to put it on the computer.
    Also, since the computer is no longer authorized for his account, any media associated with his account will not be playable.

  • I cant get the itunes store to work , it has a error code when I try to use it, any idea why?

    I cannot get the itunes store to work, it has an error code when I try to use it, any ideas?

    What error code number are you getting, rodeo?

  • I upgraded to iTunes 11.1.4 and at first iTunes didn't work so i came on here and found a way to fix it. Now that I have fixed it my iPod does not appear on iTunes or on my computer.

    I upgraded to iTunes 11.1.4 and at first iTunes didn't work so i came on here and found a way to fix it. Now that I have fixed it my iPod does not appear on iTunes or on my computer.

    Removed. Re-synced. Still not working. Factory reset the phone, re-installed music... made a GIANT "Other" file instead of actually adding any songs.
    Factory resetting again. Any other solutions?
    EDIT: If It helps, I'm doing this all over USB connection, not trying to sync music through wifi or anything.

  • Why the itunes does not take my ipod 4g

    why the itunes does not take my ipod 4g

    this worked for me, below.
    from:
    http://docs.info.apple.com/article.html?artnum=93716
    Reinstall the COM interface for the iPod Service
    1. Quit iTunes and any running iPod Updater.
    2. Click iPodService.exe in the Windows Task Manager window.
    3. Click End Process.
    4. Click Yes.
    5. On the Start menu, click Run. Note that the Run windows may appear behind the Windows Task Manager window.
    6. Enter this text (including the quotation marks):
    "C:\Program Files\iPod\bin\iPodService.exe" /service
    7. Click OK in that window.
    8. On the Start menu, click Turn Off Computer.
    9. Click Restart.
    If the iPod is not working with iTunes or the iPod Updater, proceed to the "Quick Fix" section below.

  • Hello, may i ask why verbace translator didn't work on firefox 4, it was work in firefox 3

    hello, may i ask why verbace translator didn't work on firefox 4, it was work in firefox 3?

    Flash has become even more buggy in this release of FF4b7. I get that spinning pinwheel all the time when I try to load a page with Flash, and the plug-in crashes quite often.

  • Why my itunes store stop working? and my iphone 5 dont have a radio?

    why my itunes store stop working? and my iphone 5 dont have a radio?

    Hello there, jbenjaminii.
    The following Knowledge Base article offers up some great recommendations for troubleshooting the issue you're describing:
    iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1421
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Why the alarm dosn't work when the iphone off?

    why the alarm dosn't work when the iphone off?i make alarm then i switch the phone off .but the alarm didn't work .in the past nokia phones it was work

    "Standby" (or "Sleep" is the phone's normal state when not in use. "Off" is when the phone is totally shut down by holding down the Sleep button the doing the "Slide to Power Off" on the screen.
    If you believe it is dangerous to be in the same room as an iPhone, your question is pointless. I suggest you invest in a clockwork alarm clock.

  • Why my itunes didn't install?

    Hi,
    my Question is why my Itunes didn't install.
    I've installed the 32 bit and 64 bit version.
    There stands: "On the installer service is not accessible".
    I hope you can help me.

    Ia that on a 64-bit Vista system, eric?
    If so, I'd try the procedure outlined on the following document:
    http://www.windowsbbs.com/windows-vista/82460-vista-home-premium-x64-installing- itunes-solution.html

  • Want to make an apple ID but the visa didn't work! Please help!

    I come from Indonesia. This is my first time using apple(ipad) and I want to make an apple ID but I tried more than twice and but the visa didn't work well, and I feel disappointed and the system confused me, and why do we need to submit our visa or stuff, in fact that we rather
    use free apps to download? And if it is a problem between the bank and apple itself so what can I do Now? Anyone knows how to solve my problem, please help me, I really appreciate all your suggestions. Just contact me through my email **** Thank you.
    <Personal Information Edited By Host>

    You are required to provide credit card details to download apps be it free or paid.
    Nothing will be deducted from your credit card if the app is free.
    There will be a authorizing hold of US$1.00 to verify your account information. It will be credited back to your account later.

  • HT4356 Mavric doesn't support my 5 years old Big Screen Display, OR? Tried to connect my Mac Book Pro after installing Mavric, The Screen didn't work as before. I could only see the Desktop but not the movies for example. What can I do?

    Mavric doesn't support my 5 years old Big Screen Display, OR? Tried to connect my Mac Book Pro after installing Mavric, The Screen didn't work as before. I could only see the Desktop but not the movies for example.
    <E-mail Edited by Host>

    It appears what happened is the installer though it was looking at a empty drive and just went ahead and installed.
    I of course am assuming here you didn't use Disk Utility to format the drive first before installing, that would wipe out your files and programs for sure.
    So what to do, what to do.
    Well there is hope for you as long as the drive wasn't Filevaulted.
    I'll explain. When a hard drive writes data for the first time to a drive, it starts at the very top and works it's way down.
    When OS X was installed the first time, it was at the top of the drive, unless you upgraded then the upgraded OS X could have been written elsewhere.
    Now when you just reinstalled OS X, the new OS went on the top of the drive, overwriting any data that was there previously, so what was there you have lost forever which is about 8GB or so. If it was the previous OS there, then your more in luck because only the old OS X was overwritten.
    The remaining space on the drive still can have a copy of your files, provided it's not overwritten yet.
    It's because when a hard drive deletes data or reformats, it doesn't remove the data off the drive or overwrites it immediately, it's just made so it's SPACE is available for new files to be written there.
    So technically one can recover the deleted data off a non-encrypted/scrubbed hard drive with special software.
    The way it does this is it reads the 1's and 0's of the files themselves, and through a lot of figuring out, can tell what that file is and what it belongs too.
    So what you will have to do is this:
    Create a data recovery/undelete external boot drive
    or if you don't have the skills, then take it to a local PC/Mac tech and they can do a direct image of the drive and then you can run Data Rescue on it to rebuild your files.

  • Can I get apps from the iTunes Store to work on my MacBook Air?

    how do i get apps from the iTunes store to work on my macbook?

    Apps from the iTunes store are only for ios based devices. ie iPad or iPhone
    If you want an app for your Macbook use the App Store on the toolbar and you can purchase a mac version if it exists.

Maybe you are looking for

  • About This Mac is showing wrong Storage information

    When I look to see how much my App, Movies, Photos, Autos, and Backups the GB being listed is wrong. I have a 120 GB hard drive. My Apps are claiming to be 130.43 gb, Movies at 22.13 gb, Photos 18.48 gb, Audio 1.17 gb, Backups 217.9 mb.  It states th

  • AirPort Disk Access Existing files when changing Secure Shared Disks with Accounts

    Hey, community; I have a 1TB Disk which I was using on my Mac, then upon aquisition of an AirPort Extreme Base Station, plugged it into there. File sharing was fine when set to "AirPort Password" for Security settings, but when I changed to "Accounts

  • Right click Open With sometimes not working (Photoshop Elements 9, Windows Vista)

    We recently upgraded from Photoshop Elements 7 to Photoshop Elements 9. We are running Windows Vista. Last night, my wife was right clicking on JPEG images in her My Pictures subfolders and choosing "Open With" to open the files with Photoshop Elemen

  • Purchase Order creation from closed Purchase Requisition

    Hi all, Please kindly help with the following questions 1) Is it possible to lock a purchase requisition such that after a purchase order has been created, another purchase order would not be created from that purchase requisition 2) also is it possi

  • Help Required for DBConect

    Dear All,         I wish to connect one Non SAP system with SAP system. Database for Sap BW is SQL 2005 service pack 1. Where as database of NON SAP system is SQL 2000. Can anyone guide. I am trying to create but not able to do. I have certain querie