Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes JToolBar in applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JToolBar in applet" Watch "JToolBar in applet" New topic
Author

JToolBar in applet

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi everybody,
i try to make an applet menu with JtoolBar + JButton + JMenu. This one run when my page was loaded, so i like to click on the JToolBar to move it outide the browser... One idea ?
Patrice Imbert
Greenhorn

Joined: May 13, 2011
Posts: 1
Just create a JToolbar object and add it to the JApplet
Container contentPane = yourJApplet.getContentPane();
contentPane.add( yourJToolbar, BorderLayout.PAGE_START );
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43974
    
  33
Welcome to the Ranch

I think you hold the record for the longest delay in replying
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JToolBar in applet
 
It's not a secret anymore!