Java Applet key down and key up events

I've written a program that extends applet but I can't get the event handling to work for keys.
I've copied the below code into my applet but at the moment not even my system.out's are printed.
How can I get this to work?
// Handle key down and key up events
public boolean keyDown(Event e, int key) {
int flags = e.modifiers;
System.out.println("Key " + e.id); //ns test
if (e.id == Event.KEY_PRESS)      // a regular key
showLine("Key Down: " + mods(flags) + key_name(e));
else if (e.id == Event.KEY_ACTION) // a function key
     showLine("Function Key Down: " mods(flags)
          function_key_name(key));
return true;
public boolean keyUp(Event e, int key) {
int flags = e.modifiers;
if (e.id == Event.KEY_RELEASE)      // a regular key
showLine("Key Release: " + mods(flags) + key_name(e));
else if (e.id == Event.KEY_ACTION_RELEASE) // a function key
     showLine("Function Key action release: " mods(flags)
          function_key_name(key));
return true;
Thanks and sincere regards if you managed to read this far.

I have found a solution!
Your program, after it extends applet, you must also implement KeyListener, add the associated methods with KeyListener, and you must add the KeyListener in the init.
code should look something like this:
class program extends Applet implements KeyListener {
public void init() {
addKeyListener(this);
public void keyTyped(KeyEvent key) {}
public void keyPressed(KeyEvent key) {}
public void keyReleased(KeyEvent key) {
if (key.getKeyCode() == KeyEvent.VK_DOWN) {
// Do something when user hits down-cursor.
} else if (key.getKeyCode() == KeyEvent.VK_UP) {
// Do something when user hits up-cursor.
}

Similar Messages

  • How can I enable java applet plug-in and Web Start applications via terminal?

    Since the last Java update to Snow Leopard, I have found that the system periodically disables the Java applet plug-in after a period of disuse.  I know I can go to /Applications/Utilities/Java Preferences and just click to re-enable Java.  But I want to write a script which will do this periodically for a couple hundred Mac users where I work. 
    My question is - how can I reenable the Java applet plug-in and web start applications via Terminal command?  Is this possible?  Is there a plist file that can be modified, etc.?
    Bob Reed

    It is my understanding that Apple's most recent Java update automatically disables Java after a certain period of time that it hasn't been used.  We don't want users to have to keep re-enabling it.  So we wanted to find a way to do this via script either run by a Casper JSS server or stored locally on each workstation.   With the guidance provided by Mark Jalbert above and some text from a script written by Rich Trouton, I was able to make a script (with some minor changes) and a launch agent to re-run the script upon login.  So the preference is always enabled.
    For your reference, the script content is:
    #!/bin/sh
    # DYNAMICALLY SET THE UUID FOR THE BYHOST FILE NAMING
    if [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` == "00000000-0000-1000-8000-" ]]; then
    MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c51-62 | awk {'print tolower()'}`
    elif [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` != "00000000-0000-1000-8000-" ]]; then
    MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-62`
    fi
    # Set the the "Enable applet plug-in and Web Start Applications" setting in the Java Preferences for the current user.
    /usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsEnabled" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsEnabled bool true" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsLastUsed" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsLastUsed real $(( $(date "+%s") - 978307200 ))" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    The launch agent plist content is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>Disabled</key>
              <false/>
              <key>Label</key>
              <string>org.XXXXX.enableJavaPlugin</string>
              <key>ProgramArguments</key>
              <array>
                        <string>sh</string>
                        <string>/Library/Scripts/XXXXX/enableJava_plugin.sh</string>
              </array>
              <key>RunAtLoad</key>
              <true/>
              <key>StartOnMount</key>
              <true/>
    </dict>
    </plist>
    I hope this is helpful to anyone wishing to keep the Java web plugin enabled.
    Bob
    Message was edited by: Robert Reed2

  • What is Java Applet 1.0, and why does it launch when I do an applet action?

    When I go to http://www.chemaxon.com/marvin/sketch/index.php with Safari 5.1.7 on MacOS 10.6.8, an applet launches.  If I then click and hold on one of the toolbars of this applet and drag to the left, the toolbar is supposed to detach.  Instead, my computer launches a program called Java Applet 1.0, and a blank rectangle appears where the toolbar is supposed to be, but no buttons appear in the toolbar.  The program Java Applet 1.0 does not appear to have any functions associated with it; if I click on its icon in my dock, the blank toolbar comes to he foreground, but nothing else happens.  If I quit Java Applet 1.0, the original applet quits as well.  A separate instance of Java Applet 1.0 launches for each browser that I use to go to http://www.chemaxon.com/marvin/sketch/index.php. 
    So my question is, what is the purpose of Java Applet 1.0?  Is Java Applet 1.0 launching because there is a bug in the applet, or is a bug in Java Applet 1.0 causing the applet to misfire? 

    I don't know this action, specifically, but such a message often means an action step has tried to do an activity that was successfully recorded with an image that has different attributes, e.g., RGB vs Grayscale, or maybe a different bit depth or other modal difference.  It's also possible you have a non-image layer selected when you're running the action.
    -Noel

  • No option to Enable the Java applet plug-in and Web Start applications

    How do I Enable the Java applet plug-in and Web Start applications
    Their is no option under java preferences General Tab
    The options i get their are
         Run appelts
              in their own proccess
              Within the browser process
              (Defaut most compatible)
    Under the network tab im told
    By default java applets and web start applications use network settings in the system network preferences. Only advanced users should modify these settings
    Any ideas on why it is like this?

    Mac OS 10.6.8
    This happend once before when I was running 10.5.8 I fixed it but for the life of me i can't remember how i did it.

  • I am trying to use an education program that needs Java applets to install and use and it will not use Safari. When I download IE from the web it will not install. How can I get a browser that will work on my MacAir for travel use of this program?

    I am trying to use and education program that needs Java applets and it will not run on Safari. IE will not install from the web. How do I get a browser that will work to install so I can use this program when I travel.

    Try using FireFox. IE will only run on a Mac if you run Windows on the Mac.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows 7 or Windows 8.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusion and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. A more recent comparison of Parallels, VM Fusion, and Virtual Box is found at Virtualization Benchmarks- Parallels 10 vs. Fusion 7 vs. VirtualBox. Boot Camp is only available with Leopard and later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • Why does my Firefox say my java applet is corruped and will,not download for my game

    I play a lot of games on POGO and they tell me that I have to have JAVA and Mozilla Fire Fox for my browser. I have 1 game that I get kicked off of each time I try to play it. I get a notice telling me that my browser says my applet from Java is corrupted and will not download. I have done everything they suggest and nothing works. Mozilla seems to be a terriable choice for me as a browser I have a lot of ppproblems with them getting me to my web pages.. help!!

    Hi,
    Have you tried deleting the Java applet cache from the '''Java Control Panel''' > '''Temporary Internet Files''' > '''Settings''' > '''Delete Files...'''?

  • Java Applet: choose, read and write local file

    Can some body please help in writing a Java Applet with the following features:
    1. FileChooser button to select a local text file
    2. Load button
    3. Read the file line by line, process it and write into a text file.

    AnilK wrote: Thank you very much.
    Those are just empty words. You can show your thanks in ways that are more useful both to me and you.
    To better show your thanks you might..
    1) Stop treating me as though I were your servant. In a conversation, you might ask a question that I try to answer. As part of my answer, I might need to ask you some questions. A question is a sentence followed by '?'. I did ask you some questions. There are four questions I asked in my first reply. Please answer my questions so I can provide you the best advice.
    2) Do not ignore things I say. (see below*)
    AnilK wrote: However, I still have a problem where the applet can not write a local text file.
    * That is probably because you ignored what I mentioned about digitally signing the applet. If you do not understand anything I write, please do a search and if that does not help you to understand it, ask me what I mean.
    AnilK wrote: Can some body please help me out.
    I was happy to help, but my enthusiasm is dropping quickly. Unless you can manage to improve your replies, I will not help further.
    I will supply some more tips before I finish this message and wait to see your reply, to decide whether I will help further.
    1) If you use 'code' delimiters, the Java code will be colored nicely for people to read. Here is an example (e.g.).
    } catch (Exception e) {
    ret = "problem found. Please reload.";
    return ret;
    2) I had a point here about indenting code, but when I went to reply, the code was indented, which makes me think that using code delimiters would also fix the problem where the code looks as if it has no indentation.
    3) It is 'best practice' (unless you are an expert and can justify otherwise) to dump every stacktrace to find out what really happened. e.g.
      } catch (Exception e) {
        // Very important!  Find out why it failed!
        e.printStackTrace();
        // now go on to do the other things..
        ret = "problem found. Please reload.";
      return ret;
    } 4) When you get a stacktrace, copy/paste at least the first few lines into the message. If my guess about the cause of the problem is correct, the word 'security' will appear somewhere in the stacktrace.
    5) To encourage people to help, post compilable examples, rather than code snippets.
    <http://homepage1.nifty.com/algafield/sscce.html>
    By the way - congratulations on getting as far as you have. You have surprised me that you got so far already. Improve on the other things I mentioned, and I would be happy to help further.

  • Java applet for Facebook and similar

    Hi there,
    I have downloaded the latest version of Java available for my OS 10.4.8, it seems to be running ok (if a bit slow) when I try to upload batches of pictures, but after some time it says the upload failed.
    the same happens when I try to use similar Java uploaders for other website, which is a real pain as I then have to upload my pics one by one!
    Has anybody got any heads-up on this?
    thanks

    Ok,
    I have done both verifications, and a longish list of permissions seem to differ from the original. Here's an example:
    Verify permissions for “ Dani's HD”
    Determining correct file permissions.
    User differs on ./Applications/.localized, should be 0, owner is 501
    User differs on ./Applications/Address Book.app/Contents/MacOS, should be 0, owner is 501
    Permissions differ on ./System/Library/CoreServices/Dock.app/Contents/Resources/Widgets.wdgt/Images/s crollbartop.png, should be -rwxr-xr-x , they are -rw-r--r--
    User differs on ./Users/Shared/SC Info, should be 0, owner is 501
    Group differs on ./private/etc/authorization, should be 80, group is 0
    Permissions differ on ./private/var/log/secure.log, should be -rw------- , they are -rw-r-----
    Permissions verification complete
    The privileges have been verified or repaired on the selected volume
    Shall I repair the volume now?

  • Weblog and Java Applet

    Hi
    I am searching for weblog providers that uses Java applets for writing and displaying weblogs . Please tell me about such sites . Thanks

    java9000 wrote:
    ..I am searching for weblog providers that uses Java applets for writing..An applet can only detect actions or problems that occur within the applet itself (or using JavaScript, the page in which the applet appears). To write to a web server requires help from the server.
    .. and displaying weblogs . ..Weblogs are usually located in an area of the server that is not open to the general public. If they are not available to the general public, they are not available to an applet.

  • Java Applet 6 crashes after Apple update in Firefox 8

    After my update in Apple a day ago, my Java (6.0version) and Firefox 8 do not mix. I can't open a second window without Firefox crashing.
    I have also "tested" my Java on the Java website and it says Java's working, then when I hit the back button, it crashes again.
    I know other Mac users are having this issue using the OS X v.10.6.8. (Google it)
    Now, Apple points the finger at Firefox, who all know about this "bug" and they in return accuse Apple of the Java release not working with their new Firefox. I am stuck in the middle trying to figure out a way to get this resolved.
    Can someone please help?  Who's fault is this? I would have not updated these two (which were working wonderfully before the upgrade!)  So frustrating! I have included how to test the crash error:
    Steps to reproduce:
    This happens with Firefox 8.0 and Mac OS X 10.6.8 and java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527).
    Visit
    http://java.com/en/download/testjava.jsp
    wait for the java applet to load and display the JRE info. Close the tab and firefox crashes.
    I have also included a copy of my console file list messages in the diagnostic section re: Firefox. Hope this helps, thank you to all who reply.
    11/15/11 8:06:14 PM          firefox[147]          Process manager already initialized -- can't fully enable headless mode.
    11/15/11 8:06:14 PM          [0x0-0xc00c].org.mozilla.firefox          2011-11-15 20:06:14.499 firefox[147:903] Process manager already initialized -- can't fully enable headless mode.
    11/15/11 8:06:57 PM          [0x0-0xc00c].org.mozilla.firefox          Invalid memory access of location 0x100000000d rip=0x101bee53f
    11/15/11 8:07:45 PM          firefox[157]          Process manager already initialized -- can't fully enable headless mode.
    11/15/11 8:07:45 PM          [0x0-0xc00c].org.mozilla.firefox          2011-11-15 20:07:45.447 firefox[157:903] Process manager already initialized -- can't fully enable headless mode.
    11/15/11 8:07:49 PM          [0x0-0xc00c].org.mozilla.firefox          Invalid memory access of location 0xa0000 rip=0xa0000

    Okay, funny how I don't know a whole lot about computers but I did quite a lot of research on this and found the fix for this Java (6.0) problem.
    FIrefox said it probably was the Apple release of the new Java that conflicted with it's newest release, though I had to read about it on their bugzilla.mozilla.org website to find out more.
    Firefox released a fix for the 8.0 (now version 8.0.1) to help with Java and Roboform platform on their FTP Server.
    You can't do the update through "about Firefox" on your pull down tabs and click "check for updates" because that won't work.
    You can go to this link for an explanation and download link:
    http://browserfame.com/309/firefox-801-browser-crash-fix-roboform-apple-java-upd ate-mac-osx
    A window with files will pop up. Choose your OS....Mac-for OSX users,  then more files come on the next screen, Choose - "en-US" for US english, if that is your Firefox program version.
    I hope this helps anybody who had this frustrating problem. I know Apple is committed to Safari browser but they wouldn't suggest or even give an probable answer about this and I had to scramble scratching my head to find the answer myself....sad.

  • JAVA Applets is CRAP

    Unless there is some1 on the planet that knows how to fix a simple
    problem:
    It has nothing to do with Java code. The problem is with the
    JRE and IE. If you use the HTMLCONVERTER that comes with the SDK
    it converts you applet tags in your html file to object tags. Then
    it works fine. But that does not help the solution. It must work
    with only the applet tags in your html code. I ahve been struggling
    for two weeks now and can't get it working. If you run the demo
    applets that comes with the sdk you'll see it also doesn't work
    unless you apply the HTMLCONVERTER to it. So I AM FEDUP WITH THIS
    CRAP !!! NOBODY SEEM TO KNOW HOW TO FIX THIS &%#@*& PROBLEM !!!
    I HAVE POSTED MESSAGES IN 5 OTHER FORUMS FROM DIFFERENT WEBSITES and
    the best answer I get is to install the latest Java plugin.
    WELL THAT DOESN'T WORK !!!!!!!!!!!
    Java APPLETS SUCK BIGTIME AND I'M FEDUP STRUGGLING !!!
    I suppose thats what you get with "free" software.
    I have tried this problem with IE6 and IE5 on WIN98SE on 3 different PC's. No luck. Sorry guys..... the only solution is to give up you
    programming career.
    from: very fedup beginner programmer (or anti-Java programmer)

    LOL, whatcha talking about?
    Don't learn Java, your problem. Java is slowly becoming the next language, the c++ of today.
    The features are too great to pass up, really:
    portable code,
    cleaner language (though at the expense of some features),
    security (eg. untrusted code in applets),
    USEFUL exception errors
    Trust me, it SUCKS even more in c++ to get seg faults or a crash without any message, and then you have to look for out-of-bounds indexes, % by 0, etc. Java speeds up programming time by a LOT.

  • Where can I set the window dimensions for the "Java Applet window"?

    Hi,
    When I run a form on the web, the Java Applet is loaded and the form appear in the window. But "base window" have gived dimensions indifferent what dimensions has the window of the form which I run.
    So, where can I set the dimensions of the "core window" which is behind the MDI window of the application?
    Thanks in advance,
    Eugen

    Eugen,
    in formsweb.cfg you will find parameters "width" and "height". You can set absolute values in pixels or "relative" in percent.
    width=800
    height=600
    or
    width=100%
    height=100%
    Gerald Krieger

  • Unsigned Java Applet Window

    Hi,
    I have an Applet which can pop-up a JAVA application window.
    But the bottom bar of that pop-up window says " Unsigned Java
    Applet Window". And I am not able to close the window without
    closing the first Applet window. Need some help. Thanks.

    But the bottom bar of that pop-up window says "
    Unsigned Java
    Applet Window". You can't get rid of this without signing
    And I am not able to close the window
    without
    closing the first Applet window. Need some help.you need a window listener (you can use window adapter)
    newFrame.addWindowListener (new WindowAdapter () {
    public void windowClosing (WindowEvent we) {
    setVisible(false);
    dispose();
    Thanks.

  • Proxy Login Request on Java applets

    • 10.4.5 Client
    • Windows 2.3k ISA 2005 Proxy Server
    • Users' fileserving to Win2.3k - ADmitMac for AD integration
    The client is a test machine on which I build campus master NetInstall images. In my testing procedures I've come across a bizarre problem with Java in the browsers (IE, Safari, & FireFox).
    We use ISA proxy server with web filtering, and users must authenticate to the proxy. On a new user's first use of any browser, the proxy username & password are requested, and the Add to Keychain checkbox is available. If the user checks the box, no further proxy login requests are made; the user's Keychain is updated with the proxy information.
    On pages with Java applets, however, each and every applet will ask for a proxy login, but the login window does not offer a Add to Keychain checkbox! If a page has 15 applets on it, the user will be asked 15 times to authenticate against the proxy.
    Naturally, this is a BIG problem, especially when several of the sites our teachers use in classes and labs contain many Java applets.
    On the web, there is almost nothing concerning setting up Java with proxy servers, as all Apple Java from v. 1.4.2 onwards picks up proxy information from the system's network settings.
    On the Apple Developer site, Tech Note QA1263 demonstrates a way of setting HTTPS proxy settings by entering text strings in the 1.3.1 and 1.4.1 Plugin Settings apps Java Runtime Parameters. The same capability exists in the J2SE 5.0 Java Preferences app, too. Unfortunately, the Java applets do not use HTTPS, so far as I can tell, so this remedy is useless.
    Any clues I can pursue? Any help or fixes?
    Thanks in advance!
    Derek I Smith
    Systems & Network Admin
    Riverdale Country School
    www.riverdale.edu
    eMacs,g4s,QSs,B/Ws,iMacs,G5,G5 XServe, etc   Mac OS X (10.4.5)  

    After some more research with the J2SE 5.0 Java Preferences app, I turned on the Java console, booted Safari and went to my favorite Java applet - babynamewizard. This is the output of the console log. From what I can glean, the plug-in sees the proxy server settings as it should, and reports them.
    In addition, the J2SE 5.0 Java Preferences app allows you to turn off all security settings. No change in behavior.
    The Log:
    Java Plug-in 1.5.0
    Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM
    User home directory = /Users/admin
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Loading proxy configuration from Netscape Navigator ...
    network: Done.
    network: Loading manual proxy configuration ...
    network: Done.
    network: Proxy Configuration: Manual Configuration
    Proxy: http=pcproxy.riverdale.edu:8080,https=pcproxy.riverdale.edu:8080,ftp=pcproxy.ri verdale.edu:8080,gopher=pcproxy.riverdale.edu:8080,socks=pcproxy.riverdale.edu:8 080
    Proxy Overrides:
    basic: Cache is enabled
    basic: Location: /Users/admin/Library/Caches/Java/cache/javapi/v1.0
    basic: Maximum size: unlimited
    basic: Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@fb6354, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@dc0e7a
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    network: Connecting http://babynamewizard.com/namevoyager/nametide2.jar with proxy=HTTP @ pcproxy.riverdale.edu/172.16.1.52:8080
    network: Connecting http://babynamewizard.com/namevoyager/nametide2.jar with cookie "s_cc=true; s_sq=%5B%5BB%5D%5D"
    network: Firewall authentication: site=pcproxy.riverdale.edu/172.16.1.52:8080, protocol=http, prompt=ENKI.riverdale.edu, scheme=basic
    basic: User selected: 0
    ~ ~ ~
    The proxy login window appears at this point and I authenticate to the proxy
    The log continues...
    ~ ~ ~
    network: Connecting http://babynamewizard.com/namevoyager/nametide2.jar with proxy=HTTP @ pcproxy.riverdale.edu/172.16.1.52:8080
    basic: Loading http://babynamewizard.com/namevoyager/nametide2.jar from cache
    basic: No certificate info, this is unsigned JAR file.
    network: Connecting http://babynamewizard.com/namevoyager/namedb.zip with proxy=HTTP @ pcproxy.riverdale.edu/172.16.1.52:8080
    network: Connecting http://babynamewizard.com/namevoyager/namedb.zip with cookie "s_cc=true; s_sq=%5B%5BB%5D%5D"
    Columns found: 28
    Num years: 13
    YEAR NAME: 1880s
    YEAR NAME: 1890s
    YEAR NAME: 1900s
    YEAR NAME: 1910s
    YEAR NAME: 1920s
    YEAR NAME: 1930s
    YEAR NAME: 1940s
    YEAR NAME: 1950s
    YEAR NAME: 1960s
    YEAR NAME: 1970s
    YEAR NAME: 1980s
    YEAR NAME: 1990s
    YEAR NAME: 2004
    Num names: 5251
    0 --> 923475.0
    1 --> 915444.0
    2 --> 905002.0
    3 --> 910731.0
    4 --> 915165.0
    5 --> 924335.0
    6 --> 938721.0
    7 --> 940141.0
    8 --> 923814.0
    9 --> 869609.0
    10 --> 848116.0
    11 --> 800666.0
    12 --> 759055.0
    Rank misses: 21
    0.15
    0.4475
    0.395
    0.3425
    0.29000002
    0.23750001
    0.185
    0.48250002
    0.43
    0.3775
    0.325
    0.2725
    0.22
    0.1675
    0.465
    0.4125
    0.36
    0.3075
    0.255
    0.2025
    ~ ~ ~
    The applet runs

  • Firefox crashes when viewing java applets

    Hi,
    Whenever I view a page with a java applet, Firefox exits and gives the following output:
    Plugin: unexpected work request from child
    INTERNAL ERROR on Browser End: Code = f60006
    System error?:: Success
    Some grepping shows that this is coming from the actual libjavaplugin_oji.so, not from firefox.
    I've symlinked the ns610-gcc32 .so file to /usr/local/firefox/plugins, and am using FC2, so no problems with libgcc, I think.
    With no access to the source, I can't tell what's going on... Do any of you know?
    Thanks.

    Plugin: unexpected work request from child
    INTERNAL ERROR on Browser End: Code = f60006
    System error?:: SuccessI'm experiencing the same problem, and while I don't have the entire answer yet I have a clue and a workaround. I renamed my entire home directory so I could start FireFox with a completely empty /home/pbs folder... and Java works fine. Applications which used to crash are now running.
    Deleting $HOME/.java did not help, so that is not the problem. As soon as I figure out which specific configuration files caused the problem, I'll post the answer here. Meanwhile I have to deal with the fact that Evolution lost all my user profiles after I renamed my saved home directory back again... argh.

Maybe you are looking for

  • Font changes in PDF form fields created in InDesign

    I wasn't sure where to post this -- InDesign or Acrobat forum -- I created a lot of form fields in InDesign and when I exported to PDF, some of the form fields ended up using Times and some using Helvetica. When creating the fields in InDesign, I cop

  • ScriptUI and Flex SDK version

    Hello, what is the last Flex SDK version supported by ScriptUI? It seems I'm having troubles loading a swf made with Flex 4.5 (Flash project, not AIR). I've been told that 3.6 is the latest, usable SDK - yet I'm afraid it could be a permission issue

  • Record& playback option in LabVIEW

    Dear All, I am trying to develop a Macro Recorder using labVIEW  in which i need to listdown(record) all the front panel event change(eg.control data change) and aftersome time using the list it must be played back. I have put all front panel control

  • Disk space issue with log files

    I noticed that I was running out of disk space, so I downloaded OmniDiskSweeper and ran it. Turns out that the main culprit is log files. They are located in /private/var/log/asl. However, OmniDiskSweeper won't let me delete them (it doesn't give an

  • How to add PCI 7340 and UMI in my labview program from functions palette or how?

    Am using PCI 7340 and UMI7764 for motion control of a stepper motor. How to add the functions for PCI and UMI in my labVIEW program and how do I use these further? I need to control the direction of stepper motor rotation based on the pressure applie