[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 521
  • Last Modified:

JApplet Title and Toolbar Removal

Hi,

I am currently working with a JApplet and I need to add a title to it and remove its default toolbar.

When I use a Jframe I use super("Title of Window"); to set the windows title. How is this done for a JApplet?

I am using my own toolbar in the JApplet but the default Applet toolbar is still there? How do I remove it?

Thanks,

4dplane
0
waffe
Asked:
waffe
  • 3
  • 2
1 Solution
 
hoomanvCommented:
> the default Applet toolbar
you mean the one shown by appletviewer ?
AFAIK when seeing applets on browser there is no toolbar there ?
0
 
waffeAuthor Commented:
>you mean the one shown by appletviewer ? - Yes
>AFAIK when seeing applets on browser there is no toolbar there? - I can't get a proper jar working yet so I have yet to see my JApplet in a browser; but it would make since that the default menubar will disappear.

So how about a Title for the Applet?

4dplane
0
 
hoomanvCommented:
you can set the title for html page instead
0
 
waffeAuthor Commented:
Ahh! - I see the JApplet has to be embedded into a HTML file, thus; its outer most border will never be seen!

Thanks again hoomanv,

4dplane
0
 
hoomanvCommented:
:)
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now