Java swing on Internet Explorer Urgent

hello,
I have simple applet. Which can be viewed on appletviewer , But if I try to view in Internet Explorer ,it gives nothing.
Plz help Me.

Go to this page to find out what version of Java your browser is using:
http://javatester.org/version.html
If it is not JDK 1.2 or higher, it doesn't support Swing or a whole lot of other really useful features that have been in Java for years. Blame Microsoft for that.
Then go and download the Sun Java plugin so that your browser will be using an up-to-date Java implementation.
Regards,
Dave Gilbert
http://www.jfree.org

Similar Messages

  • Swing with Internet Explorer

    Hi there,
    I have an applet which has Swing components. But I cannot run it without installing the JRE from Sun with Internet Explorer. I mean an IE with its own virtual machine does not run Swing Applets. Is there anyway to make it run without requesting the user to download the JRE (which is 10 Mb) ? The interesting fact is that this problem does not appear in Applets which don't have the Swing Components and have the ordinary AWT.
    Thanks

    What I did was to extract the swing files (with full path) to my CABROOT from the file src.zip included with the JDK you have. BE AWARE! Microsoft VM is way out dated and based on Java 1.1 (at least as far as I know) and is a real PAIN to code for this and the Sun VM which is the default VM for just about everything else such as Netscape, Mac OS and others. It is a good idea to have your clients download and install the Sun VM (really easy) now while the you have the chance. It is hard to tell how long Microsoft will even support the VM they have much longer with .Net rolling out. Anyways, after extracting the swing files from (they are in their own directory) src.jar (you can use Winzip), just create the CAB file as you would always. There should be an extra directory within the CABROOT called javax (then swing\...) if you have done everything correctly.

  • Java vulnerability on Internet Explorer?

    I've noticed that when I try to enter a certain site with Internet Explorer a Java written virus tries to attack me. Does anyone know anything about this? How can I fix it?

    The first thing that the antivirus locates is a .exe. If I turn on Emergency Block right away the JVM doesn't start. However, if I don't turn on Emergency Block right away, the JVM starts and the antivirus detects a .class file. After that, the PC freezes for a while and I reset it (I won't wait to see what happens). When I restart, I find a folder named Sun with a lot of .class files inside.

  • How to use a DropDownList in Java Swing.Its very very Urgent

    Hi Sir,
    Here i need to know how to do (or) create a dropdownlist by using Java Swing.I know that there is JMenuBar & JMenuItems without using that when i click a JButton for example the dropdownlist should come from the top to bottom.I have already posted this quesion once.And i found that it has been removed.So i hope that this time i will get a better answer.Pls.do provide the code as well sir.So that i will be very thankful to u.Since i am involved in a project which contains this
    feature.It is very very Urgent.So pls.do provide the code i will be waiting for the reply.
    Thanx,
    m.ananthu

    use JComboBox
    JComboBox liste = new JComboBox(new Object[]{"azerty","qwerty});the api documentation :
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComboBox.html
    the turotial on combobox :
    http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html

  • How to create a java plugin for Internet explorer

    Hi All,
    I have recently started working on java,i need to a create a plugin which can launch any file type(say any file which draws a cube with some extension .abc).Where should i start my work from.What do i need to do first.Please help me out coz it is very important for my project work.
    Any suggestions would be much appreciated.
    Regards,
    Deepti.

    Hi Viravan,
    I signed my applet as u said but for some reason the browser is not recognising the cert.The applet is reading a wrl file from my local C drive.I'm creating a plugin to show this applet in the browser window.this is all i have to do.i guess u will have an idea by looking at this program of mine.
    Curves.wrl is the file which i'm reading from the Cdrive.
    i even changed my policy file but in vain.
    JAVA CODE
    import java.awt.BorderLayout;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import javax.vecmath.Point3d;
    import com.sun.j3d.loaders.Scene;
    import java.awt.GraphicsConfiguration;
    import java.io.*;
    import com.sun.j3d.loaders.vrml97.VrmlLoader;
    import com.sun.j3d.loaders.Scene;
    import com.sun.j3d.utils.behaviors.mouse.*;
    import com.sun.j3d.utils.geometry.ColorCube;
    import java.lang.*;
    import java.applet.*;
    import java.net.URL;
         public class Vrml2 extends Applet {
         private SimpleUniverse u=null;
         public BranchGroup createSceneGraph() {
         BranchGroup objRoot = new BranchGroup();
         //TransformGroup objScale = new TransformGroup();
         //Transform3D t3d = new Transform3D();
         //t3d.setScale(0.3);
         //objScale.setTransform(t3d);
         //objRoot.addChild(objScale);
         BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0),      100.0);
         Color3f bgColor = new Color3f(1.0f,1.0f,1.0f);
         Background bg = new Background(bgColor);
         bg.setApplicationBounds(bounds);
         objRoot.addChild(bg);
         Color3f light1Color = new Color3f(1.0f, 1.0f, 0.9f);
         Vector3f light1Direction = new Vector3f(4.0f, -7.0f, -12.0f);
         DirectionalLight light1 = new DirectionalLight(light1Color,      light1Direction);
         light1.setInfluencingBounds(bounds);
         objRoot.addChild(light1);
         TransformGroup objTrans = new TransformGroup();
         objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
         objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
         objTrans.setCapability(ColoringAttributes.ALLOW_COLOR_READ);     objTrans.setCapability(ColoringAttributes.ALLOW_COLOR_WRITE);     objTrans.setCapability(Material.ALLOW_COMPONENT_READ);     
         objTrans.setCapability(Material.ALLOW_COMPONENT_WRITE);
         objTrans.setCapability(TransformGroup.ENABLE_PICK_REPORTING);
         //objScale.addChild(objTrans);
         objRoot.addChild(objTrans);
         VrmlLoader loader = new VrmlLoader();
         Scene s = null;
         try {
              s = loader.load("c:/documents and      settings/dk27/morph/curves.wrl");
         catch (SecurityException e) {
              System.out.println(" caught security exception by deepti");
              System.out.println(e);
         catch (Exception e) {
              System.out.println("Exception caught");
              System.err.println(e);
              System.exit(1);
         //objTrans.addChild(new ColorCube(0.2));
         objTrans.addChild(s.getSceneGroup());
         Transform3D yAxis = new Transform3D();
         Transform3D tr3d=new Transform3D();
         tr3d.lookAt(new Point3d(13.00,-2.5,11.83),new Point3d      (20.0,0.0,50.0),new Vector3d(0.0,1.0,0.0));
         tr3d.invert();          
         //to rotate the cone left button
         MouseRotate behavior = new MouseRotate();
         behavior.setTransformGroup(objTrans);
         objTrans.addChild(behavior);
         behavior.setSchedulingBounds(bounds);
         //to zoom the cone middle button
         MouseZoom behavior1=new MouseZoom();
         behavior1.setTransformGroup(objTrans);
         objTrans.addChild(behavior1);
         behavior1.setSchedulingBounds(bounds);
         //to translate the cone right button
         MouseTranslate behavior2=new MouseTranslate();
         behavior2.setTransformGroup(objTrans);
         objTrans.addChild(behavior2);
         behavior2.setSchedulingBounds(bounds);
         objRoot.compile();
         return objRoot;
         public Vrml2() {
         public void init(){
         setLayout(new BorderLayout());
         GraphicsConfiguration config=SimpleUniverse.getPreferredConfiguration     ();
         Canvas3D c = new Canvas3D(config);
         add("Center", c);
         BranchGroup scene = createSceneGraph();
         SimpleUniverse u = new SimpleUniverse(c);
         u.getViewingPlatform().setNominalViewingTransform();
         u.addBranchGraph(scene);
         public void destroy(){
         u.removeAllLocales();
         public static void main(String[] args) {
         new MainFrame(new Vrml2(),600,800);
    APPLET CODE:
    <HTML>
    <HEAD>
    <TITLE>Morphing Applet</TITLE>
    </HEAD>
    <BODY>
    <APPLET CODE = "Vrml2" CODEBASE = "." ARCHIVE = "Vrml2.jar" WIDTH = 202 HEIGHT = 177>
    </APPLET>
    </BODY>
    </HTML>
    the errors that it is displaying are
    java.security.cert.CertificateException: Unable to verify the certificate with root CA
         at sun.plugin.security.TrustDecider.isAllPermissionGranted(Unknown Source)
         at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
         at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:162)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:128)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:373)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:484)
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
         at java.security.AccessController.checkPermission(AccessController.java:399)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
         at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:139)
         at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:279)
         at java.lang.ThreadGroup.getParent(ThreadGroup.java:140)
         at javax.media.j3d.MasterControl$23.run(MasterControl.java:3077)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.media.j3d.MasterControl.<clinit>(MasterControl.java:3070)
         at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:206)
         at Vrml4.init(Vrml4.java:110)
         at sun.applet.AppletPanel.run(AppletPanel.java:344)
         at java.lang.Thread.run(Thread.java:484)
    Exception:java.io.FileNotFoundException: D:\JDK13~1.1\lib\flavormap.properties (The system cannot find the file specified) while loading default flavormap.properties file URL:file:D:\JDK13~1.1\lib\flavormap.properties

  • Swing Applet - Internet Explorer - Focus issue - tool tips

    Hi ,
    We are using Swing applet in IE Browser , except this swing component rest of the components in the browser are HTML/DHTML components.
    and we are having issue focus issue with this swing components ,
    once immediately after launching the swing applet , the UI components are having some focus issue , if I bring the mouse on top of the swing UI components , we couldn't able to see the tooltips(flyover text) of those Swing UI components.
    However if we click some where on the Swing applet frame , we are able to see these tooltips(flyover text) .
    It looks like a kind of compatibility issue between swing and IE browser .
    I am trying to find a solution for this issue , so that once after launching the applet , tooltips will work without need to click on the applet bar.
    Can somebody share some thoughts on this issue??
    Thanks,
    Bonthu.

    As a wild guess you are mixing Swing and awt components which is a big no-no and among other things can cause repainting, refreshing issues.
    If you want more help then that you need to post some code that shows us what you are doing.

  • Java not working in Internet Explorer

    I normally use another browser (Google Chrome) but need to use Internet Explorer for a particular online banking service. This service requires a Java applet.
    I have the current Java environment (as at 21.3.12), SE 6 Update 31.
    Java works in Chrome but does not work in IE8 or IE9.
    I have un-installed and re-installed Java several times, tried going back to IE8, turned off ActiveX filtering, confirmed Java scripting is on, checked add-ins are managed correctly and so on and so on, without success. Given Java works it is not a Java
    issue but must be an IE issue.
    Are there any additional steps or diagnostics I can run to try to identify the problem as I need this to be resolved for the purposes of running my business.
    Many thanks!

    Hi guys.
    I'm having an issue like this and none of the solutions above helped me.
    I'm trying to open a specific web page that is not working with Java only on Internet Explorer (7, 8 nor 9). If I try to open in Google Chrome or Firefox it goes fine.
    I've tried various versions of Java and all my tries were done both on Windows XP Professional and Windows 7 Professional.
    The weird thing is that when I test it through Java webpage or some other page, it goes fine. It is not working only for this specific webpage.
    This is the webpage:
    http://iweb03ds.magnaclosures.com/stconf.nsf/meeting/mid3FC5EBB1D59C830685257A2900420436
    It is a meeting webpage for our company to present their work to our clients and suppliers. I've also followed their own step-by-step advises, but no good either.
    Could anyone help me on that?

  • Switching VM in Internet Explorer

    There are articles how to switch between Sun Java and Microsoft VM Java in MS Internet Explorer 6. Unfortunately the descriptions fail to say, that you need administrator rights.
    Or at least in the case of Windows XP Professional wSp2 client in the Windows 2003 Active Directory environment it is the case.
    Any idea, how to switch between SUN and MS VM with domain user rights?
    I would appreciate your comments/ help.
    Regards,
    Milos

    if you can install the latest ie.. it has the vm for java

  • Oracle forms 11g running forms on internet explorer error

    Hi , this is abhishek I am new to oracle forms 11g . My question is that when I run the forms 11g on internet explorer it shows an error . The error is too many tries.
    first I like to clarify that before running the forms i start the weblogic server ,along with admin server for weblogic and opmn managed components, i give the user name and password to start the weblogic server, everything starts smoothly . even I have jre 1_6_29 installed to start the servlet . Main problem starts when the java runs the internet explorer browser then a box appears asking for user name and password and database connect string , then after putting the username and password it again asks for the username and password.It happens three times and after that an error appears in a dialog box which shows too many tries . I also checked the net configuration asistant with the local net service name configuration there it shows the service name which is orcl.Home and then TCP --->Host name is localhost with 1521 as standard port number --> yes perform the test and the result is written connecting test successful . what is wrong with the instance , the http listener is working perfectly then why this error is coming, is there something to do with the browser , but the browser is supporting java very well .. please help

    I have found the file but it does not have any path except forms_path,oracle_home,webutil_config,etcCurious, my default.env had the following default TNS_ADMIN entry:
    # TNS Entry to locate the database
    TNS_ADMIN=D:\Oracle\Middleware\asinst_1\configI modified this entry to point to the location where my tnsnames.ora and sqlnet.ora files are located. I use a generic location and share them accross installed Oracle products rather than maintain seperate copies of these files in each Oracle Home. For example, I commented out the original entry and added a new one.
    #TNS_ADMIN=D:\Oracle\Middleware\asinst_1\config
    TNS_ADMIN=D:\oracle\tns_adminCraig...

  • Java and  Internet Explorer ?

    Hello every one.
    Could someone tell me how to call Internet Explorer from a Java Application, passing a string containing the URL?
    thank a lot in advance.

    Can anyone tell me as to how do I locate the installation directory of an application during run time? i.e. in case you have two drives c: and d: - IEcan be installed in either of the drives. Also, though the default installation directory is <drive>:/Program Files/Internet Explorer at times user might decide to instal in elsewhere. My question is thru java code, how do I get the path dynamically. Is it possible to search for a file "iexplore.exe" and save the directory path where the file is found in some string variable which I can subsequently use within the code (may be to call a method like exec()).
    It's a little urgent. Please help.
    Regards,
    Raj

  • What Internet Explorer accept Swing

    Hello.
    I have a doubt and i have looked for it in Internet, but i have not found any good answer. Netscape 6 and laters admits applets with Swing, but, �what happens with Internet Explorer?
    I know that Explorer accepts Swing if it has installed a pluggin or if exists the package swing.jar, but , is there any explorer version that accept Swing by default?
    Could anybody tell me a url where i could to see this?
    Thanks.

    Any browser that is "told" to use the Sun Java plugin will support Swing. The problem is that browsers such as IE do not come with the plugin.

  • How to access Internet Explorer in Java?

    Hi,
    I am working on windows 98. I want to write a swing based Java program that embbed Internet Explorer into the JFrame.
    I used JDIC library for it but JDIC does not support windows 98.
    So, is there any library to embbed internet explorer into the JFrame on windows 98 platform?
    regards,
    Anand

    You can write your java application with SWT and embed IE with SWT SDK or get any Java-COM bridge.

  • Problem in Opening HTML Page in Internet Explorer from my Swing Application

    Hi,
    I am opening a HTML file in Internet Explorer from my swing application.I am using the code given below
    private final static String WIN_FLAG = "url.dll,FileProtocolHandler";
    private final static String WIN_PATH = "rundll32";
    String cmd = WIN_PATH + " " + WIN_FLAG + " " + url;
    // url is HTML file Path
    Process p = Runtime.getRuntime().exec( cmd );
    Here there are two things i need to address ...
    1)The HTML file is opening up,but it always opens behind the swing application,that makes me every time to maximize the HTML file after it being opened up.I want to open it in front of the Swing Application.I need to implement "Always On Top" functionality for the html page.
    2)Whenever i trigger action to open different HTML page,it opens in new Internet Explorer window.
    I need to open it in same IE window.
    how to solve out these problems ??? any help would be greatly appreciated .Thanks in advance.
    - Manikandan

    any idea about this ????

  • Internet explorer allows me to open certain information/tabs which are somehow connected to java script but Firefox won't. This just started happening a few days agoyet my javca script is enabled. what is the problem/fix. I'm a novice with computers

    I am not sophisticated at understanding computer language. What I know is that 3 things have happened in the last 2 weeks.
    1.My yahoo account which I go to from Mozilla firefox 4.0.1 now requires me to click on a link that says it disables updates. Then my homepage seems to be ok/normal except:
    2.One of the email links tries to open a site called Ok Cupid and that site is really distorted and unreadable
    3. another website www.texastrails.org has a tab called 'docs' which can be reached from "member portal". There should be documents in Word and adobe reader on the left side of the screen which can be opened normally. These do not exist now and the texas trails webmaster says it has to do with Java Script. (it does open in Internet Explorer)
    Why would these two sites open in IE but not firefox?
    Note that I went to "My Computer" and found I have environment 5.0 Java6 update 24 and J2SE Runtime environment 5.0update 6 on different lines. I have no clue what these mean:-)
    I also click on Firefox "tools" and see that java is checked/enabled.

    This is not an answer. I have the same problem, what gives? None of the "solutions" have worked. The only thing left I haven't tried is resetting my IP an disabling my routers firewall, which is dangerous. Guess I might just keep on using IE instead, sure it's annoying, but hey it works.

  • Java and Internet Explorer automation

    Hi,
    I would like to create a routine in java that would simulate a user browing the web.
    Ex: A user vistiting a certain page, clicking on a few links etc...
    Is their a java library that can server as a bridge beetween java and internet explorer in order to automate this process.
    Thank you.

    You want to see it all happening on the screen? If so, you could maybe look into IECanvas or some other Java/COM bridge that would let you embed IE in the Java app. I'm not sure what kind of API is available such that would allow for that.
    Another idea is java.awt.Robot which would let you move the mouse and enter text and click on things on any application, but the problem here is that you'd need to know exact coordinates to click on. You could use it to grab screen shots if you can deal with the image manipulation to figure out what is where.

Maybe you are looking for

  • Mac mini was slow, better

    My mac mini had started running slow. I tried repairing permissions, reinstalling software from scratch to no avail. So I reset the mini by unplugging the power cord, holding the power button down then pressing again. Immediately a puff of dust spewe

  • Dequeue

    Hello I have a dequeue method, which only dequeues for Objects. I have 100 toys. How would I be able to put the 100 toys, of type toy into an array. My problem is the casting, since the dequeue only works on Objects while I want to put in type Toy Th

  • Install failed. Exit code 6

    Recently purchased and downloaded Premiere Pro CS5.5, however the install repeatedly fails. Here's the error report. Any clues as to a fix would be great. Thanks. Exit Code: 6 -------------------------------------- Summary ---------------------------

  • Iphone not sorting music correctly.

      I can find the song title by searching songs and it has the right artist, but cant find under artist.  It is also merging albums with same name too. "Greatest Hits"  When I look at the playlist in itunes on my Mac it all looks right and sorts by th

  • Cant open illustrator in After Effects

    There is no option to open my illustrator files as a composition or as separate layers in premiere.  It only imports the file as a whole .ai file with all the layers on top of each other. Im not sure if there is a new way I need to import or some set