Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to start another browser screen !  RSS feed

 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I am trying to start another browser screen if some condition evaluates to true.
If using IE than another IE and if using Netscape than another Netscape.
Can someone point me in the right direction please, what JAVA method does this for me ?
Documentation ?
 
Fahd Shariff
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try looking at the process and Runtime classes.
Process p = Runtime.getRuntime().exec("C:\Program
Files\myProgram\mycommand.exe");
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
if u r using Application then the solution using Process should work fine as suggested,
if u use Applet then u can use JavaScript and Applet communication using JSObject package (try search on google for netscape.JSObject) and use JavaScript for opening a new window..
hth,
maulin
 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I am reconsidering my approach fundamentally.
I am thinking that there is one single access point through the applet from the web-server to the app-server.
All other processing will then be in the app-servers with servlets calling servlets...
Commentaries and thoughts always appreciated.
TIA
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to servlets.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!