Fun toolbar question

you know how some programs with toolbars have multiple toolbars at the top? (open up MS word for an example) I wish to implement that, except only one toolbar may be in BorderLayout.PAGE_START position, trying to put more than one overwrites whatever was there first.
so I put all my toolbars in a pane with default FlowLayout, and then put that on the main panel at PAGE_START, which looks fine... until I resize my window, then all my toolbars are centered at the top of the window rather than left justified at the top.
I've tried doing panels inside panels... toolbar panel inside the left slot of another toolbar panel with gridlayout(1,2), thinking toolbar panel would always stay to the left
I've tried toolbarpanel.setAlignmentX(LEFT)... which says for vertical? alignment... and so also setAlignmentY(LEFT)... which says for horizontal? alignment, thinking this would keep my toolbars added to the panel to the left
I've tried toolbarpanel.setMaxSize(preferredSize) thinking that the panel resizes and centers its contents within, so don't let it resize
I've just been banging my head on this problem and trying solutions that are more and more complicated when I'm sure there must be an easy way to have multiple toolbars at the top left of the screen. also, collecting the toolbars inside a panel, other than the main program panel, makes it so I cannot anchor the toolbars on edges of the main panel, so the problem is even trickier.

Howdy.
Have you tried:
     JPanel p_toolbars = new JPanel(new FlowLayout(SwingConstants.WEST));
          p_toolbars.add(toolbar_docParts);
          p_toolbars.add(toolbar_charAtts);regards
sjl

