This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes removing bottomline from frame, how-to? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "removing bottomline from frame, how-to?" Watch "removing bottomline from frame, how-to?" New topic
Author

removing bottomline from frame, how-to?

Akshay Kumar
Ranch Hand

Joined: Feb 24, 2004
Posts: 37
hi all,

i've an applet, in which i instantiated the frame and passed that reference as frame to

Here, the dialog is displayed but with the bottom line of
Java Applet Window
. How to remove this line and making the dialog to appear normal Windows dialog.

Thanks.

Akshay.
Vlado Zajac
Ranch Hand

Joined: Aug 03, 2004
Posts: 245
You can't create native window from applet wihtout warning message "java applet window".
Ben Wood
Ranch Hand

Joined: Aug 14, 2001
Posts: 342
You can I think but you will have to sign the applet.


SCJP 1.4, www.gsi3d.org.uk
Akshay Kumar
Ranch Hand

Joined: Feb 24, 2004
Posts: 37
hi ben,

culd u plz illuminate more on signing the applet and related to it.

thanks.

Akshay.
Ben Wood
Ranch Hand

Joined: Aug 14, 2001
Posts: 342
Try this link http://java.sun.com/security/signExample12/, or do a google search. The way we have done this is to create a jar file and sign the jar (DUKE certificate?!) also search for .java.policy file. Sorry, my knowledge on this is vague so I can't post examples here, I have been involved in a project where we had a signed applet, but I was on the coding side, not the setup stuff so I don't know the exact details. I just know we signed it to have it running in a JFrame from the browser but so that it look slike a normal window.
Akshay Kumar
Ranch Hand

Joined: Feb 24, 2004
Posts: 37
thank u ben. let the text be there. but how to change the background color of that bottomline text. also, since 'm using JOptionPane.showMessageDialog(), how'll i change the background color of it.
Ben Wood
Ranch Hand

Joined: Aug 14, 2001
Posts: 342
I suspect you cannot do that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: removing bottomline from frame, how-to?
 
Similar Threads
Reference Applet from Dialog
how to set statues of Dialog?
Can anyone please hurry help me?!?!?!?
Display a modal dialog window in an applet
determining minimum dimensions of an Applet