How can I set some space between buttons on the buttonbar

I want to set some empty spaces between buttons on the button control bar?
Thank you.
Scott

If you mean a JToolBar try addSeparator();
If you mean a JMenuBar... I don't know!

Similar Messages

  • How can I add some space between each tab in JTabbedPane?

    I added some tabs in a JTabbedPane and want to add some spaces between each of them. How can I do this?

    There are different questions, aren't they? if you ask how to move a component to the right, and get an answer,
    then ask how to move it lower, it may seem to be a different question,
    but the concept is the same, and the answer would almost certainly
    be the same (with a tweak). Basically you should be smart enough to work
    out how to move it lower for yourself.
    if you don't understand the how concept of my response in the linked post
    relates to this post, then you're in the wrong game.
    to make it easier for you to understand
    set your own UI, overriding calculateTabHeight(..), setting whatever you want
    set your own UI, overriding paintTab(..), setting whatever you want for rects[..].x
    having pointed you to the area where you do this stuff, you should have been
    smart enough to work it out for yourself.
    at some point you will have to take your feet off the desk.

  • How can I put extra spaces between hyperlinks?

    After I insert hyperlinks they are too close together and are very hard to determine where they are apart from one another. How can I insert extra space between the links so they are more legible?

    design view:
    Home Page Why Hi-TEC? Services Our Staff Contact Us
    Make Appointment Our Credentials Learn About Your Car
    code view:
    <p> </p>
          <p><a href="index.html">Home Page</a> <a href="why_hitecauto.html">Why Hi-TEC?</a> <a href="services.html">Services</a> <a href="staff.html">Our Staff</a> <a href="contacts.html">Contact Us</a></p>
          <p><a href="appointment.html">Make Appointment</a> <a href="credentials.html">Our Credentials</a> <a href="about_your_car.html">    Learn About Your Car</a></p>

  • I bought a used ipad on ebay and the icloud acct is still linked to the old owner who doesn't remember the acct information. How can I set up my apple id on the iPad.

    I bought a used ipad on ebay and the icloud acct is still linked to the old owner who doesn't remember the acct information. How can I set up my apple id on the iPad?

    You will need the previous owner's Apple ID and Password to:
    1. Turn off Find My iPhone
    2. Erase device
    3. Reactivate device

  • How can I set up an email signature in the Nokia 822

    How can I set up an email signature in the Nokia 822?

        Great question, Robobenn! Here is how to add the signature:
    From the Start screen, tap the Mail tile.
    Tap the More icon.
    Tap settings.
    To enable, tap the Signature on/off switch.
    Scroll to, then tap the Signature field.
    Enter the desired signature, then tap the Checked icon.
    For additional support, go to: vzw.com/support
    Thank you,
    LenaA_VZW
    Follow us on Twitter @VZWSupport

  • How can i set up my macbook pro that the sent emails show up in the sent folder?

    How can i set up my macbook pro that the sent emails show up in the sent folder?

    look at the Preferences and open the "Mailbox Behavior"  maybe the sent mail is being stored on the server?
    I going to have this post moved to the "Mail" forum

  • HT4623 How can u set up your iphone when all the files are deleted?

    How can I set up my iphone if all the files are deleted?

    What files are deleted?
    Please explain

  • How can we set a process chain to trigger the nodes w/o manual intervention

    SDNers,
    We have a Master PC which has the loading & activation of some Hierarchies.Wats happening is some of the hier activations are failing (we got track of the root cause as well) and the nodes below are not getting triggered automatically, eventhough they have been designed to get triggered irrespective of success or failure of this hierarchy activation. The chain prompts for the u2018Status change & trigger the following eventsu2019 opo-up and only when it was said u2018yesu2019, the subsequent node gets triggered in the chain. If this manual intervention was not there, the Chain gets struck at the activation node, whic is running in yellow status for long, though a short dump - error has already been thrown.
    My query is how can we set a process chain not to anticipate the manual intervention of chnaging the status & trigger events pop-up

    Hi ravi,
    i'm not sure abt the query but what i got thru ur qustion is u have to automtaically go to the next load/step even the proceess chain fails in the step......
    for that we have the same master meta chains with link of so many local chains...for this even if there are some interventions/fails in between the process chains it never gets stopped....
    it goes to the next step and we'll work, analyse and finish the failed load manually....the next day it'll be
    fine...
    b4 to this make sure that there is no dependency for the previous loads....
    And now the solution i found for this is in the process chain design itself.......
    while giving the links itself we'll be getting the options as status RED,GREEN and RED(or)GREEN.....now if u got for the third option the event goes to the next step even it is unsuceesful....
    rgds,
    nkr.

  • How can I set Firefox to print to PDF, the only otions I have are (1) My Canon printer, (2) Fax or (3) Microsoft XPS document writer. There is no option for PDF

    A couple of weeks ago, from the file menu, in my print options was to print a web page to PDF, that facility is no longer there. does anyone know how can I set Firefox to print to PDF.
    The only options I have are (1) My Canon printer, (2) Fax or (3) Microsoft XPS document writer. There is no option for PDF

    Firefox generally displays the printers in Windows' Printers folder (Start orb > Devices and Printers). If it is missing one of the printers listed there, could you indicate which one it is, for example, Adobe Distiller, PrimoPDF, CutePDF Writer, etc.?
    If you previously had an add-on which added print-to-PDF functionality just to Firefox, perhaps it got disabled. You could check here:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Extensions
    Also, are you really running Firefox 8.0.1? That version from last November is no longer secure and has been superseded by Firefox 11. If you browse the web widely, you should update for your security.

  • I recently upgraded my iphone 4 to a iphone5 and everytime i take pictures etc they store on the old phone as well as the new on iloud, how can I set up a new icloud on the old phone for my mum whos now using it without losing everything that was ? thanks

    i recently bought a new iphone 5 and gave the old iphone 4 to my mum.  every time i take picstures they automatically store on the iphone 4, how can i set up a new icloud for my mum on the iphone 4 but keep everything on my iphone 5?

    Your iphone 4 must still be logged into your icloud account.  Go to settings>icloud, scroll to bottom of page and tap Delete Account.  This will remove all your data from the old device but not from icloud or your iphone 5.
    To create a new icloud account for your mum, go to
    http://www.apple.com/icloud/setup/

  • How can i fix my side volume buttons including the silent switch?

    I just noticed all the buttons on the left side of my iphone 4 wont work at all how can i fix this?

    Take it to the Apple store and pay for an out of warranty replacement.    

  • How can I set up my time capsule as the primary base station with a centurylink router? I'm trying to extend my coverage, increase signal strength, and be able to connect a printer.

    I recently moved and now I'm trying to set up my Time Capsule as the primary base station or router with an existing network that has a Centurylink modem/router. The TC still has the settings for my old network. I also have backups on it. I have the data backed up to another HD so it's not an issue to return it to factory settings if doing so deletes the back ups. Do I need to restore it to the factory settings to set it up? Also, what settings would I select on the TC (and the Centurylink modem/router) in order for the TC to serve as the router, instead of the Centurylink router? I want to be able to use the TC to back up my Mac's, print wirelessly, and improve overall performance. I tried setting the TC up and ended with 2 different networks. Can anyone please help me with this?

    The TC has to plug into the existing modem router by ethernet.. you cannot use wireless.
    You have a choice of which is router.. only if Centurylink agree to bridge their modem router.. this has to be done by the ISP and often they do not allow it.
    Is your broadband cable or adsl or fibre or ???
    If it is cable and you are allowed to purchase your own cable modem pick a pure modem version with no router in it.. plug the TC into it by ethernet.
    Setup the TC in DHCP and NAT mode.. (depending on broadband type).
    You must reset the TC to factory to do the setup.. no files are lost at all.
    Here is my current recommended setup.. with Yosemite life has become harder than ever.
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Setup the TC again.
    ie Start from a factory reset. No files are lost on the hard disk doing this.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg TCgen5 and TCwifi for basestation and wireless respectively.
    Even better if the issue is more wireless use TC24ghz and TC5ghz with fixed channels as this also seems to help stop the nonsense. But this can be tried in the second round.
    2. Use all passwords that also comply but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. Ensure the TC always takes the same IP address.. you will need to do this on the main router using dhcp reservation.. or a bit more complex setup using static IP in the TC. But this is important.. having IP drift all over the place when Yosemite cannot remember its own name for 5 min after a reboot makes for poor networking. If the TC is main router it will not be an issue.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric.. but this change will mess up your TM backup.. so be prepared to do a new full backup. Sorry.. keep this one for second round if you want to avoid a new backup.
    5. Mount the TC disk in the computer manually.
    In Finder, Go, Connect to server from the top menu,
    Type in SMB://192.168.0.254 (or whatever the TC ip is which you have now made static. As a router by default it is 10.0.1.1 and I encourage people to stick with that unless you know what you are doing).
    You can use name.. SMB://TCgen5.local where you replace TCgen5 with your TC name.. local is the default domain of the TC and doesn't change.
    However names are not so easy as IP address.. nor as reliable. At least not in Yosemite they aren't. The domain can also be an issue if you are not plugged or wireless directly to the TC.
    6. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only.
    There is a lot more jiggery pokery you can try but the above is a good start.. if you find it still unreliable.. don't be surprised.
    You might need to do some more work on the laptop itself. eg Reset the PRAM.. has helped some people. Clean install of the OS is also helpful if you upgrade installed.
    Tell us how you go.
    Someone posted a solution.. See this thread.
    Macbook can't find Time Capsule anymore
    Start from the bottom and work up.. I have a list of good network practice changes but I have avoided Yosemites bug heaven.
    This user has had success and a few others as well.
    RáNdÓm GéÉzÁ
    Here is why Yosemite has fundamental issues.
    http://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-yo u-can-do-to-fix-it/

  • I have created a newsletter in indesign cs4 how can I set zooms for each article for the user

    I have created a e-newsletter in Indesign. I have successfuly saved it as a SWF then as a PDF from acrobat.
    The problem is that when the user zooms in the resolution is not good.
    How can I let the user zoom in to read each article. Would I create buttons with zoom settings for each article. If this is the case do I do it in Indesign or Flash and can I still save it as a PDF file and it will keep the interactivity?
    I would greatly appreciate any help with this issue. It is driving me mad trying to get the information I need.
    Thank you

    Hi Bob
    Dont know what you mean by deleting my signature in the forum. Sorry its my
    first time using a forum.
    So just to confirm if I want a user to zoom in on an article I can't do it
    in Indesign or Flash.
    cheers
    PAMELA
                                                                                    BobLevine                                                    
                 <[email protected]                                            
                 >                                                          To
                                           pamela hettrick                    
                 17/08/2010 14:09          <[email protected]>  
                                                                            cc                                                                               
    Please respond to                                     Subject
                 clearspace-143433         I have created a        
                 1873-767197-2-305         newsletter in indesign cs4 how can 
                 [email protected].         I set zooms for each article for   
                     adobe.com             the user                                                                               
    You don't. There are third party solutions available for that. Sorry but I
    don't have any links handy right now.
    And please delete your signature...it's making a mess of the forum display
    of your posts.
    Bob

  • How can I set up Apple Mail to display the sender's "from icon" in the header info?

    Hi,
    I have gone into the preferences to set up custom headers, so that the icon sent to me from the email sender will display in the header, but do not see an option for this.  I want to do this for Comcast as a source specifically, as they embed an icon in their official emails and I have been receiving phishing  emails from sender pretending to be Comcast.  Comcast states on their website, that you can see their icon in any mail they send, however, this does not happen on my version of Apple Mail (4.5).
    Here is an image of the info shown on the Comcast website, in case that helps to clarify my question.
    Thanks,
    Kim

    On the Internet Accounts System prefs choose Add Other account…
    Pick Mail account.
    On the first page where you enter username and password, hold down the Option key and the Create button will change to Next. Click that with Option held down.
    You can then manually create the account.

  • How can I set an event that occurs on the same day, not date, every month? Like Thanksgiving is on the third Thursday of November

    On my PowerBook, I was able to set up events to show up on a specific day repeating each month, say the first Thursday.  How can I get that on the iPad 2?

    For your repeating even, I'm assuming this is your Yahoo calendar? that isn't a Firefox issue, I suggest you try to contact yahoo.
    For the other issue, try the following:
    Update to Firefox 15. Then, [[Reset Firefox – easily fix most problems]]

Maybe you are looking for

  • IOS 5 Photo App chrashes.

    iOS 5 Photo App chrashes. What can I do now. I also restored the iPhone. Please help me !!!

  • Streaming wifi and bluetooth at the same time is it possible in air play from iPod

    Streaming bluetooth and wifi at the same. Is it possible?

  • [solved]midori, arch 64, multilib and flash

    i recently enabled mutlilib support, syu'd, and now there's no flash in midori anymore. i'm using the standard midori from the extra repo, and the standard flashplugin from multilib repo. as the title of the thread suggests i'm running arch 64. i'm g

  • Drive not recognizing Blank Princo DVDs

    I just ordered and received 200 Princo 4x DVD-Rs because I have one of the early G5s with the Sony DVD RW DW-U10A, that is a 4x writer. These Princo blanks seemed to be some of the only 4x DVDs still around. Now when I put them in drive, my G5 doesn'

  • Condition type with two varibles....

    We are to set up some new condition types. We need it to be in percentage, and then we need to create a formula calculating the correct value. Our challenge is that we need for different percentage value having the system to calculate based on base v