Similar Messages

  • What's up with the mountain lion toolbar question mark on the right side?

    There was a picture connected to the right side of my toolbar. I deleted it and now a question mark sits in its place. How do I access this and correct it?

    The question mark is an orphaned alias. Cmd-drag it off and poof it!

  • Toolbar question

    I just set up my new 27" iMac. I'm trying to set up the basic stuff right now and am going nuts that I can't find a way to add the stop/reload button to add to the toolbar. I use that pretty often and am really annoyed that it is saying I have to go to the view and find the reload in the drop down menu. Am I missing something or is this not available on this version? I went and checked my old iMac and it is one of the options on customize toolbar but not here!!!!
    Sheesh, seems pretty common thing to use, who needs a freaking autofill feature but wouldn't want the reload option.
    Annette

    There is currently no option in Safari 4 to customize the placement of the reload/stop icon. If you would like to see one, send Apple Feedback with your feature request.
    In the meantime, you might try Command + R on the keyboard to reload a page & Command + period to stop one loading.
    Message was edited by: R C-R

  • Mail message toolbar question

    I am now using Lion (which installed first time and no issues to date) and Mail 5.0 and this reply from another discussion:
    that window can also have a toolbar. With that email's window frontmost and active, go to the View menu and select Show Toolbar, You can also select the Customize Toolbar item just below that one to change the items in the toolbar.
    The same pertains to the New Message compose window.
    does not seem to work. This seems to be a change with Lion, from what I can gather.
    I can use the View menu to show and hide the toolbar on both an opened message and a new message, but the option below it to customise it, is greyed out.

    Very odd, I wonder why it won't give me those options. Anybody else having the same problem or can suggest an answer ?

  • "Favorites" on the toolbar question

    I've made about 6 Folders to hold my Favorite Web sites, but every time I click to add another site it moves those Folders to the right, until they're gone from the screen. Is there any way to have the sites you add appear to the Right of those Folders instead of the Left, which soon shoves them off the screen?

    Barney, You can create 'Folders' for your toolbar that hold your favorite sites. For example, my first Folder holds all my families sites, like on Facebook, their Websites, etc. When I click on 'Family' a menu drops down and I can click on my favorite family site. I have about 6 of those Folders, so all my Favorites/Bookmarked sites aren't off the right edge of the screen. But as I add bookmarks, it pushes those Folders to the right and eventually off the screen.
    I guess there's no way to have the 'new' Favorite sites go to the right so my Folders stay put. But thanks to both of you for trying to help anyway.

  • CS3 Toolbar question

    Yes I know, its CS3 but this is what I have and I'm taking a class using it.  I am having a problem with CS3 Flash and the toolbar on the left.  Certain tools have options and those options are not showing up. Yes, I went to Customize Tools panel and checked and those options are listed to the right of each tool that should have them (example:   Rectangle tool: oval tool, polystar tool , etc) and even hit reset to default and still those options do not show up on the actual toolbar. I made a graphic thinking that would make them show up and no it didn't.  It seems to be a problem for each tool that has a options and they are 1. Free Transform Tool,  2. Pen tool and 3. Rectangle tool.   Hopefully I am just having a major brain fart and its something simple. But I did have major issues installing the CS3  Web Premium .  I hope I don't have to do a reinstall.. groan. I know I had major issues with Photoshop too but it appears to be working ok.   HELP...  week one homework is due this weekend !

    To get the extras to appear in the toolbar, you need to press and hold down the cursor on the symbol in the toolbar--it should appear while you are holding it down.
    CS3 is a good thing, so there's no reason to feel bad about using it... some folks still use it as a preference even after acquiring the newer versions.

  • TOOLBAR QUESTION...PROBABLY NOT THAT IMPORTANT...

    I've noticed in all the tutorials, that the toolbar has four differently colored circles.  These do not appear on mine.  Believe me, this is the LEAST of my problems with CS5, but just curious.
    Kathi

    Mac OS X window upper left corner:

  • 2 toolbar questions

    1. Is it possible to delete the "Top Sites" icon from my toolbar?
    2. Is it possible to create a second row of toolbar icons so that I don't have to keep accessing the other icons through the >> on the right?

    Alec --
    Klaus is right on the money . . .
    I would jut encourage you to make sure the names of the bookmarks are
    as short as possible. For instance:
    Apple Discussions = AD
    VersionTracker = VTrkr
    I agree, it would be nice to have two levels . . .

  • IPhone 4 FaceTime toolbar question.

    Is there a way to move or hide the MUTE / END/ SWITCH CAMERA toolbar when using FaceTime on the iPhone 4?  I travel a lot for work.  We have a Mac at home.  I set up FT last week so that I could have a video call with my 3 1/2 y/o each night.  She isn't very interested in talking on the phone, but FT holds her attention and it makes it easier to understand what she is saying b/c I can see her face.  The only problem is that she isn't tall enough, and the Mac camera does not pan down far enough so that she is in the middle of the screen.  The toolbar covers her face.   Suggestions?

    lcol98 do you know how many people text and drive has died, this has to be bigger than just apple goverments are having problems with the text and drive all ready, the last thing they need is to put that on the 3g network, people are going to do facetime as they drive and by the way nokia and other companies has been doing everything apple is doing right now the difference between apple and other companies its all timing. nokia and apple are in court as we speak nokia is suying apple the are saying iphone technology belongs to them and its true.
    the first facetime home phone came out in 2000 it didn't go any were, now that apple is coming out with facetime on there phone i will garranty you the home phone are gonna have the same features

  • Using more than one computer, why? so hard

    I seen the posts or some of them, about trying to use ipod on more than one machines. Win XP.
    I use my ipod primary with my home computer, but work weekends and was hoping listen to my music whilst in the office. Plus easy backup of my library, Im lazy.
    I was surprised to find it not a simple task. I was hoping just to install itunes on my work machine, plug in my ipod and have my songs copied to this work library, noop.
    The methods I seen so far involve copying music second time to ipod (HD) or to CD and then moving onto second computer. Forget these methods, watching grass grow is more fun.
    Question is why so difficult?, the music on my ipod is all purchased on itunes legimately or from CD's I purchased. Why is it so messy to have my library where ever I want it.
    Surely Apple has enough clout now to dictate how it should work to the Record Company$$$. Getting music online is more convenient, but quality and the fact the song you brought more like a DVD rental then something one owns.
    I am all for music protection, that why I buy music via itunes, cause I want it to work. But seriously it wrong making it so difficult, that can't have hotswap library from one computer to next.
    Anyway accept the unacceptable, PS if I am wrong and it is possible let me know,thanks

    I checked the link provide the solutions are the ones I mentioned, they really not viable.
    Why is it connect my ipod to my work computer can't simply transfer songs to this library.
    The solutions provide involve copying to CD, etc.., when the songs are on the ipod already?
    Questions still remains unanswered.
    Why is it necessary to transfer songs via different method when the songs are on the ipod, and the ipod is connected to the second computer.

  • OT: What is CS6's equivalent to the "Donut"?

    CS6 is out, the best roundup I've seen is at InDesign Secrets.  It all looks great especially creating forms!  BTW if you want to moan about the endnotes ommision I truly sympathise with you but start a new thread!
    However just for fun my question is - what is the CS6 equivalent to the universally despised and never used Content Grabber tool, aka as the "Donut"?
    My pick is it's the Content Collector and Placer Tools.  I haven't used it, but just looking at it my first thought is why the heck can't you just use the standard selection tool?  And why two tools?  Perhaps it's different in actual practise.  I don't know.  But it sure looks awkward....

    I've not tried InDesign CS6 yet but here's my take on some of the noted new features
    Creating Interactive Forms
    So what? You get a "Sample Library" you get some additions to the Buttons panel? Big whoop. I bet it doesn't work very well for complex forms.
    Alternate Layouts
    Sounds great, I'm not sure if the alternate layouts are dynamic (make one change in one layout and it happens in the other, or if content can be unlinked between documents, or if they're standalone documents residing in one document?) But it sounds promising.
    Liquid Layout
    An improvement to "Layout Adjustment" by the looks of it.
    Content Collector/Content Placer tools
    A fancy Copy and Paste - that a lot of people can't really see the point of this feature
    On-object Link Status and Control
    They added a node to the frame to let you know if a link isn't working - AMAZING
    Primary Text Frame
    Finally got the Master Text Frame working properly - and renamed it
    Text Frames that Auto-Size
    Something that a plugin developer did a while ago - it was good, looks like they've adapted it.
    Flexible Columns
    Great - it seems to be related to the Text Frame Auto size though.
    Still can't have different WIDTHS for each column though!
    Improved EPUB 2 Export, new EPUB 3 Export
    To be expected - it wasn't great in CS5.5 and the new stuff for Epub 3 is a work in progress
    Grayscale Preview and Grayscale PDF Export
    Well about time - only took them about 10 years
    Align to Key Object
    Function taken from Illustrator - it's not a big deal - you could make a Key Object by locking an object before - don't see the difference here
    The Little Things
    User Interface tweaks - Wow! They used title case
    Placeholder text language options - AMAZING can get that from the web - took a few seconds
    Split Window- added another icon to split windows - why?
    Complex Calculations in Dialog Boxes and Panels - WOW - a computer doing calculations
    Digital Publishing workspace - they put a bunch of useless tools (probably the wrong set of tools into a workspace - you can do that yourself?)
    Export to PNG (with transparency) - GREAT can't wait to see what pancake way it exports this - I'll probably still have to export to PDF and save as PDF from photoshop for better quality.
    Extension Manager Sets - Eh?
    Accurate screen sizing - seems like they fixed a bug
    Keeps with Spans and Splits - Fixed another bug
    Recent Fonts List - AMAZING
    Save as IDML- Finally make it intuitive for new users!!!
    PANTONE PLUS SERIES color swatch libraries - you can download and install those yourself ...
    Name Ranges in XLSX files - Fixed another bug
    Export to Interactive As Pages - Fixed the Spreads bug as always on!
    Package files includes overlay assets - Surely this should have been already - looks like another Bug Fix.
    Overall - I don't see "New Features" I see mostly Old Features Updated and dressed up - Plus a Lot of "Bug Fixes" since CS5.5
    Will CS5.5 get thes fixes? OR even CS5? I doubt it.
    Nothing really wowing me here.

  • How do i get the new tab window to display the windows for the different websites

    When i first update firefox i was able to use the new tab feature. but now when i open a new tab i get this babylon thing and can't get it to go away. i want the new tab feature with the window links to different webpages back. how do i make this happen?

    See these pages about Babylon Toolbar:
    *[[/questions/923451]]
    *[[/questions/746530]]
    *http://support.babylon.com/index.php?/Knowledgebase/List/Index/48/english-faq
    *http://support.babylon.com/index.php?/Knowledgebase/List/Index/37/installation--technical-support
    You can try to reset some preferences to the default with the SearchReset extension:
    *https://addons.mozilla.org/firefox/addon/searchreset/
    Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the about:addons page.
    If you do not keep changes after a restart then see:
    *http://kb.mozillazine.org/Preferences_not_saved
    *https://support.mozilla.org/kb/Preferences+are+not+saved

  • New page tb not loading correctly.

    Awhile ago, my grandson downloaded something to my computer that installed the Babylon search engine to my computer. It replaced the new page tabs. I have removed Babylon from my machine, at least everything I could find, but the new page tab still loads Babylon. Firefox has updated twice since then and it still happens. I have checked the plug ins, the add ons, the search preferences and can not find any mention of Babylon. Help please as I do not want this happening. I want the new page back that shows the pictures. How do I do this?

    See these pages about Babylon Toolbar:
    *[[/questions/923451]]
    *[[/questions/746530]]
    *http://support.babylon.com/index.php?/Knowledgebase/List/Index/48/english-faq
    *http://support.babylon.com/index.php?/Knowledgebase/List/Index/37/installation--technical-support
    Try to reset some preferences to the default with the SearchReset extension:
    *https://addons.mozilla.org/firefox/addon/searchreset/
    Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the about:addons page.

  • How to avoid, tab's opening in other language.

    Firefox uses Dutch as the standard language in my case. But when I open a 2e, a 3e, etc. tab, it switches over to French. Is that to avoid?
    Thank you,
    HWtn

    Looks that you are 'infected' by Babylon.
    See these pages about Babylon Toolbar:
    *[[/questions/935739]] and [[/questions/#answer-367152]]
    *[[/questions/923451]]
    *[[/questions/746530]]
    *http://support.babylon.com/index.php?/Knowledgebase/List/Index/48/english-faq
    *http://support.babylon.com/index.php?/Knowledgebase/List/Index/37/installation--technical-support

  • CS4 is missing the Pagemaker tool bar, is there an equivilant?

    I did read in the description that the Pagemaker Tool bar (was renamed to something else for CS3) was removed totally from CS4.  Is there any equivilant tool bar in CS4 that gives a lot of the same options like open and save buttons?  I also used the increase and decrease all fonts button and the zoom in and out buttons all the time.  Now it is forcing the user to go into the dropdowns to do a lot of the same stuff now which are extra steps.  If there is nothing in CS4 like this anymore, are there any plugins to create something similar out there?

    I don't know the answer to your toolbar question -- but all of the functions you mention have simple keyboard shortcuts, which are (in my experience) much quicker and easier to use than toolbar buttons (or menus), and keep me from excess mousing and repetitive motion injuries. And the lack of a toolbar gives me more screen real estate for doing actual work. If you do, in fact, use these commands "all the time," it's probably worth your time to at least try them. On the Mac, command-shift-angle-brackets increases or decreases type size of selected text by an amount you set in preferences; open and save are command-O and command-S; zooming is done with command-hyphen and command-equals (think minus and plus), and command-zero fits the page to the window.
    The standard toolbar does at least have a place you can click to resize the currently selected text -- the little arrows next to the current font size.

Maybe you are looking for