• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JToolBar in applet

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just create a JToolbar object and add it to the JApplet
Container contentPane = yourJApplet.getContentPane();
contentPane.add( yourJToolbar, BorderLayout.PAGE_START );
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I think you hold the record for the longest delay in replying
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic