How to add scrollbar to jpopup menu

Hi everyone,
Do u know how to add a scrollbar to jpopup menu ?

Menus don't scroll, and shouldn't scroll. Given that, you shouldn't try and use JPopupMenu at all... rather, create your own component that implements the look and behavior you want. It will be far easier and less frustrating.
Either that... or you should re-think what functionality you are trying to provide, and how you are trying to implement it. A scrolling menu just seems like a counterintuitive wacky UI design to me.

Similar Messages

  • How to add a drop-down menu to a rollover image?

    Hi,
    I guess my title says it all... I was wondering how to add a drop-down menu to a rollover image? I know that there's the sprymenu, but I need to have my own rollover images.
    Thanks,
    Kazem

    Frankly, ANY link can offer a drop down.
    Take a look at this turorial.
    That will get you your dropdown menu. So you have that.
    Now, on your top menu (or any level where you want to have an image instead of text do this:
    (I am copying the HTML structure in the tutorial here):
    <nav>
              <ul>
                        <li><a href="#">Home</a></li>
                        <li><a href="#">Tutorials</a>
                                  <ul>
                                            <li><a href="#">Photoshop</a></li>
                                            <li><a href="#">Illustrator</a></li>
                                            <li><a href="#">Web Design</a></li>
                                  </ul>
                        </li>
                        <li><a href="#">Articles</a>
                                  <ul>
                                            <li><a href="#">Web Design</a></li>
                                            <li><a href="#">User Experience</a></li>
                                  </ul>
                        </li>
                        <li><a href="#">Inspiration</a></li>
              </ul>
    </nav>
    Now, let's pretend you want an image instead of the word "Articles." You'll want the image to be sized appropriately, and if you look at the CSS, you'll see it's 112 pixels wide by 52 high. If your image is approximately those dimensions, you're all set.
    So instead of "articles" you insert your image.
    Done.

  • How to add scrollbar to the JInternal Frame

    How to add scrollbar to JInternal Frame?
    I have One JInternal frame i want it should have a scrollbar when we reduces its size.

    [url http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html]How to Use Scroll Panes

  • How to add icons in native menu with text

    Hello Guys
                     Can Anybody guides me how to add icon in nativemenu system tray.Actually i am making a simple application in adobe air and use minimizing the application into system  tray.On Right  click on the icon present in system tray it open naitive menu with open and exit option.
    i just want to add an icon with each menuItem.Please guide how can i do it.please give me some example for it.i am using this
                                     http://www.swamicharan.com/blog/air/minimizing-an-air-app-to-systemtray/
    link for dock and undock my application.And also tell me how to enhace the width of that naitive menu .please help me out.
    Thanks  And Regards
         Vineet Osho.

               the native menu means in ur application menu or flex system menu?

  • How to add to app Services menu?

    Hello all,
    I'm trying to figure out how to add a "send to..." or somesuch menuItem to the Services menu in an application.
    I've created Services in the Finder that I can run with a right-click, but I don't know the procedure -- if there is one -- for end users to add to the application Services menu.
    My specific task is to open the current open window/document in Adobe Reader in Skim so I can fill in and edit there. None of my searches has uncovered how to go about doing this. Any helpful pointers or information gratefully accepted.
    Thanks,
    Markie

    Hi,
    In the dashboard --> edit option u can see dashboard object here u can see folder ...by this folder u just include dashboard page other wise in the catalog share folder u need create each and evry module pre planned folder then save it each dashboard pages to relevent module folder.
    THanks
    Deva

  • How to add script icon to menu bar?

    On my MacBook Pro that was upgrated to Mountain Lion the script menu I installed years earlier remained after the upgrade. Just bought a new iMac and I can't find how to get the script icon in the menu bar. In Leopard, and maybe Snow Leopard, there was acutally a script to install the menu. The scripts I use work fine under Mountain Lion, I just want to add them to the menu bar. Any thoughts would be greatly appreciated.

    Open the applescript editor.app
    Preferences>show icon in menu bar

  • How to Add Applications to KDE Menu

    Hi All,
    I'm running KDE 4.2 and I have installed Wine and Scribus. Wine doesn't show up in any of the menu's and Scribus appears in Lost & Found. How do I add entries to the menu in KDE4?
    Cheers
    EmyrB
    Last edited by EmyrB (2009-02-08 18:58:48)

    Hi Guys,
    @ slemKaffe - thanks for that, it was winecfg I was trying to find. I shall add that to my menu
    @ NoOneImportant - I did run that first, but it only found a few KDE odds and ends, it did however find Firefox, which is strange as after I installed it and logged out and back in again, was added to the Internet sub-menu, so why menu updating tool find this
    Sorry if these questions sound very "newbish", but I've been a Gnome user for the last 3 years and I'm determined to get to know KDE
    Cheers
    EmyrB

  • How to add iMessage to the menu bar

    how can i add iMessage to my menu bar?
    and how can i receive calls on my computer?

    OS X  Yosemite
    Make phone calls from Mac
    http://support.apple.com/kb/PH18756?viewlocale=en_US&locale=en_LA
    You cannot add Messages icon to the menu bar.

  • How To Add scrollbar in Spark list which will work on mouse movement ?

    Hi,
    I want to add scrollbar in Spark list which will work on mouse movement, i.e instead scrolling down it will sense mouse position and scroll automatically. I could not find a way to handle this with horizontalLayout.
    I tried hovering on list and setting ensureIndexIsVisible(index) but hovering element index is not present in the Spark List.
    Any idea on this will be highly appreciated.
    Thanks in advance
    Avishek

    Hi,
    I want to add scrollbar in Spark list which will work on mouse movement, i.e instead scrolling down it will sense mouse position and scroll automatically. I could not find a way to handle this with horizontalLayout.
    I tried hovering on list and setting ensureIndexIsVisible(index) but hovering element index is not present in the Spark List.
    Any idea on this will be highly appreciated.
    Thanks in advance
    Avishek

  • How to add music to layered menu?

    When I want to add music to menu, i just drop music clip to this menu. But I can't add music to layered menu in this way.... Please help...

    Correct, you cannot add music to a layered menu, nor can you add video. There is no "solution" for this other than do not use layered menus.

  • How to make LCD screen look, why are my titles rolling the wrong way, How to add walking fog to menu

    Hi, I've been using PP for a while, just started using CS3 a few months ago. A few quick questions:
    1) My titles have somehow started rolling down instead of up, how do i change that? in otherwords the bottom of the credits show before the first part
    2) I wanted to give an effect of an LCD look, is that possible? By that I mean like instead of filming a website from my monitor, what can give it tha tlook like an LCD grid or something.
    3) I am thinking of creating a menu and wanted to add like a rolling fog on the top layer of a menu. I've never created a menu in Premiere, is that possible?

    Edgar, please provide
    these details to help us help you.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • How to add gmail to the menu bar

    Just installed Mozilla Firefox on a new computer. How do I add a link to gmail to the task bar?

    hi,
    there are 2 options for this, make sure you choose which is best for you.
    1. '''if you're the only one using your pc/laptop'''
    * open your gmail and log on to your account
    * once your logged in, drag and drop the gmail or google icon (top left of your inbox page) to your toolbar menu.
    ('''''this will log you in automatically everytime you click on the gmail icon on your toolbar''''')
    '''2. if you're not the only one using your pc/laptop'''
    * go to gmail (do not log in)
    * click the "star" to bookmark the gmail log in page
    * open the bookmarks folder and look for gmail in your "recently bookedmark pages" folder
    * once you see the gmail page, drag and drop it on your toolbar
    ('''''this will automatically open a new tab where you can log in on your gmail account''''')
    to test wether you got it right, close the tab and open another one and click on the gmail shortcut on you toolbar

  • How to remove Scrollbar from af:menu Please Urgent

    Hello,
    we have in our application an af:menu and during run time if the menu contains a lot of menu items then a scrollbar is visible on the bottom and on the top of the page.
    Is there a way to remove the scroll bar and display the whole menu?
    Thank you in advance
    Nota
    Edited by: user8270421 on Mar 2, 2011 4:24 AM

    Doctor, we're losing the patient on the operating table! I need to remove these scrollbars, STAT!!!
    That would be urgent. :)
    Sorry, I haven't tried removing scroll bars from af:menu, so I cannot add anything.
    John

  • How to add my drop down menu to my website

    I have been following a dreamweaver video to create a drop down menu with pure css which has turned out great.  My problem is when you follow a video I followed the instructions and started a new html and then attached the css styles to the new html called "dropdownmenu".  But as I don't know how to put it in my index page.  I understand that css is the rules but how to I get it in my website.  Most prob an easy one for all you experts out there!
    I hope someone will help me please.
    Thanks Karen
    Oh im useing cs5.5

    Thank you very much for taking you time to answer me.  I have managed to do this but I get a bit confused with the files so I hope you can just help on this one!
    I went to duplicate the dropdown.css file and put it in my css folder but the file was already there, also a link was in the css file altough it did not have "media=screen".  I duplicated the dropdown.css and put it in my dropdown.html, not sure if that is right.  This is how I have set out my files.                                                           Folder - dropdown
                                                                                                               -navMenu.html
                                                                                                               -dropdown.css
                                                                                       Folder - css
                                                                                                              - dropdown.css
                                                                                                              -styles.css
    My index page link between the "head" is <link href="css/styles.css" rel="stylesheet" type="text/css" /> ----so am I right in saying that the styles.css is determing the index page at mo and any future pages if I want.  
    And the link from the navMenu.html is <link href="../css/dropdown.css" rel="stylesheet" type="text/css" />------and this is getting the information from the dropdown css.
    If I am correct do I need both copies of the dropdown.css?  I hope this is nice and clear for you!
    Once again thank you very much for your help.... it is very much appreciated!  I spend most of my time learning from youtube and don't really like to bother people but after an hour of scratching my head I gave up!

  • How to add links to left menu navigation

    I go to Site Settings > Look and Feel > Navigation and add the links to "Structural Navigation: Editing and Sorting" (which is blank even though my left menu navigation has 8-10 links). I added some some links but these never display.
    I am able to modify the navigation menu just fine on project subsites, just not the PWA

    Will assume you are using PS2013. This is by design. The left navigation (Quick Launch) for PWA home page is controlled by a different setting. You can add your link by navigating to
    Server Settings >> Quick Launch
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

Maybe you are looking for