🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12436

Scrollable JToolBar?

#12436
From: mike_maurer
Date: Tue, 29 Dec 1998 00:00
22 lines
1718 bytes
The application I am working on incorporates a dynamic toolbar that can add
and remove buttons on the fly. If a large number of JButtons are added to a
JToolBar such that the toolbar isn't wide enough to display them all, I would
like arrow buttons to show on the sides, allowing the user to horizontally
scroll through the buttons.

Similar functionality can be seen on JBuilder's main screen itself, on the
component palette. Select a component tab that has more buttons on it than can
be shown on the current width of the panel. The arrow buttons on the right and
left sides become enabled, and allow horizontal scrolling through all the
buttons.

Apparently JToolBar does not handle this automatically. Is there a toolBar
component that does, or will I have to write my own? Anybody else run up
against this one yet, and have tips to share?

Thanks,

Mike

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Technical Details
Message-ID: <76bm9c$f2h$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,61a85489957a8867,start
X-Google-Attributes: gid111d45,public
X-Google-Thread: 10a146,61a85489957a8867,start
X-Google-Attributes: gid10a146,public
From: mike_maurer@autosoft.com
Subject: Scrollable JToolBar?
Date: 1998/12/29
Message-ID: <76bm9c$f2h$1@nnrp1.dejanews.com>
X-Deja-AN: 426891754
X-Http-Proxy: 1.0 x14.dejanews.com:80 (Squid/1.1.22) for client 207.0.33.98
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Tue Dec 29 22:49:16 1998 GMT
Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.programmer
X-Http-User-Agent: Mozilla/4.04 [en] (WinNT; I ;Nav)