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: dev@xxxxxxxxxxxxxx (Peter Blakeley)
  • Subject: JToolBar in Swing
  • Date: Sun, 31 Oct 1999 03:42:55 +1000

As JToolBar extends java.awt.Container just use setLayout(null);



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

-- 
Peter Blakeley 
Head of Software Development Coolcat Software Pty. Ltd.
http://www.coolcat.com.au/
Director Bug Audit Services
http://www.coolcat.com.au/bug_audit


A financial instrument is a device used by a Banker to pick your pocket.
It is said an art degree is a licence to know it all, I am lucky I need
no art degree.
;-})

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