• 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
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

java application

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends,
Is there a way in Java to run your browser in your application.i.e. in VB or VC++ you can actually run the browser in your application and can manipulate with the browser's default properties.I would like to do the same thing in Java.
Regards,
Kavita.
 
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kavita,
I'm not an expert on this subject, but my first response would have to be no you cannot run a web browser inside your JAVA application. JAVA application runs inside a JVM which allows it to be platform independent. I'm not even going to get into the security issues with running another application inside a JAVA application. Furthermore, the JVM wouldn't know how to interpret the other program's machine code. However, you can run JAVA applets inside a web browser that supports JAVA. If it doesn't, you can always download the plug-in. Finally, you can kick off other applications from JAVA using java.lang.Runtime.exec(). This is not recommend, because you're making your program platform dependent.
Cheers,
-Peter
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic