• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

removing bottomline from frame, how-to?

 
Akshay Kumar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't create native window from applet wihtout warning message "java applet window".
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can I think but you will have to sign the applet.
 
Akshay Kumar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ben,

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

thanks.

Akshay.
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect you cannot do that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic