The Artima Developer Community
Sponsored Link

Java Answers Forum
JToolBar

2 replies on 1 page. Most recent reply: Oct 24, 2002 10:23 AM by Henry

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Henry

Posts: 7
Nickname: daviddavis
Registered: Aug, 2002

JToolBar Posted: Oct 17, 2002 11:22 AM
Reply to this message Reply
Advertisement
Hi,
I have a ToolBar with buttons,
a JDesktop.==> (ToolBar, JDesktop)
By cliking a Button, I would like to add another ToolBar.==> (ToolBar_1, JToolBar_2, JDesktop as a final Result)
Many Thanks for your Help please.


?nhan Inay

Posts: 1
Nickname: uenhan
Registered: Oct, 2002

Re: JToolBar Posted: Oct 22, 2002 5:43 AM
Reply to this message Reply
I refer u to java.sun.com. There is a tutorial. There are many basic examples, how to program in Java.

I think it must sound like that ...

JDesktop extends JFrame {
JDesktop(){
JToolbar tb1 = new JToolBar();
JToolbar tb1 = new JToolBar();
...// addToolbar (look @ some methods of JToolBar)
...// getContentPane
}
}

Bye uenhan

Henry

Posts: 7
Nickname: daviddavis
Registered: Aug, 2002

Re: JToolBar Posted: Oct 24, 2002 10:23 AM
Reply to this message Reply
Many thanks,
I found the Tutorial.

Flat View: This topic has 2 replies on 1 page
Topic: Passing String as Oracle date to PrepareStatement Previous Topic   Next Topic Topic: storing vectors

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use