Menu

Impossible to write in a dialog box

Help
micky501
2006-01-18
2013-04-16
  • micky501

    micky501 - 2006-01-18

    Hi,

    First, here is my configuration :
    Java 1.4.2_05
    Mac OS 10.3.8
    Mozilla 1.6
    MRJPlugin and JEP copied in /Library/Internet PLug-Ins

    Problem:
    I am running an applet which is supposed to sign a text using the certificates imported into the Mozilla  Certificate Manager. The first popup asks me to choose which certificate I want to use. This works. Then I am asked to enter the PIN code to use that certificate. A new popup opens but I can't type anything (neither letters nor numbers). and so my signature failed.

    So I ran some others tests. I tried to take off JEP and leave only MRJPlugin in /Library/Internet Plug-Ins. JVM 1.3.1 is started and I can run my test. No problem to enter the PIN code.

    This is really annoying because I need to use JVM 1.4.2 so any solution would be appreciated.

    Thanks you

    Micky

     
    • Steven Michaud

      Steven Michaud - 2006-01-18

      First off, you should upgrade to Apple's latest version of Java for OS X
      10.3.X -- it contains significant security fixes.  This isn't relevant to your
      problem, but it's still a very good idea.  (Go to
      http://developer.apple.com/java/download/ and get the 'Java Security Update'
      dated 2005-09-13.  The Java version it installs is 1.4.2_09.)

      Secondly, your Mozilla version is very old.  Try the latest version (1.7.12).

      Thirdly, make sure you're using the latest JEP version (0.9.5+b).

      If steps 2 and 3 don't help, then your problem will be a lot harder to
      resolve, because I will need to be able to reproduce it to proceed.

      To be able to reproduce your problem, I will need to have access to your
      'applet which is supposed to sign a text', or to some other applet with which
      you also experience the problem.  If this applet is publicly available, please
      give me the URL.

      I assume that your certificate is a 'signing certificate' -- i.e. one of it's
      'purposes' is to 'sign' an email or some file.  I can create my own 'signing
      certificate', if need be.

      Which program displays the two popups that you talk about?  I'd guess this is
      Mozilla in both cases, but let me know if I'm wrong.

       
    • micky501

      micky501 - 2006-01-18

      Hi,

      Firt, thanks for your reply. I can't do the updates you advise me because my applet needs to run under this configuration. But I just found the solution. It's not due to JEP but to Apple's JVM.

      JVM 1.4 and 1.5 have some bugs when using AWT instead of SWING and in this case, my popups were generated by my applet.

      Nevertheless, I found a solution. I can enter my PIN code if I click on the dialog box and don't release the button. Clicking and writing ! It's tricky but it works. I hope Apple will correct this bug soon.

      Thanks again Steven and good luck for your project. You do a really good and useful job.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.