aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 36579
    
  16
Welcome to the Ranch

I think you hold the record for the longest delay in replying
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JToolBar in applet
 
Similar Threads
JToolTip in an applet
Modify JToolBar buttons and actions
Update GUI In Realtime
floating JToolBar doesn't close
Separator in JToolBar