Embedding Internet Explorer GUI in Java Application

let me preface this post by saying that i have seen the javatip66 reference on javaworld.com and that has considerable merit. i may end up using that methodology.
what i would like to be able to do, of course, is to embed JUST the "HTML pane" of IE/Netscape (excluding ToolBar and Address Bar, etc) inside a Java application. i am not an MFC developer, so i'm not sure where to begin looking or if JNI will allow me to hack that dll.--or even if that canvas/panel/whatever can be invoked independently to render a document.
i have several complete, fully working GUI applications that use the javax.swing.JEditor interfaces to display various mime formatted documents (content types such as "text/html" and "text/plain"). unfortunately, the Java implementations of these Editors don't sync with what everyone is used to in IE/Netscape...to the degree that content is intractably mis-displayed (is that a word?)
worst case scenario, i will invoke a new browser to display content, but i would prefer to frame those browsers in my applications. thoughts?
note: one of the primary problems is the the JFC classes support only up to HTML 3.2 which is as good as archaic these days.

i think you just nailed it. i do imagine that this is the correct forum for this, but i could cross-post to the Swing forum. certainly it is going to require switching on the version of Windows. perhaps we can find a general/create a discussion on integrating ActiveX controls in Java. [man, this is just the most bass ackwards thing ever. hate doing this kind of thing, but it's the "state of the world."] (at least until Sun/3rd party gets a reasonable HTML document renderer.)

Similar Messages

  • 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 ????

  • How to extract data from Internet explorer & active MS office applications?

    Hi all,
    Need advice on "How to extract data from Internet explorer & active MS office applications"?
    Thanks in advance
    regards
    DIlip

    If ths search list isn't what you want, just search again:
    http://www.google.com/search?q=get+excel+data+in+java

  • You can't open the application "Internet Explorer.app" because PowerPC applications are no longer supported.

    You can’t open the application “Internet Explorer.app” because PowerPC applications are no longer supported.

    Why are you using IE?
    If some site is requiring IE, set your user agent string to claim your using IE.
    What is my user agent?
    http://whatsmyuseragent.com/
    iCab - The Taxi for the Internet
    http://www.icab.de/
    Has a pulldown for picking your user agent string.
    There is a safari plugin.
    Robert

  • I need Internet Explore for a certain application. Can I download Internet Explorer?

    I need Internet Explore for a certain application. Can I download Internet Explorer?

    The last Mac version of IE is so old it doesn't display web pages correctly. It also doesn't have ActiveX. If that's why the site requires IE, the old Mac PowerPC version of IE still wouldn't help you.
    You could use Boot Camp to install Windows to its own bootable partition. Or, use VM software (Parallels, VMware, VirtualBox), and install Windows in a VM. Then you'd have Windows running inside OS X with access to IE.

  • Using Internet Explorer 7 for Oracle Applications 11i

    Hi,
    I have a query about how to use internet explorer 7 to run Oracle Applications 11i, on windows xp .
    I can log in to the applications but i cannot open any of the fresponsibilities.
    I have tried on two machines, one once i click on the reponsibility it gives an error on page message and does not open up.
    the second one it gives no message at all.
    What do i have to check???
    Please help...

    Hi AHS,
    I have a query about how to use internet explorer 7 to run Oracle Applications 11i, on windows xp .
    What do i have to check???Please check http://blogs.oracle.com/stevenChan/2006/12/12/
    Re: Oracle Application is not working on IE7
    Hope it helps
    Regard
    Helios

  • Flash as GUI for Java application or C++ executable

    I will need to create a flash frontend for a standalone application, preferrably written in java or c++. The application is needed to access some custom hardware and flash is desired for visual appeal.
    I've been searching the web about displaying flash in java or c++, but I couldn't find anything more than unanswered questions or projects that have apparently died (like swt.flash)
    As a last resort, we could do it as a servlet on localhost, that would be accessed via http by flash running in a projector.. Or even worse, a php script accessing a java application being accessed by flash from a projector.. but that seems like a wery wide workaround.. An application hosting a swf, communicating both ways directly would be much better.
    So.. does anyone have any idea if this is still possible and if so, how?
    Thanks.

    Hi, try to read
    Note 314568 - SAP GUI for HTML functionality / Limitations / Sp. Behaviour
    and all other information directly
    SAP GUI Family
    Regards.

  • Imvu has taken firefox program If you see IMVU do not click on it. It also embeds internet explorer. Deleting it in programs link areas no help. It erases controls for establishing or restoring programs. Example, you cannot select a new home page.

    See question

    Thanks for the reply.
    I tried starting IE using the =nohome =extoff options, but this did not help any.
    Next I went into safe mode with networking and started IE normally and this worked fine. First I checked the version. I have IE 11. Next I disabled the MSN home page.
    I restated in normal mode. I should mention that Windows 7 Pro insisted on installing even more updates.
    I tried starting IE normally and the problem persisted.
    I then tried starting it with the -nohome -extoff parameters and this got me in. No error.
    Next I entered Alt V and the View menu appeared. I then pressed the p key and the error once again presented itself. What is the p for?
    Next I opened the Internet options dialog and went to the advanced tab. I noticed that the option Use Software Rendering instead of GPU rendering was unticked (unchecked) so I checked it. I exited the dialog and reentered IE. It went in ok, displaying the
    MSN and Bing thumbmails for the pages. I clicked on MSN and the page presented itself fine.
    I am going to restart Window and try to enter IE again just to see if the problem has been resolved.
    Edit: I restarted Windows 7 and it looks like the fix stuck. Looking good! Thanks for your orientation. Toggling the video acceleration t ON was the fix.  Again thanks and regards. Saga
    I still have no idea what broke IE. Saga
    Insanity is the prelude to discovery

  • Internet Explorer and java

    I want to copy the favorites list from internet explorer to my java application.
    How can I do it please ?
    Thanks!!!

    favourits list store in files in directory called 'Favourites'. Read files.

  • 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

  • How to integrate Explorer in a Java panel

    Hello. I beg your pardon if I'm asking something that has already been asked... I'm new in this forum. My question is simple... I'd like to put an internet explorer in my java applications... How can I get it?
    sorry for my bad english :)
    Marcus

    Your English is fine.
    Yes, this question has been asked and answered many times on this forum.
    Look left... see the "Search Forums" control?... Type "embedded browser" in the textbox below it, and then press the >> button.
    Top of the list is: http://forum.java.sun.com/thread.jspa?forumID=54&threadID=5221210
    Cheers. Keith.

  • Launch Internet Explorer

    Hi,
    I have to launch MS Internet Explorer from my java application. I am using the following code:
    try{
         Runtime rt = Runtime.getRuntime();
         rt.exec("iexplore.exe www.yahoo.com");
    }catch(IOException ioe){
         System.out.println(ioe);
    }But its generating an exception as below:
    java.io.IOException: Cannot run program "iexplore.exe": CreateProcess error=2, The system cannot find the file specified.
    If I give the absolute path then it executes successfully.Like
    try{
         Runtime rt = Runtime.getRuntime();
         rt.exec("C:\\Program Files\\Internet Explorer\\iexplore.exe www.yahoo.com");
    }catch(IOException ioe){
         System.out.println(ioe);
    }Now the problem is that I can't give the absolute path because window may be installed on drive "D:\\". What I wanted is to get the "Program Files" path and then launch "IEXPLORE.EXE".
    Any solution.
    Thanks in anticipation.
    Regards,
    Ahmad Jalil Qarshi

    Try with
        String[] commands = {"cmd", "/c", "start", "iexplore.exe","-nohome", "www.yahoo.com"};
        Runtime.getRuntime().exec(commands);If using jdk1.6 then the Desktop class is the preferred way to start the default browser.
    See http://java.sun.com/javase/6/docs/api/java/awt/Desktop.html
    try {
       Desktop.browse(new URL("http://www.yahoo.com");
    catch (MalformedURLException e1) {
       e1.printStackTrace();
    catch (DesktopException e2) {
       e2.printStackTrace();
    http://www.rgagnon.com/javadetails/java-0579.html
    Bye.

  • Java Applet Background Color Problem on Internet Explorer

    Hi,
    Please check out the following URL:
    http://www.utopiainteractive.com/clients/AkonFinal/glossary.htm
    The menu bar is writting in Java Applet. If you scroll down the page, and scroll back up, I see white background as I scroll back up. It happens only on Internet explorer. Neither Java Applet nor HTML Body bg color is white. I am kinda lost, and any help would really be appreciated.
    Thank you and look forward to hearing from someone soon.
    Sachin

    Hi,
    Well I used HtmlConver utility to generate applet html code, so I assume nothing is wrong with Object tag. Do you know what could cause this problem on Internet explorer? To be honest, I spent last couple of days, but I am just lost. It absolutely works fine on Netscape.
    Thanks,
    Sachin

  • Lauching Internet Explorer from java program

    How can I lauch internet explorer from a java program. I need codes
    Thanks

    What? Is this the Question of the Day or something?
    http://forum.java.sun.com/thread.jsp?forum=31&thread=342624&tstart=0&trange=30

  • Internet Explorer 10/11 with Java jre1.7.0_67 Freeze

    Hello, Excuse for my english.
    I'm working on It department, We work on Business Object XI 12.1.0 SP6 , I have made a lot of test but, I don't know why, Internet Explore with the java applet freeze between 1 minute and one hour.
    I have tested with internet Explore 10 and 11, and with jre 1.7.0_67 and, jre-6u20 on X86 plateform. I have put the PC and user without group policy, with the standard installation, with and without update of internet explorer/windows 7. And it is the same result.
    Can you help me? Big thanks in advance,
    Crunch

    C.
    Your assumptions are mostly correct but the cause is not exactly what you think.
    The issue is not that you are running 64bit office versions and downgrading to 32 bit will not solve this issue.
    The issue you encounter is due to the fact that you are running the BIG VOL version of the EPM Add-in. This is a known limitation, the add-in will only show as installed when launching the web client in a 64 bit IE tab.
    IE11 by default launches 32 bit tabs unless you enable "Enhanced Protected Mode" in your IE options. Once this mode is enabled IE should launch 64 bit tabs by default and the EPM add-in should show as installed.
    Note that you need to check to make sure that there are no essential IE add-ons that are 32 bit only before doing this as otherwise you will not be able to use those features.
    Note also that the BPC Administrator client always launches in a 32 bit process. This means that if you enable 64 bit mode in IE you should see the EPM Add-in installed but the Admin client will not show as installed. It is not possible to have both the Admin and EPM Add-in appear as installed in the web client when running the BIG VOL version.
    Regards,
    Peter Kreutlein

Maybe you are looking for

  • Hp officejet 7110 wont print on 11 x 17 paper

    I just boughht a new computer with Windows 8.1.  Set up the Officejet 7110 but cant find an option to print on 11 x 17 paper.  There was an option on my old computer to print on Tabloid 11 x 17 paper, but it's not listed on the drop down menu now.  A

  • Problem with rendered tables in JHeadstart 10.1.3.3.87

    Hi, We have recently upgraded from Jhs 10.1.3.3.52 to 10.1.3.3.87 (using JDev 10.1.3.4.0.4270) and have run into a problem with a window using regions. We have horizontal region containers, vertical region containers, stacked region containers and de

  • Help... InDesign is extremely slow and jumps in front of other programs

    I actually have 2 issues with InDesign CS3.  1st, when I open up older files, let's say InDesign CS2, or even some files that may have images in it that I cut and pasted from an older file, my InDesign is extremely slow.  And I do have just typical d

  • Areca Arc-1210 SATA ll vs Arc-1212 SAS/SATA ll

    Hi I was thinking to get a Arc-1210 card to make an internal raid 3 with my 4 samsung F3 1TBSATA ll. During my research about where to buy the card, i found the Arc-1212 with better bus speed and support SAS/SATA ll peripheral devices for just  few b

  • Query For Series wise Collection

    Hi Please anyone provide  query for series-wise collection