JComboBox with only the arrow?

Hi, I'd like to create a drop down list similar to JComboBox, but instead of having the GUI element show the editor area and the south-pointing arrow, I'd like only the arrow.
When the size on the JComboBox is set to be small (just the arrow), the drop down list when the arrow is clicked is limited to the width of the arrow. I'd like the drop down list to be wider than the arrow element.
This is what I get now:
http://java.sun.com/docs/books/tutorial/figures/uiswing/components/UneditableComboMenu2Metal.png
I'd like to only see the arrow until I click the arrow, then see the dropdown.
Thanks!

Try the SteppedComboBox example from here:
http://www.crionics.com/products/opensource/faq/swing_ex/SwingExamples.html
And then try using the setPrototypeDisplayValue(...) method of combobox to be the empty string.

Similar Messages

  • Can I run adobe master collection in a windows partition on a basic mbp 13" with only the intel chipset?

    can I run adobe master collection in a windows partition on a basic mbp 13" with only the intel chipset?
    I want to install 16 gb ram but I don't think I can change the lack of video card. I wanted this basic machine because it has fairly long battery life. I don't need or want retina at this time. My model is the mid 2012 model. I am running the adobe collection for mac, I want to run the windows versions. Is it possible? What is the most ram I could access using something like fusion 5, assuming I could get fusion 5 to work? would it refuse to run because of the intel chipset and lack of video card?
    If I'm wrong and there is a way to add a video card to this model, could some version of fusion and windows 7 access more than 2 gb operating ram?
    What  cost would I be incurring, and would it be cheaper to buy a windows laptop with more ram than I could access via a virtual machine?
    I want to work on a client's work in the windows versions of the creative suite, with occasional usage of after effects for windows, and to use some web plug-ins only available in windows versions, and to try some windows-only video and audio software.
    thanks for any suggestions. While many people have told me I can run everything on my macbook, I am concerned about what I think is a limited amount of ram that can be accessed over the virtual machine partition softwares, and I don't know if what I want to attempt is actually possible.
    My mbp os is 10.8.2 on a 2.5 GHz intel core i5 4 gb 1600MHz DDR3 with 500 hard drive. the basic 13" mid 2012 machine.
    I'm hoping to install 16 G of opertating ram to allow more adobe programs to run concurrently- just when I am working on the mac side.
    also, off track but, for years I have wanted a small  machine that is more easily portable than my 15" machines. I have only had this used machine for a few weeks, but already I have been very satisfied and used it for presentations at clients. I don't want an air because I really want the dvd burner and player. No matter what apple says about wireless, there are decades of legacy work stored on optical discs all over the world, and I don't want to be unable to open something at a client's office because I don't have a dvd drive. Additionally, I have very large files I want to transfer via ethernet or firewire so that the transfer will take less time and be more secure than wifi. I resist apple's trend to make every machine a disposable toy that is viable only a year or so. I have read reviews that label the mbp it a poor value compared to the air. If all you need to do is text and communicate via wifi, many devices will sufice, and an air is certainly the most elegant. But what about the cost of large ssd's and protecting the drive against damage from shock? I want to be able to move this thing around and the small size is much safer inside my padded bag when I sit in narrow airplane seats, crowded trains and other congested spaces. I am much more likely to be able to borrow a large screen in a client's office ( with the use of one of the three adapters I had to buy) than to be able to borrow a dvd drive that has drivers for mac os 10.8.2. I suspect this may be the last generation of machines that have optical drives and ethernet, and that was why I purchased it so that I could continue to do work into the next few years. I am impressed by the retina display, but I need long battery life. And as beautiful as the retina display is, it is even more of a problem when trying to cross platform with the windows world. I wish I could infuence apple to do a trial product flow for a machine designed to work with 80% of the business world that uses windows. How spectacular that would be. With all their expertise and adept hardware design, to create a machine that cross platforms better than a windows machine itself works? Now that would be an accomplishment.  Instead of 8 or 9 percent of the total computer sales, why not aim for a higher percentage? Smart devices will keep moving toward portable computers in power, anyway.

    confused, bothered and bewildered wrote:
    can I run adobe master collection in a windows partition on a basic mbp 13" with only the intel chipset?
    I want to install 16 gb ram but I don't think I can change the lack of video card. I wanted this basic machine because it has fairly long battery life. I don't need or want retina at this time. My model is the mid 2012 model. I am running the adobe collection for mac, I want to run the windows versions. Is it possible? What is the most ram I could access using something like fusion 5, assuming I could get fusion 5 to work? would it refuse to run because of the intel chipset and lack of video card?
    If I'm wrong and there is a way to add a video card to this model, could some version of fusion and windows 7 access more than 2 gb operating ram?
    What  cost would I be incurring, and would it be cheaper to buy a windows laptop with more ram than I could access via a virtual machine?...
    Fusion should work on your machine and if you put 16 GB of RAM in (see http://eshop.macsales.com/shop/memory/Apple_MacBook_MacBook_Pro/Upgrade/DDR3_160 0MHz_SDRAM), Fusion can access a good portion of that. Also, in a Virtual Machine, the guest OS is presented with Fusion's video card emulation, not what's in hardware on your Mac. Of course, finding Windows 7 now that Win 8 has been released could take some doing and the Win 8 Pro upgrade price is supposed to jump to $200 the end of the month. Add that to the price of Fusion and the extra RAM and you're beginning to get into the realm of low end real PC's.
    As to cross platform, I assume you're aware of BootCamp (http://support.apple.com/kb/HT1461).

  • I created a book in iBooks Author using the Photo Book template. When I rotate to portrait orientation, the photo or widget disappears and a table of contents appears with only the interactive media showing.

    I created a book in iBooks Author using the Photo Book template. When I rotate to portrait orientation, the photo or widget disappears and a table of contents appears with only the interactive media showing.

    Thanx for the prompt response, KT. I have indeed seen that thread, only just after I posted the question.
    I have spent hours on the phone with what I now know is a call center in Texas on this question.
    I think Apple could be a little more "hands on" with iBooks Author users, and it should also be pointed out that landscape photos will not display in portrait mode.
    In my case, I used gallery widgets to display vertical photos, since they look better in portrait mode.
    But instead of simply rotating, the page disappears and a TOC of interactive media appears. The gallery behaves as expected when tapped. This is not what I expected, but since the gallery works, I can live with it.
    Right now I have "tickets" telling me to "fix" this "problem or to disable portrait mode.
    I don't want to disable portrait mode.
    Will Apple accept the books if I tell them this is not an "error?"

  • MY COMPUTER ONLY SHOWS A BLACK SCREEN, WITH ONLY THE POP UP SHOWING .....VIEW AND TRACK YOUR DOWNLOADS

    MY COMPUTER ONLY SHOWS A BLACK SCREEN, WITH ONLY THE POP UP SHOWING .....VIEW AND TRACK YOUR DOWNLOADS

    Hi,
    First plaese unplug any external device (except the mouse and keyboard), then hold on the power button, perform a cold reboot, what is the result?
    If doesn't work, please press F8 (or other button, depend on your PC model) boot your compute into recovery console.
    You can restore your system to a previous point or perform a startup repair, please refer to the following link:
    What to do if Windows won't start correctly
    http://windows.microsoft.com/en-in/windows-vista/what-to-do-if-windows-wont-start-correctly
    Yolanda Zhu
    TechNet Community Support

  • I have a problem with my iphoto, al the pictures show up as a gray frame with only the

    Working with import of photos to my iphotos all the photos turned into a gray frame with
    only the photo # displayed ?
    where did I go wrong

    what were you doing? (what is working with import of photos mean)  what exactly do you see? An ! 
    LN

  • Map with 500 pdfs. How to make a new file with only the first pages, new file with second pages etc.

    Hi,
    A client confronted me with the next question:
    I have a map with 500 pdf's in it.
    Is it possible to make a new file with only the first page of each pdf?
    After that to make a new file with only the second page of each pdf?
    And after that the third?
    Etc.
    Is that possible with an action?
    Or are there scripts for?
    I couldn't find them.
    I use an iMac with Acrobat XI.
    Any help is very welcome.
    Thanks in advance.
    Bornholm

    You can extract each page from each pdf as a seperate page.     Once this is done you can select the pages tocombine.
    You would have to write custom a custom JavaScript and programatically code the names to combine if the extracted file pages habvestandars naming that could  be programed. There maybe some security  coding you will have to do because of Adobe restrictions but this all documented in the Acrobat JavaScript Reference.

  • Exporting slideshows results in file with only the first picture then a blank white screen with music. Apple bug or am I missing the obvious?

    When I export slideshows the result is a file with only the first picture then a blank white screen with music. Apple bug or am I missing the obvious?

    Usually when the phone shows just the white Apple logo, it indicates an issue with the system software that prevents the phone from finishing it's boot sequence. When this happens, you will need to restore the phone, which removes all data and replaces the system software with a fresh set.
    Since the phone is not seen in iTunes when it's in this state, you will have to put it into DFU mode for iTunes to see it.
    To put the phone in DFU mode:
    - make sure the phone is connected to a computer with the current version of iTunes on it.
    - hold the sleep/wake button and the home button simultaneously for 8 seconds.
    - let go of the sleep/wake button and continue pressing the home button. The iTunes screen will show a short progress bar then show a dialog box stating that an iPod was detected that is in recovery mode.
    -click OK
    -click the Restore button in the middle of the iTunes page
    After the restore the phone should be back up and running and you can sync your data back.

  • I need to download photoshop but i lost the serial number. Can i download it with only the cd?

    I need to download photoshop but i lost the serial number. Can i download it with only the cd?

    Ana
    If you need to find your serial number for a non-creative cloud product as mentioned above, start by logging in to your adobe account. (Go to Adobe .com  and click “Sign In” in the upper-right menu bar. Enter the email you use as your Adobe ID and your password.) All of your registered products and their serial numbers are listed in the Plans & Products section on the Manage Accounts page that appears.
    For more information on locating or registering serial numbers, please see this link: Find a serial number
    Pattie

  • Just updated my Ipad operating system and one of my apps starts but then the screen turns white, with only the advertisment at the top showing

    Just updated my Ipad operating system and one of my apps starts but then the screen turns white, with only the advertisment at the top showing

    The normal suggestions.
    Close the app,off fully.  Double tap the home screen then touch and hold any of the icons on the task bar until they jiggle, then close them all off by touching the - sign.
    Then reboot the pad and try the spp again.  If same issue, delete the app, then reload it.  ( no charge). You may just have a bad copy.  If continues, write to the developer, they may need to do an update.  I have an older version of the same app and it works fine.
    Since yours is the ad supported version, they are maing real sure you see the ad.  Is it as simple as you need to click thru the ad to get to the game?

  • How can I locate my ipad with only the serial number

    how can i locate my ipad with only the serial number

    you can't
    even with the IMEI number the police need a warrent to get such info from the carriers

  • When i try to sync photos from iPhoto to my iPad using iTunes,  the "Selected Folders" option is greyed out with only the "All Folders" option available, how do i change this?

    When i try to sync photos from iPhoto to my iPad using iTunes,  the "Selected Folders" option is greyed out with only the "All Folders" option available, how do i change this?

    I add the keyword 'sync' to any photos I want added to the iPhone/iPad.
    Then, during the regular process of syncing the iPhone/iPad with my computer (mac), the photos with that keyword would be copied onto the iPhone, iPad.
    I've been doing it this way ever since I was shown how to; ie after I got my iPhone 2 years ago. And every time the process worked - until the last few weeks. Suddenly it doesn't do it any more.
    I believe I have upgraded software (either iTunes or iPhoto or both) during this period. I try to keep my software updated but have noticed previously that the new version often is disappointing.
    I've not tended to use Smart albums much.
    MM

  • TS3274 My ipad2 is not responding..I want to restart it but i can get nothing but a black screen with only the apple logo and a small gear icon. It occasionally beeps but no other response.  Any ideas as to what may be wrong and what I can do?

    My ipad2 is not responding..I want to restart it but i can get nothing but a black screen with only the apple logo and a small gear icon. It occasionally beeps but no other response.  Any ideas as to what may be wrong and what I can do?

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPad fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Is it possible to find a stolen MacBook with only the serial number

    The police in Mexico told me that it is possible to find a MacBook or an Ipad by tracking it with only the serial number, anyone that may have done it ... Thanks

    No. That can't be done.
    Ask them to show you how.
    Allan

  • I can watch my custom DVD in iDVD 7 preview but burnt dvd plays back black with only the audio

    I can watch my custom created DVD in iDVD 7 preview but once the disc is burnt and I play it back in DVD Player, the screen is black with only the audio playing back. I have tried using three different blank DVD manufactures.

    Hi
    Most probably depends on what movie codec You feed iDVD. May be You find any clue here.
    DVD quality
    1. iDVD 08, 09 & 11 has three levels of qualities. (version 7.0.1, 7,0.4 & 7.1.1) and iDVD 6 has the two last ones
    • Professional Quality
    (movies + menus up to 120 min.) - BEST (but not always for short movies e.g. up to 45 minutes in total)
    • Best Performances
    (movies + menus  less than 60 min.) - High quality on final DVD (Can be best for short movies)
    • High Quality (in iDVD08 or 09) / Best Quality (in iDVD6)
    (movies + menus up to 120 min.) - slightly lower quality than above
    About double on DL DVDs.
    2. Video from
    • FCE/P - Export out as full quality QuickTime.mov (not self-containing, no conversion)
    • iMovie x-6 - Don't use ”Share/Export to iDVD” = destructive even to movie project and especially so
    when the movie includes photos and the Ken Burns effect NOT is used. Instead just drop or import the iMovie movie project icon (with a Star on it) into iDVD theme window.
    • iMovie’08 or 09 or 11 are not meant to go to iDVD. Go via Media Browser or rather use iMovie HD 6 from start.
    3. I use Roxio Toast™ to make an as slow burn as possibly e.g. x4 or x1 (in iDVD’08 or 09  this can also be set)
    This can also be done with Apple’s Disk Utilities application when burning from a DiskImage.
    4. There has to be about or more than 25Gb free space on internal (start-up) hard disk. iDVD can't
    use an external one as scratch disk (if it is not start-up disc). For SD-Video - if HD-material is used I guess that 4 to 5 times more would do.
    5. I use Verbatim ( also recommended by many - Taiyo Yuden DVDs - I can’t get hold of it to test )
    6. I use DVD-R (no +R or +/-RW) - DVD-R play’s on more and older DVD-Players
    7. Keep NTSC to NTSC - or - PAL to PAL when going from iMovie to iDVD
    (I use JES_Deinterlacer to keep frame per sec. same from editing to the Video-DVD result.)
    8. Don’t burn more than three DVDs at a time - but let the laser cool off for a while before next batch.
    iDVD quality also depends on.
    • DVD is a standard in it self. It is Standard Definition Quality = Same as on old CRT-TV sets and can not
    deliver anything better that this.
    HD-DVD was a short-lived standard and it was only a few Toshiba DVD-players that could playback.
    These DVDs could be made in DVD-Studio Pro. But they don’t playback on any other standard DVD-Player.
    Blu-Ray / BD can be coded onto DVDs but limited in time to - about 20-30 minutes and then need
    _ Roxio Toast™ 10 Pro incl. BD-component
    _ BD disks and burner if full length movies are to be stored
    _ BD-Player or PlayStation3 - to be able to playback
    The BD-encoded DVDs can be play-backed IF Mac also have Roxio DVD-player tool. Not on any standard Mac or DVD-player
    Full BD-disks needs a BD-player (in Mac) as they need blue-laser to be read. No red-laser can do this.
    • HOW much free space is there on Your internal (start-up) hard disk. Go for approx. 25Gb.
    less than 5Gb and Your result will most probably not play.
    • How it was recorded - Tripod vs Handheld Camera. A stable picture will give a much higher quality
    • Audio is most often more critical than picture. Bad audio and with dropouts usually results in a non-viewed movie.
    • Use of Video-editor. iMovie’08 or 09 or 11 are not the tools for DVD-production. They discard every second line resulting in a close to VHS-tape quality.
    iMovie 1 to HD6 and FinalCut any version delivers same quality as Camera record in = 100% to iDVD
    • What kind of movie project You drop into it. MPEG4 seems to be a bad choice.
    other strange formats are .avi, .wmv, .flash etc. Convert to streamingDV first
    Also audio formats matters. I use only .aiff or from miniDV tape Camera 16-bit
    strange formats often problematic are .avi, .wmv, audio from iTunes, .mp3 etc
    Convert to .aiff first and use this in movie project
    • What kind of standard - NTSC movie and NTSC DVD or PAL to PAL - no mix.
    (If You need to change to do a NTSC DVD from PAL material let JES_Deinterlacer_3.2.2 do the conversion)
    (Dropping a PAL movie into a NTSC iDVD project
    (US) NTSC DVDs most often are playable in EU
    (EU) PAL DVDs most often needs to be converted to play in US
    UNLESS. They are play-backed by a Mac - then You need not to care
    • What kind of DVDs You are using. I use Verbatim DVD-R (this brand AND no +R or +/-RW)
    • How You encode and burn it. Two settings prior iDVD’08 or 09
    Pro Quality (only in iDVD 08 & 09)
    Best / High Quality (not always - most often not)
    Best / High Performances (most often my choice before Pro Quality)
    1. go to iDVD pref. menu and select tab far right and set burn speed to x1 (less errors = plays better) - only in iDVD 08 & 09
    (x4 by some and may be even better)
    2. Project info. Select Professional Encoding - only in iDVD 08 & 09.
    Region codes.
    iDVD - only burn Region = 0 - meaning - DVDs are playable everywhere
    DVD Studio pro can set Region codes.
    1 = US
    2 = EU
    unclemano wrote
    What it turned out to be was the "quality" settings in iDVD. The total clip time was NOT over 2 hours or 4.7GB, yet iDVD created massive visual artifacts on the "professional quality" setting.
    I switched the settings to "high quality" which solved the problem. According iDVD help, "high quality" determines the best bit rate for the clips you have.
    I have NEVER seen iDVD do this before, especially when I was under the 2 hour and 4.7GB limits.
    For anyone else, there seem to be 2 places in iDVD to set quality settings, the first is under "preferences" and the second under "project info." They do NOT seem to be linked (i.e. if you change one, the other is NOT changed). take care, Mario
    TO GET IT TO WORK SLIGHTLY FASTER
    • Minimum of 25Gb free space on Start-Up hard disk
    • No other programs running in BackGround e.g. Energy-Saver
    • Don’t let HD spin down or be turned off (in Energy-Save)
    • Move hard disks that are not to be used to Trash - To be disconnected/turned off
    • Goto Spotlight and set the rest of them under Integrity (not to be scanned)
    • Set screen-saver to a folder without any photo - then make an active corner (up right for me) and set
    pointer to this - turns on screen saver - to show that it has nothing to show
    Yours Bengt W

  • JFrames with only the close button

    I have been writing a notepad as my first java project and have done most things but cant seem to fix this: coding a JFrame with only the close button. Most of us know that when you click Help > About... a window pops up describing the company that wrote the software.
    Please help....

    I have been writing a notepad as my first java
    project and have done most things but cant seem to
    fix this: coding a JFrame with only the close button.
    Most of us know that when you click Help > About... a
    window pops up describing the company that wrote the
    software.
    Please help....so whats the problem? you're asking if a person clicks on help->about then a description dialog box should pop up describing the company right? you can use JDialog or a popupmenu. look at the swing tutorial at sun

Maybe you are looking for