Put a divider/separator into a JComboBox dropdown menu

Hello,
I need to put a separator of some sort into the dropdown menu of my JComboBox. Has anyone acheived this successfully? I don't know the best way to go about it, so any advice would be much appreciated.
Thanks,
Lauren.

http://forum.java.sun.com/thread.jsp?forum=57&thread=125320

Similar Messages

  • How to put composition's triggers into another composition?

    Hi guys,
    I want to make a dropdown menu which "links" to a certain target of a composition(so 1 composition is not enough, since you cant anchor/link into a certain target).
    I found - why not to do a composition in a composition? But I cant seem to put the triggers into the other composition.
    Any experience with this, or any way to solve it?
    It would be awesome, it would open many possibilities.
    Thank you in advance

    Hi
    Yes, you can insert composition inside target container of composition.
    What happens when you insert ?
    Thanks,
    Sanjit

  • How to put two mono tracks into the usual stereo view in Edit view of Audition 3 ?

    Hi guys,
    Previously I have had no issues simply using Adobe Audition 3 for simple stereo recording and editing of a stereo feed taken from a mixer... well nearly no issues....  :-)
    Today, I'm having a bad day or else it's because I'm getting used to being retired.. :-)  ......
    Query :    How do I put two mono tracks into the usual stereo view in Edit view so they both display correctly there?
    Put simply I have two mono wav files. Let's call them Left_wav and Right_wav.
    I cannot seem to get them imported into a new clean Edit view (Normal stereo track layout) so that Left_wav is on the top half and Right_wav is on the bottom half.
    Whenever I try, I just get either Left_wav or Right_wav taking up the whole of the edit view. i.e. it just shows one track.
    Can anyone familiar with Audition 3 kindly help? I'd appreciate a simple step by step... I just can't see where I've been going wrong, and it's driving me bananas :-).
    Thanks

    There are various ways to do this in Audition 3. here's one.
    Open both mono files separately in Edit view. Then convert Left_wav to Stereo by going to Edit/Convert Sample Type and under Channels select Stereo with Left Mix at 100% and Right Mix at 0%. This will give you a new stereo file with Left_wav on the top channel. Next go to the Right_wav and copy to the clipboard using Edit/Copy. Return to your new stereo file and enable Edit Right channel only in Edit/Edit Channel/Edit Right Channel. Then make sure that the cursor is at start of the stereo file and Paste Right_wav into the bottom channel of the new stereo file. Finally Save As.

  • How to I put a aite bookmark in my dropdown menu instead of in unsorted bookmarks

    When I create a site bookmark I know that it goes into unsorted bookmarks by default. I would like it to go into my dropdown menu when I click on Bookmarks at the top of the screen. I have tried to edit this in the location bar to put in Menus but this doesn't work for me.

    In Firefox there is a line at the top of the screen:
    "File Edit View History Bookmarks Tools Help".
    When I bookmark a new site the bookmark ends up
    at the bottom of the "Menu Bookmarks" folder, but
    does not automatically go into the Bookmark dropdown
    from the top of the screen. I have to copy the bookmark
    from the Menu Bookmarks folder and paste it into the
    dropdown menu from the top of the screen.

  • Divide text into columns

    I imported a tab delineated file into numbers and it put it into 1 column. The manual shows a menu bar Item "Divide text into columns" that doesn't appear on my tool bar. What now?

    Mac,
    Got it. Thanks for the explicit reference, that really helps.
    I think the User Guide is a bit misleading there. The Guide is referring to the text in a Text Box and how you can format the box to display text in multiple columns, as in a newspaper page.
    This feature doesn't parse your data into table columns, sorry. If you want to describe your data, we may be able to help with that.
    It may be simple. Let's try the simple approach. If you Select and Copy the tab delimited data, then switch to a Numbers Table, click ONCE in a table cell and Command-V. Your data should spread across columns. If you click twice in a cell all your data will go into one column when you paste.
    Jerry

  • How do you put safari web pages into icloud with the safari iCloud button?

    how do you put safari web pages into icloud with the safari iCloud button?

    What that button does is sync your tabs between your devices. So if you have multiple macs with Mountain Lion and/or devices with iOS 6 (once it comes out this fall) you can pick up where you left off. For example, let's say I have apple.com, nytimes.com, and facebook.com open on my mac, but I need to run. Later, if I need to use another computer in my household, I can just restore the tabs that I was using before on this other mac.

  • I put my sim card into a new iphone and tried to change it back to the old one and now the phone is locked. It's asking for a passcode and I didn't have a passcode set up.

    Hi! I need help! I put my sim card into a new iphone (3g) and then tried to put it back into the old one to get my contacts from it. Now the old iphone is locked and it's asking for a passcode, but I never set up a passcode on it. Has anyone experienced this or does anyone know what to do? Thanks!

    Not sure if this applies to your region, but in Australia the SIM password is often written on the "credit card" sized plastic card that the SIM was provided to you with the phone by the telco. Do you still have this? It could be in the iPhone box?

  • I removed my battery in an attempt to insert a SIM card, obviously without knowing how to insert the SIM card. I put the battery back into place and it was already charged 100%, but it's stuck in recovery mode. I've already restored it, but it won't boot.

    I was trying to insert a SIM card into my iPhone 4 without actually knowing how to do so. I assumed that I was to remove the back of the phone and find a slot for it near the battery. I removed the battery in an attempt to find a SIM slot, and was obviously unsuccessful. I put the battery back into place and screwed the phone back plate back on. Note: the battery was fully charged and the iPhone was working perfectly fine before. After screwing the iPhone back into place properly, I thought, I attempted to cut the phone on and it would not do so. I put it back on the charger, and the screen came up that says "Connect to iTunes". I obviously couldn't do so if its plugged into the wall. I plugged into the computer, connected it to iTunes, went through the Recovery mode process, and it still won't turn on. The computer says that the iPhone is in Recovery mode, but iTunes can't do anything because it has already been restored. When I disconnect it from the computer, I hold all buttons in all possible combinations, but it won't turn on at all. When I plug it into the wall, it again says to connect to iTunes. I don't know if I damaged the battery or any part within the iPhone, but I was sensitive in my approach to removing the battery and putting it back in, and there is no visible damage whatsoever. I am extremely frustrated and in desperate need of Apple-Pro help.

    do you have a cdma iphone 4? becauase cdma iphones dont have a sim card slot... the providers that use cdma technology here in the us would be verizion, sprint, criket, ect... if you want to use your iphone 4 on att or tmobile (gsm carriers). then you would need a gsm iphone 4 (has sim card slot). a gsm iphone 4 is different than a cdma iphone 4 (they have different radio chips). maby you missed the sim card slot? sim card slot would be on the side of the phone.. never inside (unless it has a removable back cover like the galaxy s3 or s4), if you dont see a sim card slot on the side of the phone than you have a cmda iphone 4. can you tell me what carrier you are trying to use?

  • I have just put an audio book into my iTunes music library.  When I tried to transfer it to my iPod shuffle it rearranged the tracks so that they are in the wrong order.  How can I put them in the order they appear in the book?

    I have just put an audio book into my iTunes music library.  When I tried to transfer it to my iPod Shuffle it put the chapters in the wrong order i.e. Chap 1, Chap 10, Chap 11 etc. rather than Chap 1, Chap 2, Chap 3 ...  How can I get it to put them in the order they appear in the book?

    First, we need to know if the audiobook chapters are being treated by iTunes as music files or as audiobooks. If they are not audiobooks purchased from the iTunes store, they might be getting "shuffled". You will need to look at "File" - "Properties" (I think - I don't use iTunes under Windows - or right-click on the file and choose "properties") and look at the media type. If it is "Music", change it to "Audiobook". If this is not the problem, or does not fix anything, please post back.
    Actually, looking at your post again, a second thought occurs to me - assuming there are less than 100 chapters in the book, just renaming them with a leading zero on the first nine chapters might do it. A computer will alphabetically sort filenames in the order you quote (1, 10, 11, 12, 13, ... 2, 21, etc.) but a leading zero will fix that (01, 02, 03 ... 10, 11, 12)

  • I have just got an Airport time Capsule for back up how do I do it? Do I put the ethernet cable into the back of my sky hub because when I do that the amber light on my Time Capsule flashes amber. Please talk in simple terms as I am a

    I have just got an Apple Airport time capsule to back up my one year old iMac......how do I do it? I have tried putting an ethernet cable into the time capsule and to my sky hub, all I get is a flashing amber light, can anyone help I am a silver surfer not used to Apple products, but love them, plus I don't understand half of the jargon....HELP please

    Apple's Setup Guide for the Time Capsule is pretty simple and clear for most users, and you don't indicate at what point or step that you are getting stuck.
    So, please go to page 8 in your Setup Guide to review the topic of Plugging In Your AirPort Time Capsule.
    The Sky hub will likely have 4 Ethernet <--> ports on the back of the device. Pick any one that you want and connect one end of the Ethernet cable to the port that you choose.
    Then, connect the other end of the Ethernet cable to the WAN (circle of dots) port as shown in the Setup Guide.
    Continuing with the instructions on page 8 of the Setup Guide, power up the Time Capsule by connecting the power cord from the back of the Time Capsule to a wall AC jack.
    Note that the instructions indicate that the indicator light will be solid amber during startup, and it will change to blinking amber during the setup. The light will remain blinking amber until you have configured the Time Capsule at which time the light will turn green.
    Next, go to page 12 of the Setup Guide to see the information to Use your Mac or iOS device to set up your AirPort Time Capsule.
    You indicated in your tag line that you were using OS X Mountain Lion (10.8.3), and since that will exceed the minimum requirement of a Mac using OS X (10.7.5) as noted in the guide, you can use your Mac to set up the Time Capsule.
    Continuing with the instructions on page 12 of the Setup Guide......
    1. Open AirPort Utility on your Mac.  It is located as follows:  Finder (the smiley face on the dock) > Applications > Utilities > AirPort Utility
    2. Select your AirPort Time Capsule and click Continue. You won't be able to do this, but read further......If you do not see the AirPort Time Capsule that you want to configure, choose it from the WiFi status menu in the menu bar, at the top of the screen.
    So, clicking on the WiFi icon will yield a small window that looks like this:
    The example below shows an AirPort Extreme.  You will see Time Capsule on your screen. Click on Time Capsule.
    When you click on Time Capsule, that will get the setup wizard going. it will take a minute to analyze the network, then display a screen that looks similar to the illustration below, except that you will see a picture of a Time Capsule on your screen
    3. Continuing with the Setup Guide.......Follow the onscreen prompts to create a new network
    Network Name...........Type in a simple name that you want to call your network. Do not use the suggested name.
    Base Station Name....Type in a simple name that you want to call the Time Capsule.  Mine is TC, for example.
    Password...................Type in a password that will be used for both the network and the Time Capsule.  Write that down.
    Verify..........................Type in the password again to Verify
    Click Next
    The setup wizard will configure everything for you. When you see the message of Setup  Complete, click Done.
    The Time Capsule is now set up and it will display a green light.

  • Is there any way of undoing a shuffle? The CDs I downloaded to iTunes have all been shuffled. As most of these are classical, it is inappropriate to have them separated into songs that play any old time. Can I restore them to the original albums?

    Is there any way of undoing a shuffle? The CDs I downloaded to iTunes have all been shuffled into individual 'songs'. As most of these are classical and folk, it is inappropriate to have them separated into songs that play any old time (ie, a movement from Beethoven's 5th symphony followed by a folk song followed by one excerpt from Vivaldi's Four Seasons, etc. Can I restore them all to the original albums and make sure the shuffle doesn't happen again?
    Thanks!

    goldberry wrote:
    Thanks! That has worked, but only partially - there are still some Beethovens mixed in with the Vivaldis. I'm sure I installed these as total albums.
    I have noticed that too from time to time, I generally move the files into the correct folder and fix the index in itunes when one won't open, occasionally.

  • When I import a commercial CD itunes will create 2 identical albums and put all of the songs except one into one album and put the other song into the other album by it self. How can I combine them all into one album and why is itunes doing this?

    When I import a commerical CD Itunes will create 2 identical albums and put all of the songs except one into one album and put the other song into the second album that it created.  Why is itunes doing this and what can I do to combine them into one album?

    I found this to be somewhat helpful: Grouping Tracks into Albums
    What I did was to put in the same name for Album Artist in every track.  That seemed to do the trick (previously all those fields were empty).  It seems like a lot of work for a simple thing.
    iTunes knows (or should know) that these tracks were imported from one CD. So why is it relying on incomplete data from the gracenote database?

  • If I changed my Apple ID password on my iphone then log into itunes on my phone with that new password, would it automatically sync to my laptop or would i need to put the new password into my laptop also?

    If I changed my Apple ID password on my iphone then log into itunes on my phone with that new password, would it automatically sync to my laptop or would i need to put the new password into my laptop also? My laptop got stolen so I changed my password and wanted to be sure it's safe to enter in the new one on my phone. I don't want it to snyc to my laptop.

    Hi loro,
    Thanks for visiting Apple Support Communities.
    I'm sorry to hear that your laptop was stolen. Changing your password was a good step. 
    Entering your new password on your iPhone will not affect the laptop, as mentioned in this article:
    Apple ID: Changing your password
    http://support.apple.com/kb/HT5624
    The next time you use an Apple feature or service that uses Apple ID, you'll be asked to sign in with your new Apple ID password.
    Best Regards,
    Jeremy

  • Can I put a SQL query into a bind variable and then use it to output report

    Hi,
    Can I put a SQL query into a bind variable and then use it to output report?
    I want to create a report and an item "text area" (say P1_TEXT) which can let user to input a SQL query(they are all technical users and knows SQL very well). Then, I use a bind variable (that text area) to store the SQL statement. Then, I add a submit button and I want to use the following to output the report:
    select * from (:P1_TEXT);
    Do you think it is possible to do that? Any known limitations for APEX in this area?
    Thanks a lot,
    Angela

    You can, but make sure it's what you really want to do. Make sure you are VERY familiar with SQL Injection. Most people who know what it is, go out of their way to prevent SQL Injection. You're going out of your way to allow it.
    You can try using &P1_TEXT. instead of bind variable syntax. Bind variables are one of the best ways to prevent SQL Injection, which is why it's not working for you.
    Once again, I strongly urge you to consider the implications of your app, but this suggestion should get it working.
    Tyler

  • I put my new iPhone into iTunes for the first time, and chose to back it up to the iTunes i had on my iPod, but that made all my contacts on my sim card disappear, how can i get these contacts back?

    i put my new iPhone into iTunes for the first time, and chose to back it up to the iTunes i had on my iPod, but that made all my contacts on my sim card disappear, how can i get these contacts back?

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

Maybe you are looking for

  • Stupid question on checking data types

    Hi I want to write a function that can accept a parameter which could be an int or an int array. This is what I have so far: void translateParams(Object obj) { Class type = obj.getClass(); if (type.isArray()){ //do something Two questions - firstly a

  • Actual cost of product in COPA

    Dear all, I am relatively new to COPA functionality. The requirement is that actual cost of product should be reflected in COPA and not the planned. Kindly give me the background also, as in the integration of COPC and COPA. Thanks in advance

  • How can I sort my iTunes library by filename?

    Before I started using iTunes, I invested lots of time renaming my music files so that they'd sort into just the order I wanted so I could find things easily. I'm not finding a way to get the filename into the heading of my library so I can sort on i

  • Encodeing through Compressor: Will not export 16:9

    I am exporting clips for YouTube and want to use Compressor so I have a setting I can use all teh time without having to input the setting my company uses. Before YouTube went widescreen, everything was peachy keen. But now we have to export 16:9 no

  • Maven JPA Testing

    Hi, I am a maven newbie, and I have a project with two modules: EjbProject and TestProject. The error that I have to perform the test is : javax.persistence.PersistenceException: No Persistence provider for EntityManager named testUnit These are my c