• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Integration of IE in java

 
Greenhorn
Posts: 12
Netbeans IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everybody,

I'd like to ask if it is possible to integrate Internet Explorer to java app. I have found JDIC, but project is dead and it doen't work on my win 7.

Do you know has this can be done?

Thank you.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you be more precise about what you mean by "integrate"?
 
Peter Smorada
Greenhorn
Posts: 12
Netbeans IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I mean to put IE into JFrame so that my app could display a certain page using IE rendering engine.
I have tested a lobo browser (open source java browser) as an alternative, but it was not able to render the site correctly or not at all (cp 1250 encoding)...
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any particular reason you don't want to start an external browser using something like BareBonesBrowserLaunch?

I'm not aware of an IE/Swing component; if one exists it would likely be commercial.
 
Peter Smorada
Greenhorn
Posts: 12
Netbeans IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the suggestion. I have already been using this kind of code...

Let me give you some kind of background which might help.
My client has a web app (not done by me) for which he needed a backup solution in case of server being down or ISP would have some kind of problem (happened quite often)... For the web app he was using Prism as a browser in other not to let users know the address.

That was where I entered... I have created an app which is checking the connation to the server and lunches Prism of everything is all right or runs own interface if there is a problem and collects data from users and later updates the database.

The hosting provider doesn't allow access to the database from outside of their server (or web app) without SSL tunnel (actually they do allow it but you have to pay much more). So there is another app to be installed in user's machine...

Now that the number of users is growing my client has a nightmare from installing all the apps needed for his service... To conclude he has to install:
1. Java
2. Prism - for the web app
3. Stunnel - SSL tunnel
4. My app

So he would like to get rid of at least Prism.

Meanwhile the web app developer implemented a sort of authentication for users computers which are allowed to enter use it (only one at their work place no other were allowed) apart from their user name and password, but it requires admin to mark it from the PC (either remotely or physically) so I thought I could use IE or whatever default browser was on any machine and me and the client will be happy .

But that is not the end of the story... Now the whole authentication is slowly becoming broken. This is probably due to "stupidity" (sorry for this strong word) of the PHP developer who used session cookie to grant permission for computer to use the web app. I guess that you now know what has happened - web server has started to delete old session cookies and users are kicked out of the service... (At very beginning I have asked if cookies are not used for this kind of authentication - answer was "no" so I didn't ask any further).

So the client is now asking me if it would be possible to use IE or any other installed browser to use with the web app, but in the way so that they won't see the address, so he can get rid of this "authentication" quickly (he knows that I have created updater for my app in case there are some bugs) . That's why I have been asking about the integration.

So far I found following possible solutions:
1 . Use IE kiosk mode - not a good idea since it runs only full screen
2. Utility called "QLaunch" - cannot be used commercially
3. JDIC - was for integration of some native components into JFrame - this project is dead for some time and last version which I found didn't work on my win7...

Any ideas how this problem can be solved? I think it would be enough to lunch IE without address bar and with disabled printing. Even though I would prefer putting it directly to JFrame...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic