File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Title for the alert box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Title for the alert box" Watch "Title for the alert box" New topic

Title for the alert box

Jeff Dube
Ranch Hand

Joined: Jun 14, 2001
Posts: 44
I made an alert box but i am unable to change the box title. Can somebody help me?
Terence Doyle
Ranch Hand

Joined: May 30, 2001
Posts: 328
I'm almost 100% on this. :-)
The alertbox has the title of the application that calls it so it cannot be changed.
The same goes for confirm box and prompt box. All three allow text to be placed in the area above the buttons or textfield. Perhaps you could play with that feature?


Raising Flares debut album 'Ignition' out now

Terry Doyle <br />SCPJ 1.4 , SCWCD , SCMAD(Beta)
Tilak Ochani Jiwansingh

Joined: Jul 15, 2001
Posts: 4
You cannot do this but the alternative to it is:
Use function to open a new window, where in you can specify the size,title,width,height etc. (As good as Alert Box)
You can place n number of controls into it as you do in normal html page.

I think this would solve your purpose.
subject: Title for the alert box
It's not a secret anymore!