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

Reg : Script in Java Se 6

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

How to use Javascript alert or prompt msg box in java coding(java se 6).Pls give me examples and explanations.

Thanks in advance
Regards
Prabhu.K
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
alert and prompt are part of JavaScript as it exists in browsers. The JavaScript supported by Java 6 does not have any GUI elements.

Examples of how to use Java GUI features (if you want the GUI to be part of the script, instead of it being part of the Java application you're scripting) can be found here.
 
reply
    Bookmark Topic Watch Topic
  • New Topic