Problems with (selfcompiled) gnome-applets

I have experienced problems with gnome-applets. Those that come with a basic gnome installation work fine and there is no problem adding them to the panel. However, when I use selfcompiled applets I always get the following error when trying to add them.
The panel encountered a problem while loading "OAFIID:GNOME_HDAPS_STATUSApplet".
(Where OAFIID: is followed by the applets name.)
I tried pkgbuilds from the AUR like 'ontv' and 'gnome-hdaps-applet' and I've tried compile applets manually. Always the same issue. I don't know what's wrong. I've found threads where people get that error message on any applet but I didn't find a solution to my problem, as all my other applets work fine. Any ideas?

Have you done any Gnome updates since this applet was compiled? I seem to recall having a similar problem with an applet I built and, falling back to the Windows days, did a reboot, rebuilt the applet, and then all was well after I reinstalled the applet.
Not sure if this will help, but it cannot hurt.
Bob

Similar Messages

  • Problem with GUI in applet

    Hai to all,
    I am having a problem with GUI in applets
    My first class extends a JPanel named A_a
    import javax.swing .*;
    import java.awt.*;
    import java.awt.event.*;
    public class A_a extends JPanel
    JButton jb;
    JTextArea text;
    public A_a()
    setLayout(new FlowLayout());
    jb=new JButton("Click me");
    //add(jb);
    text=new JTextArea(5,20);
    add(text);
    public void text_appendText(String aa)
    System.out.println("I AM IN A_a");
    text.append(aa);
    text.revalidate();
    revalidate();
    /*public static void main(String ags[])
    A_a a = new A_a();
    JFrame frame=new JFrame();
    frame.getContentPane().add(a);
    frame.pack();
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) { System.exit(0); }
    frame.setSize(200,200);
    frame.show();
    and then I am using other class B_b which is an applet carries a exitsing panel (A_a) inside it .
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class B_b extends JApplet
    public A_a a;
    public void init()
    a=new A_a();
    getContentPane().add(a);
    public void text_appendText(String aa)
    final String aaa =aa;
    new Thread(new Runnable()
    public void run()
    a=new A_a();
    a.setBackground(new java.awt.Color(255,200,200));
    System.out.println("I AM IN B_b");
    a.text.append(aaa);
    a.text.revalidate();
    getContentPane().remove(a);
    resize(500,500);
    }).start();
    and the I am using the second applet C_c in which by performing a button action the old panel A_a should get removed and replace the new panel D_a (which is not here )in the applet B_b with all other components(namely button , text fields etc)
    import javax.swing .*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.util.*;
    public class C_c extends JApplet implements ActionListener
    JButton jbt;
    JTextArea jta;
    public void init()
    getContentPane().setLayout(new FlowLayout());
    jbt=new JButton("Click me");
    jbt.addActionListener(this);
    getContentPane().add(jbt);
    jta=new JTextArea(5,20);
    getContentPane().add(jta);
    public void actionPerformed(ActionEvent ae)
    Enumeration e = getAppletContext().getApplets();
    Applet applets = null;
    while(e.hasMoreElements())
    applets=(Applet)e.nextElement();
    if ( applets instanceof B_b)
    System.out.println("I AM CLASS C_c");
    ((B_b)applets).text_appendText(jta.getText());
    ((B_b)applets).remove());
    ((B_b)applets).getContentPane().add(D_d);
    both the applets C_c and B_b are in same browser page
    How can i achive that pls help .

    Just to make the code readable...
    import javax.swing .*;
    import java.awt.*;
    import java.awt.event.*;
    public class A_a extends JPanel
    JButton jb;
    JTextArea text;
    public A_a()
    setLayout(new FlowLayout());
    jb=new JButton("Click me");
    //add(jb);
    text=new JTextArea(5,20);
    add(text);
    public void text_appendText(String aa)
    System.out.println("I AM IN A_a");
    text.append(aa);
    text.revalidate();
    revalidate();
    /*public static void main(String ags[])
    A_a a = new A_a();
    JFrame frame=new JFrame();
    frame.getContentPane().add(a);
    frame.pack();
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) { System.exit(0); }
    frame.setSize(200,200);
    frame.show();
    }and then I am using other class B_b which is an applet carries a exitsing panel (A_a) inside it .
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class B_b extends JApplet
    public A_a a;
    public void init()
    a=new A_a();
    getContentPane().add(a);
    public void text_appendText(String aa)
    final String aaa =aa;
    new Thread(new Runnable()
    public void run()
    a=new A_a();
    a.setBackground(new java.awt.Color(255,200,200));
    System.out.println("I AM IN B_b");
    a.text.append(aaa);
    a.text.revalidate();
    getContentPane().remove(a);
    resize(500,500);
    }).start();
    }and the I am using the second applet C_c in which by performing a button action the old panel A_a should get removed and replace the new panel D_a (which is not here )in the applet B_b with all other components(namely button , text fields etc)
    import javax.swing .*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.util.*;
    public class C_c extends JApplet implements ActionListener
    JButton jbt;
    JTextArea jta;
    public void init()
    getContentPane().setLayout(new FlowLayout());
    jbt=new JButton("Click me");
    jbt.addActionListener(this);
    getContentPane().add(jbt);
    jta=new JTextArea(5,20);
    getContentPane().add(jta);
    public void actionPerformed(ActionEvent ae)
    Enumeration e = getAppletContext().getApplets();
    Applet applets = null;
    while(e.hasMoreElements())
    applets=(Applet)e.nextElement();
    if ( applets instanceof B_b)
    System.out.println("I AM CLASS C_c");
    ((B_b)applets).text_appendText(jta.getText());
    ((B_b)applets).remove());
    ((B_b)applets).getContentPane().add(D_d);
    }

  • Problem with focus on applet  - jvm1.6

    Hi,
    I have a problem with focus on applet in html page with tag object using jvm 1.6.
    focus on applet work fine when moving with tab in a IEbrowser page with applet executed with jvm 1.5_10 or sup, but the same don't work with jvm1.6 or jvm 1.5 with plugin1.6.
    with jvm 1.5 it's possible to move focus on elements of IEbrowser page and enter and exit to applet.
    i execut the same applet with the same jvm, but after installation of plugin 1.6, when applet gain focus don't release it.
    instead if i execute the same applet with jvm 1.6, applet can't gain focus and manage keyevent, all keyevent are intercepted from browser page.
    (you can find an example on: http://www.vista.it/ita_vista_0311_video_streaming_accessibile_demo.php)
    Any idea?
    Thanks

    Hi piotrek1130sw,
    From what you have described, I think the best approach would be to restore the original IDT driver, restart the computer, test that driver, then install the driver update, and test the outcome of installing the newest driver.
    Use the following link for instructions to recovery the ITD driver using Recovery Manager. Restoring applications and drivers.
    Once the driver is restored, restart the computer and test the audio. If the audio is good you can continue to use this driver, or you can reinstall the update and see what happens. IDT High-Definition (HD) Audio Driver.
    If installing the newest driver causes the issue to occur but the recovered driver worked, I suggest recovering again.
    If neither driver works I will gladly follow up and provide any assistance I can.
    Please let me know the outcome.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Problem with a signed applet and a user machine.

    Hello. I´m having some problems with a signed applet with some dependences.
    In one particular computer the applet doesn´t load.
    The java version installed in that computer is 1.6.0_25.
    The invocation tag:
    <applet name=applet id="applet" code=Applet/RequestApplet.class width=155 height=21 archive="RequestApplet.jar " MAYSCRIPT>
       <param id="parametro1" name="usuario" value="<Computed Value>">
    </applet>The RequestApplet.jar and dependences:
       bcmail-jdk13-145.jar(signed by bouncy castle), jce-ext-jdk13-145.jar(signed by bouncy castle), AbsoluteLayout.jar, plugin.jar, RequestApplet.jar(signed by me)*this files are all in the same folder.
    The requestApplet.jar manifest:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    X-COMMENT: Main-Class will be added automatically by build
    Class-Path: bcmail-jdk13-145.jar jce-ext-jdk13-145.jar plugin.jar Abso
    luteLayout.jar
    Created-By: 10.0-b23 (Sun Microsystems Inc.)
    Main-Class: Applet.RequestApplet
    Name: Applet/ResponseApplet$1.class
    SHA1-Digest: fO5IPiwEH3OhvlprhBecmMIAVJI=
    Name: Applet/NewJApplet.class
    SHA1-Digest: 6XSpm7lQEQRi39TegoUYv2aFJrk=
    Name: Applet/ResponseApplet.class
    SHA1-Digest: v1EbKUFB+QdvO05xx8UzAMNIyRs=
    Name: Applet/ResponseApplet$4.class
    SHA1-Digest: XH4I67psXZTelpz0AMAYc/Ej8QY=
    Name: Applet/RequestApplet$1.class
    SHA1-Digest: KAP5sAC4Thv/6GClkFAdGUVzgYA=
    Name: Applet/ResponseApplet$5.class
    SHA1-Digest: CVPnKrW2SgNEkRzYnVnQe3KGrIU=
    Name: Applet/ResponseApplet$3.class
    SHA1-Digest: SjfW1k1K7BA9m3AxmHi+jvRE+9o=
    Name: Applet/ResponseApplet$2.class
    SHA1-Digest: 3Pu18CZMLuEh7/n3y7XxFSkuNQY=
    Name: Applet/RequestApplet.class
    SHA1-Digest: Tky85es5+o371adetH9XVEI2Z+o=The error:
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         ... 20 more

    Thanks. I´ll try with your tips. But if i put all the dependences in archive I get this error.
    The tag:
    <applet name=applet id="applet" CODEBASE="." code="Applet/RequestApplet.class" width=155 height=21 archive="bcmail-jdk13-145.jar, jce-ext-jdk13-145.jar, AbsoluteLayout.jar, plugin.jar, RequestApplet.jar " MAYSCRIPT>
       <param id="parametro1" name="usuario" value="<Computed Value>">
    </applet>The error:
    Java Plug-in 1.6.0_25
    Usar versión JRE 1.6.0_25-b06 Java HotSpot(TM) Client VM
    Directorio local del usuario = C:\Documents and Settings\Administrator
    c:   borrar ventana de consola
    f:   finalizar objetos en la cola de finalización
    g:   liberación de recursos
    h:   presentar este mensaje de ayuda
    l:   volcar lista del cargador de clases
    m:   imprimir sintaxis de memoria
    o:   activar registro
    q:   ocultar consola
    r:   recargar configuración de norma
    s:   volcar propiedades del sistema y de despliegue
    t:   volcar lista de subprocesos
    v:   volcar pila de subprocesos
    x:   borrar antememoria del cargador de clases
    0-5: establecer nivel de rastreo en <n>
    basic: Receptor de progreso agregado: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@f39b3a
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/bcmail-jdk13-145.jar
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/jce-ext-jdk13-145.jar
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/AbsoluteLayout.jar
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/plugin.jar
    basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/RequestApplet.jar

  • [SOLVED] Problem with privileges (nm-applet and mounting devices)

    Hi,
    I have a little problem after a system update made a few weeks ago. (At least I think it started after that update, but I am not sure.)
    It's something related to lack of privileges or sth...
    When I right-click on nm-applet icon some options are greyd out as well as when I try to add a new network - everything in the dialog is grey. But when I "sudo nm-applet", everything works.
    And the next problem is: When I plug my USB stick/drive to NB it is not mounted automatically but I need to open nautilus, mount it manually and an "Authenticate" dialog shows up and my password is required. But why? It didn't use to work that way. I don't understant what might have changed.
    I use SLiM starting my gnome-session.
    My ~/.xinitrc:
    exec ck-launch-session dbus-launch gnome-session
    My /usr/share/gnome-session/sessions/gnome-fallback.session
    RequiredComponents=gnome-settings-daemon;
    RequiredProviders=windowmanager;
    DefaultProvider-windowmanager=compiz
    DefaultProvider-notifications=notify-osd
    DefaultProvider-displaymanager=slim
    (I don't use gnome-shell nor gnome-panel, but Gnome with xfce4-panel )
    Thank you in advance.
    Last edited by mino.sk (2012-06-22 21:25:57)

    Thank you, headkase, you were right about it! Removing "ck-launch-session" solved my problems. I also removed "dbus-launch" because I didn't have it there originally, I had added "dbus-launch" to exec line just today as I had read somewhere that it might help (it didn't)...
    So, I'm going with "exec gnome-session" and everything works, thanks.
    //Edit: Admin can mark this as "[SOLVED]"
    Last edited by mino.sk (2012-06-22 20:22:39)

  • Problem with Notifications (Gnome 3.4.1)

    Hey guys.
    I just installed Arch with Gnome 3.4.1, and everything works fine. I just had two issues. The first one, was the Date/Time, and that i solved by reading another thread here.
    The second problem is what i'm worried about...
    The default behavior for notifications is to show the notification bar for some seconds, and then hide it, right? Then, if there's more notifications of that same program, put a counter on it.
    The thing is, i have no such behavior. The bar don't show, and the notification counter do not work. I use Empathy, and when i receive more than one message, the notification counter doesn't appear, and i think, because of that, some extensions that use notifications counters don't work at all.
    Not sure if i was clear, let me know if you need more details. I have vanilla Gnome Shell Theme, Icons and all the extensions are disabled. Everything was installed with 'pacman -S gnome gnome-extra'
    Can you guys give me some light on this? Is it a upstream bug? Ubuntu with shell 3.4.1 seemed to work fine, but i really want to use Arch....
    Thanks in advance.

    m79reed wrote:
    @jakobcreutzfeldt,
    Try install this extension: https://extensions.gnome.org/extension/ … -notifier/. It's much easier to see how counters is working with that one.
    And now...
    Counters is not working for me:
    1) contacts that have already a chat WINDOW opened (chat window is not active)
    2) contact that chat TAB is active (chat window is not active).
    Red notification icon blinks only fast and gone - like something marks it as readed.
    For any other contacts (someone send a message to you first [no opened chat window with that contact] OR TAB is non-active) notification counters is working fine.
    I will try to add a new account and test on it. Mayby something is wrong with old configuraction files from gnome-shell 3.2...
    [edit]
    OK, i've tested with fresh account and problem exists and sound notification works only for contacts sending a new message.
    [edit2]
    Just discovered that notification counters is not working when use -a option for notify-send command. Any other options works fine. Ex.:
    notify-send -a empathy -i empathy test1 test2 - counter is not working
    notify-send -i empathy test1 test2 - counter is working fine
    This is my problem exatly. Still not able to figure this out.
    No, it's not a problem with extension. Counter notifications is not working without it too.
    @jakobcreutzfeldt,
    Can you paste yours:
    pacman -Qs notification
    output?
    This is mine:
    pacman -Qs notification
    local/libevent 2.0.18-1
    An event notification library
    local/libnotify 0.7.5-1
    Desktop notification library
    local/notification-daemon 0.7.4-1 (gnome)
    Notification daemon for the desktop notifications framework
    local/startup-notification 0.12-2
    Monitor and display application startup

  • Problem with accessing Signed Applet from javascript method

    Hi,
    I am facing the following problem while accessing Signed Applet from javascript method.
    java.security.AccessControlException: access denied (java.io.FilePermission c:/temp.txt read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at FileTest.testPerm(FileTest.java:19)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    I am using jdk1.5 for my development...
    Can anyone help to resolve this security issue. Urgent...
    Thanks in advance.

    Hey thanks. I wasn't able to get it to work with that sample but I did find this very similar code that does allow javascript to call JFileChooser in an applets public method.
    java.security.AccessController.doPrivileged(
    new java.security.PrivilegedAction()
    public Object run(){                           
    //do your special code here
    return null; //return whatever you want
    It seems a bit tempermental in that if you don't select a file quickly, it will hang the browser....no perfect solution but I'm going in the right direction.
    Thanks,
    Scott

  • Problem with threads within applet

    Hello,
    I got an applet, inside this applet I have a singleton, inside this singleton I have a thread.
    this thread is running in endless loop.
    he is doing something and go to sleep on and on.
    the problem is,
    when I refresh my IE6 browser I see more than 1 thread.
    for debug matter, I did the following things:
    inside the thread, sysout every time he goes to sleep.
    sysout in the singleton constructor.
    sysout in the singleton destructor.
    the output goes like this:
    when refresh the page, the singleton constructor loading but not every refresh, sometimes I see the constructor output and sometimes I dont.
    The thread inside the singleton is giving me the same output, sometime I see more than one thread at a time and sometimes I dont.
    The destructor never works (no output there).
    I don't understand what is going on.
    someone can please shed some light?
    thanks.
    btw. I am working with JRE 1.1
    this is very old and big applet and I can't convert it to something new.

    Ooops. sorry!
    I did.
         public void start() {
         public void stop() {
         public void destroy() {
              try {
                   resetAll();
                   Configuration.closeConnection();
                   QuoteItem.closeConnection();
              } finally {
                   try {
                        super.finalize();
                   } catch (Throwable e) {
                        e.printStackTrace();
         }

  • Problems with RSA Signed Applets methods called by JavaScript

    Hi Folks,
    I need to give all permissions to an Applet used in an Intranet application, so I signed the jar containing it with a RSA self-cert and I did the same for all the other jar files userd by the applet.
    The applet runs under Java Plugin with JRE 1.5.0_06: I am requested by the browser to install the cert and all works fine.
    When a JavaScript function calls a public method of the applet I received a security exception when the code tries to read a system property.
    The same method works fine if called by the applet itself or by a gui event (i.e. a button click) inside the applet, so the problem seems to be related to the fact the applet is used by JavaScript (in Explorer 6).
    Does anyone know some way to overcome this problem????
    Message was edited by:
    piero

    If I may be so bold as to ask you to elaborate on this fix? I have encountered an identical issue, but I have no idea about your reference to your fix, sorry.

  • Problem with displayinh Java Applets

    Hi
    I've recently downloaded the latest version of Java Plug in and I'm expierencing problems that the applet doesn't load instead I'm getting an "X" on the left hand corner, this happens 95% of the time,any help?
    I appreciate your quick response.
    Thanks
    Abraham

    Read the java console... it will typically tell you what's wrong. If you don't understand what you see there, paste it here. If you don't know how to find the java console, search this forum.

  • Problem with access JSF applet using javascript

    Can someone help me!
    I'm using a applet in jsf page, and i'm trying to access this applet using a javascript.
    Here is the applet code
    <jsp:plugin code="DoAction.class" codebase="." height="400" hspace="10" jreversion="1.5" type="applet" vspace="50" width="100" name="myApp"/>
    Here is the javascript
    function printReturn()
    var a = document.myApp.returnString();
    alert(a);
    "returnString" is the method in applet which simply return a string
    But it doesn't work, it works well when i'm using this applet in JSF
    <applet code="DoAction.class" width="100" height="50" name="myApp" ></applet>
    Unfortunately it's depricated!
    Please tell me what is the solution....

    Thank You for replying.
    I'm trying to call applet method using JavaScript.
    It works when i'm using below apllet tag.
    <applet code="DoAction.class" width="100" height="50" name="myApp" ></applet>
    But it's deprecated
    It doesn't work for below applet tag
    <jsp:plugin code="DoAction.class" codebase="." height="400" hspace="10" jreversion="1.5" type="applet" vspace="50" width="100" name="myApp"/>
    This is my javascript
    <script type="text/javascript">
    function setSearch()
    var a = document.myApp.returnString();
    alert(a);
    </script>

  • Problem with a sign Applet - certificate isn't recognized

    Hello to all the java experts
    I have created a certificate using keytool. I have exported the certificate and installed it on the computers of the users. The certificate worked well on all the computers except one. I have got a message:
    java.security.cert.certificateException unable to verify the certificate CA root
    I want to add that when I installed this certificate I got a message that it was imported successfully and I have also seen that the certificate is valid. I imported it by double-clicking on the crt file and choosing "install certificate". I also tried to import it by using the command: keytool -import -alias company -keystore carets -storepass changeit -file c:\crtfile.crt.
    I have checked that the certificate was imported by the command:
    keytool -list -v -keystore company
    The only thing which is different on this computer is the plugin of swing (1.3.01 and not 1.3.02)
    What can cause to this problem? How can I fix it?

    Noone has any idea?

  • Hi. Problems with NumberGuessing Game Applet.

    hi. thanks for taking time to read this. can anyone tell me where my mistake is? cause my button just won't work. espically when i press my Guess Now Button. any suggestion of imporvement? thanks for ur time.
    Here's my coding.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Random;
    public class NumberGuess extends Applet
    implements ActionListener
         Button guessnow;
    Button start;
         TextField inputNum;
    int count = 3;
         int guess,number;
         int x;
         String one,two;
    public void init()
              guessnow = new Button("Guess Now");
    add(guessnow);
    guessnow.addActionListener(this);
              inputNum = new TextField(4);
              inputNum.addActionListener( this );
         add( inputNum );
         start = new Button("Start New Guess");
    add(start);
    start.addActionListener(this);
              Panel p = new Panel();
         p.setLayout(new BorderLayout());
    p.add("North", inputNum);
         p.add("West", guessnow);
         p.add("East", start);
    add(p);
    public static void genNum(String [] args)
                        int random=1+(int)(Math.random()*11);
    public void actionPerformed( ActionEvent event ){
              one = event.getActionCommand();
         if (one.equals("Guess Now"))
              guess = Integer.parseInt( inputNum.getText() );
              inputNum.setText("");
              x = 1;
              count = count - 1;
    two = event.getActionCommand();
              if else(two.equals("Start New Guess"))
              count = 3;
    x = 2;
              }repaint();
    public void paint (Graphics g) {
         g.drawString("Number is ranging from 0-10.",25,80);
         if(x== 2){
         int random=1+(int)(Math.random()*11);
         g.drawString("You have 3 Tries to Guess The Number.",25,90);
    if (x==1){
                   if (count <=0){
    g.drawString("You Have Used Up All 3Tries. The Number is" + number + ".",25,90);
                   else if (guess != number)
                        g.drawString("Wrong.Try Again!",25,90);
                        g.drawString("you have" + count + "left",25,100);     
                   else {
                        g.drawString("thats right. u got the right answear",100,140);          

    Came up 2 days back - Is this the same person did you see this?
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class n extends Applet implements ActionListener{
       Button guess, start;
       TextField input;
       int x = 0, ans, random, count;
       String inst = "Press the 'Start new guess' button to start new game.";
    public void init() {
       input=new TextField(10);
       add(input);
       input.addActionListener(this);
       guess=new Button("Guess Now!");
       add(guess);
       guess.addActionListener(this);
       start=new Button("Start new guess");
       add(start);
       start.addActionListener(this);
    public void paint(Graphics g) {
       g.drawString("Number is ranging from 0-10.",120,65);
       g.drawString(inst,60,135);
       if (x==1)g.drawString("You have "+count+" tries.",100,135);
          if (x==2) {
             if ((ans > random) && (count >= 1)) {
                g.drawString("Wrong, your guess is too high, try again.",25,90);
                g.drawString("You have "+count+" more tries.",25,110);
          if ((ans < random) && (count >= 1)) {
             g.drawString("Wrong, your guess is too low, try again.",25,90);
             g.drawString("You have "+count+" more tries.",25,110);
          if (count==0) {
             g.drawString("Game Over!",115,120);
             g.drawString("Press the 'Start New Guess' to play again.",100,135);
    x=0;
          else if (random == ans){
             g.drawString("That's right !!! Congratulations !!!",115,120);
             g.drawString("Press the 'Start New Guess' to play again.",100,135);
             x=0;
       } // x=2 close
    public void actionPerformed(ActionEvent event) {
         if ((event.getSource().equals(start)) && (x==0)) {
            random=1+(int)(Math.random()*10); // generates random number 1 to 10
            inst = "";
            x = 1;
            count = 3;
         if (event.getSource().equals(guess)) {
            ans=Integer.parseInt(input.getText());
            x = 2;
            count--;
       repaint();
    }

  • Problem with display of applet

    Hi,
    I have the a code which compiles but and displays in appletviewer. However, it does not display in the Web Browser (IE). I was wondering why is it. I appreciate any help, in advance. Thanks.
    THE CODE:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*; // NEW INCLUDE!!!
    public class URLComboBox extends JApplet implements ActionListener
    JComboBox cbxUrl;
    JLabel lblOutput;
    URL companyUrl;
    public void init() {   
    cbxUrl = new JComboBox();
    cbxUrl.addItem("microsoft");
    cbxUrl.addItem("oracle"); //SPELLING!!!
    cbxUrl.addItem("informix");
    cbxUrl.addItem("sybase");
    cbxUrl.setEditable(true);
    cbxUrl.addActionListener(this);
    lblOutput = new JLabel(); //UNCOMMENTED!!!
    //URL companyUrl;
    getContentPane().setLayout(new FlowLayout());
    getContentPane().add(cbxUrl);
    getContentPane().add(lblOutput);
    public void actionPerformed (ActionEvent ev) {   
    String selection;
    selection=(String)cbxUrl.getSelectedItem();
    String urlText = "http://www." + selection + ".com";
    //lblOutput.setText("you chose " + selection);
    try {     
    companyUrl = new URL(urlText);
    getAppletContext().showDocument(companyUrl);
    } catch(MalformedURLException e){     
    System.out.println("Bad URL: " + e);

    u probably don't have the jre plugin installed download and install it from java.sun.com

  • CPUFreq gnome applet doesn't work.

    Hi, i have a problem with CPUFreq gnome applet.
    I'm following this instruction: https://wiki.archlinux.org/index.php/GN … n.27t_work and frequency scaling still not working, but I can change this manually (cpufreq-set). When i run startx as root this works pretty good.
    My rc.conf:
    CONSOLEFONT="lat2-16.psfu.gz"
    CONSOLEMAP=
    USECOLOR="yes"
    USELVM="no"
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=()
    MODULES=( fglrx acpi_cpufreq acpi-cpufreq cpufreq_powersave cpufreq_ondemand cpufreq_conservative cpufreq_userspace )
    HOSTNAME="test"
    lo="lo 127.0.0.1"
    INTERFACES=(lo)
    DAEMONS=( syslog-ng dbus @crond @acpid @alsa @sensors !network )
    Any idea?
    Last edited by blind337 (2010-11-11 16:20:47)

    Hi!
    You've written acpi_cpufreq twice there:
    MODULES=( fglrx acpi_cpufreq acpi-cpufreq cpufreq_powersave cpufreq_ondemand cpufreq_conservative cpufreq_userspace )
    You've forgotten cpufreq in your daemons array:
    DAEMONS=( syslog-ng cpufreq dbus @crond @acpid @alsa @sensors !network )
    Check here: https://wiki.archlinux.org/index.php/Cpufrequtils

Maybe you are looking for

  • CS6 Photoshop reads this when attempting to "Could not initialize Photoshop because the preferences file was invalid (it has been deleted). HELP!

    Finally got a call this morning from an Adobe Rep and he explained to me the issue. He explained that I needed to uninstall the adobe product, in this case Photoshop CS6 and download it again and reinstall it! So, I did that and get the same message

  • 4.6c to ECC 6.0 upgrade

    My client is looking to move from 4.6C to ECC 6.0. Now, it is using BAs as the legal entities instead of compay codes, its also using Internal Orders to capture all the revenue and cost centers for expenses as well as balance sheet items (changing th

  • Data guard sid

    Dear Gurus I need to implemement data guard in sap.client is asking that on standby its required that sid be same as primary because sap uses it. So is it possible to configure data guard with same sid's on primary and standby. also as i keep sid sam

  • CS5 on a small monitor

    I just loaded CS5 onto my new 11.5 inch computer (for travel).  The windows like the levels window are really small.  Is there a way to make them bigger??

  • Trouble with html  and Foreca meteo maps

    hey,... here is the situation ,... i try to display this type of address with "<mx:HTML >" http://srv.foreca.com/foreca_com/loader20.swf?lang=FR&mode=world&continent=Europe  i have remplaced the "&" by "&" but with no result it is possible to display