Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JToolBar in Swing


  • From: shvets@xxxxxxxxxxxxx (Alexander G. Shvets)
  • Subject: JToolBar in Swing
  • Date: Fri, 29 Oct 1999 22:24:49 +0300

JToolBar works correctly only with BorderLayout - it shoud be placed on
perimeter of frame ;-(. Otherwise you cannot extract it and insert in new
position.

Alexander.

Makarand Kashikar wrote:

> This is a swing related Q, so Forgive me if some people did not welcome it.
>
> What is the Layout manager does the JToolBar uses.
> Is there a way to setting it to null ?
>
> When I place a JComboBox the combo box is streatched all over the JToolBar.
> It is very frustrating as I have to add this JToolBar to a JFrame and the
> JToolBar
> takes the width equals to the JFrame and so does the JComboBox...
>
> Makarand
>
> ---
> To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
> To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx


---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx