Adding separator bar to jpopupmenu

i want to add separator bar at any position similar to jmenu but i am only able to add at the buttom.can anyone help

yes use jpopupobject.addSeparator();
then more menuitems...and add separators again as u like
regards

Similar Messages

  • ICal "all day events" separator bar

    Is it possible to adjust the "all day events" separator bar in iCal in the Daily or Weekly view.  When you have more than 6 all day events on one day a scroll bar appears, and it's not possible to view all of the all day events at once.  I know that this sounds like nit-picking, but I've developed a work-flow where I would like to look at all of the informaiton at once without extra clicks or scrolls, or to glance at the information without having to bring the application to the surface, or make it the active application.
    Does anyone know if there is a way to adjust the separator bar to allow the user to see more then 6 all day events in the weekly or daily iCal views
    Another ideal solution would be additions to the View or the Preference options that would allow the user to view all of the "all day events" and have the separator bar automatically adjust.
    thanks,

    I agree with you...  this used to be a flexible field and would handle infinate "all day" events.    To answer your question...  no, you cannot adjust this field.  I too use this for business and really need to view all the "all day" events.  I've been forced to use the daily view and put a date notation in the "location" field to know when the event ends.  It's the only way to see everything.
    I found a nice little calendar program SaiSuke but Apple doesn't play well with others.  You can enter into the iCal or iCloud calendar program and it will seemlessly appear through iCloud into the SaiSuke calendar.  But Apple will not release the information allowing SaiSuke to talk back to iCloud. 
    Basically what I'm saying is it's a one way conversation between SaiSuke & iCloud, it can bring data in but not return data back.  So if you enter a new event in SaiSuke it will not be anywhere other than the iPhone or iPad you entered it on, it cannot make it back to iCloud without plugging your phone in and doing a manual Sync.  Of course this process will produce duplicate events. 
    So unless someone out there has more knowledge ...  and you want to have your events be the same on multiple platforms (phone, pad & desktop) we are stuck with using their iCal product.  Apple calls this progress.

  • Where is separator bar in Mac Mail?

    What is the separator bar on Mac Mail?  I've suddenly lost the message preview pane and can't figure out how to get it back.  In Help it says to double click on the separator bar.  What is that?

    Check the very bottom of the mail window, there should be a small dot in the middle of the bottom bar. You can grab it and drag it back towards the top of the screen.

  • How do I hide the "preview panel" in Mail. Double clicking the "separator bar" hasn't worked ( I think I know where that bar is.)

    How can I hide the "preview panel" in Mail? Double clicking on the "separator bar" , as directed by Mail Help, does nothing. ( I am not certain where that bar is, but believe it to be the zone where the preview panel and the message space meet.) This issue only arose after I upgraded to Mavericks.

    Maggie 6 wrote:
    How can I hide the "preview panel" in Mail? Double clicking on the "separator bar" , as directed by Mail Help, does nothing. ( I am not certain where that bar is, but believe it to be the zone where the preview panel and the message space meet.) This issue only arose after I upgraded to Mavericks.
    The only way I found to hide the "preview panel" is to drag the separator to the edge of the window. It shrinks the panel down to perhaps 1/2 inch in height and then disappears only when you drag it to the bottom (classic layout) or perhaps a couple inches wide (in the new layout). It is also annoying to me that you can double click to open the preview panel but you cannot repeat that to hide it. [sigh]
    I submitted feedback about the help file as well - you may want to do the same. I could not find the double click mentioned in the new "Mail Help" - I know it was in the old version.

  • What's a separator bar when you name a Page Title?

    what's a separator bar when you name a Page Title?

    Please refer to a similar discussion here :
    https://forums.adobe.com/thread/1697335
    Thanks,
    Sanjit

  • Scroll bar in JPopupMenu when used in JList

    Hi,
    I want variable list (not combo box) where I can add multiple JMenuItems through JPopupMenu. I have created JList in JScrollPane and I have added multiple JMenuItems one by one but in output I am getting the list of JMenuItems without scrollbar. There is no way I can navigate to last JMenuItem in the JList. Could someone help me with integration of JList, JMenuItems, JPopupMenu with scroll bars?
    Below given is the sample code. GUI components have been added through Netbeans.
    public void updatePopUp()
    final JPopupMenu menu = new JPopupMenu();
    menu.setBorder(null);
    menu.setAutoscrolls(true);
    JMenuItem item = new JMenuItem("JMenuItem");
    item.addActionListener(this);
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    item = new JMenuItem("JMenuItem");
    menu.add(item);
    menu.setVisible(true);
    menu.pack();
    varList.add(menu);
    // Set the component to show the popup menu
    /* this.addMouseListener(new MouseAdapter() {
    public void mousePressed(MouseEvent evt) {
    if (evt.isPopupTrigger()) {
    menu.show(evt.getComponent(), evt.getX(), evt.getY());
    public void mouseReleased(MouseEvent evt) {
    if (evt.isPopupTrigger()) {
    menu.show(evt.getComponent(), evt.getX(), evt.getY());
    }

    I was going to say try setting the preferred (or maximum) size of the scrollpane to force it to be no larger than you want.
    But ...
    a) I don't see you putting menu items in a JList in that code. You are putting them directly into the popup menu (aka, the normal way to do things).
    b) Calling setAutoscrolls() on the JPopupMenu does not make it a "scrollable" menu. It is for supporting dragging of components in a scrollpane (usually). Read the API docs.

  • How do I realign my clip after adding widescreen bars?

    Hi Everyone,
    After learning how to add widescreen bars by cropping the top and bottom to what most say is the accorded size of 12% I now have a few clips which are in dier need of adjusting downward so as to not cut off peoples heads haflway. I truly hope Adobe CS6 has this feature available. I've tried to re position, scale, and anchor point but that moves the widescreen bars with the clip. Can anyone help me please.
    Mike Diaz

    Thank you Jim and Ann,
    I was fortunate enough to do the tedious task of eyeballing the crop size bar and matching it by percentage side to side. Gruesome, I wouldn't wish it on my worst adversary. I couldn't figure out how to copy and apply to each clip that needed adjustment individually, not all needed the veritcal position changed. I'm so new to CS5 but I decided to get the latest version to be on the edge of video editing software. I tried the adjustment layer thing but it only added the widescreen bar to the newly positioned clip which made the allignement further cut into the clip, took me a tutorial just to undo the effect. Yikes, I'll get it down one day. But a million thanks to all who help me in these forums. You guys are more awesome than you may know.
    Mike Diaz

  • Adding separator lines or spaces in WebHelp ToC

    Is it possible - and not horribly complicated - to add separator lines or some empty spaces in WebHelp Table of Contents?
    I would like to group the "books" and top level topics, separating them somehow, but adding empty items or simple HTML like <br> or <hr> in the .hhc file is not doing anything.
    This is what the graphics designer is asking for:
    I am running RH7 and using a somewhat adjusted version of the "Default" skin.

    Hi Willam
    I'm guessing that what is meant is something like this:
    I'm wondering why someone couldn't just insert a page that links to a specific and innocuous topic and configure the TOC with a string of dashes or whatever. In this case it would look like this:
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Using Separator Bars in TOC

    I have a fairly complex help system, and I have 8 required
    workflow books, plus several other alternative workflow books.
    Based on a lot of internal user testing, users want to see
    their topics of interest in the TOC (topics I would not have
    thought of including, but got a lot of feedback from users that
    they poke the TOC and not the index looking for this info).
    However, one linear list of purple TOC books is not digestible (and
    using other icons is not useful).
    I would like to list ~ 8 required workflow books, followed by
    a separator line, followed by ~ 3 alternative workflow books,
    followed by a separator line, followed by ~ 3 reference books,
    followed by a separator line, followed by a few contact/legal/
    website books.
    I added books to RH TOC with a separator line, but no topics,
    and these books are ignored in the compiled CHM file.
    I have been looking on the site for similar topics and do not
    find anything. Thanks to anyone for any suggestions.

    Hi abwriter
    Hmmm, one thought that occurs to me is that you could create
    simple topics that would display for each of these "separator"
    books. Assign each book to the appropriate topic. The topics
    themselves might only contain an explanation of the purpose of that
    particular section. Assuming this is for compiled .CHM use, you
    could then ensure the book icon was assigned so they remained as
    books and weren't automatically converted to pages.
    Just a thought... Rick

  • Adding menu bar in ALV report

    hi,
    I have written an ABAP report using ALV . We need to add a button to the menu bar of the screen that appears after the report is run, not on the selection screen. And when report is executed user will choose for example STOCK then it has to go to the transaction(QA03).
    thanks in advance.
    Anu.

    Hi,
    Goto SE41, create a pf-status for your alv report program.
    On the next screen, click menu EXTRAS --> click option ADJUST TEMPLATES and select radiobutton LIST VIEWER --> you will get all standard buttons of alv in the pf-status.
    Delete the unwanted buttons and also you can add new buttons if reqd.
    Activate pf-status --> and apply in alv program.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = v_rep_id       " report id
         i_callback_pf_status_set          = 'PF'           " for PF-STATUS
         i_callback_user_command           = 'USER_COMMAND' " for User-Command
         is_layout                         = wa_layout      " for layout
         it_fieldcat                       = it_field       " field catalog
         it_sort                           = it_sort        " sort info
        TABLES
          t_outtab                          = it_final      " internal table
       EXCEPTIONS
         program_error                     = 1
         OTHERS                            = 2.
    *&      Form  pf
    *       SUB-ROUTINE PF IS USED TO SET THE PF-STATUS OF THE SCREEN
    *       ON WHICH THE ALV GRID IS DISPLAYED
    *       -->RT_EXTAB
    FORM pf USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZTG_STAT'.
    ENDFORM.                    "pf
    *&      Form  USER_COMMAND
    *       SUB-ROUTINE USER_COMMAND IS USED TO HANDLE THE USER ACTION
    *       AND EXECUTE THE APPROPIATE CODE
    *      -->LV_OKCODE   used to capture the function code
    *                     of the user-defined push-buttons
    *      -->L_SELFIELD   text
    FORM user_command USING lv_okcode LIKE sy-ucomm l_selfield TYPE slis_selfield.
    * assign the function code to variable v_okcode
      lv_okcode = sy-ucomm.
    * handle the code execution based on the function code encountered
      CASE lv_okcode.
    * when the function code is STOCK
        WHEN 'STOCK'.
          SET PARAMETER ID '<param_id>' FIELD '<field_value>'.
          CALL TRANSACTION 'QA03' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "USER_COMMAND
    Hope this helps you.
    Regards,
    Tarun

  • Adobe Media Encoder CS4 Suddenly Adding Black Bars To L & R

    I think I may be going crazy.
    Every video I have ever shot has been cropped to 720x340 in After Effects then exported as an uncompressed Quicktime movie file at 720x340.  For the last year I have done this process exactly the same everytime.
    On my website (www.stevenbogda.com) videos are either 360x170 or 480x226 FLV files, both variations of the original 720x340 Quicktime file.  I would just bring a 720x340 file into Adobe Media Encoder CS4, adjust the dimensions and bitrate and export and it would work perfectly.  Now all of the sudden, when I bring anything I shot and exported recently into AME CS4 to get it ready to go on my website, it adds BLACK BARS to the left and right side of my video (refer to image 2).
    I thought it was just a visual problem in AME CS4 until I exported it as the FLV file that I planned on doing, just to find that the actual FLV file is in fact the dimensions I wanted, EXCEPT it has black bars on the right and the left...
    I immediately blamed it on After Effects and started re exporting uncompressed Quicktime files with different settings and managed to get AME to work properly but it was random.  Some videos were exported with "settings 1" and worked in AME but other videos with the same settings didn't work.
    I went to my hard drive where I store my master Quicktime files that were used to make the videos on my site and brought some into AME CS4 and they acted the same way that the new videos I made do, with black bars on the left and right.  These videos worked the way I wanted them to in AME CS4 last month, but now suddenly are doing what my more recent files do and I have no idea why.
    I found out that by lowering the width of the video (refer to image 3) the black bars would dissapear slowly, but then the video would be a smaller width that it should be.  I really think I am just missing something, or set some setting wrong by accident because this never used to happen and now is happening with files that once worked correctly.
    Any help or ideas would be greatly appreciated because I am spending way too much time re exporting uncompressed files just to find out they don't work.
    Thank you,
    Steven

    Stan,
    I was using the on2VP6 codec at data rates from 275k to 400k with good results. -- with the new CS$ endcoder i am used h.264 at 500k to 700k, video quality looks good but the graphic overlays look like alised crap. In the encoder settings the edges of the graphics get jaged when I make the field order progresive...
    I am starting with DV NTSC video at 720x480.
    I am going to go back to my old work flow and test it. The settings are a bit different from premiere pro 1.5 to CS4 -- in 1.5 i could export out an unconpressed .mov with square px and then bring that large file to flash media encoder to create the .flv

  • Adding scroll bar to a text box

    Is there a way to add a scroll bar to a text box? I am designing a website using ID (in the web view) which I am then giving to a web person to implement. I have one page that is longer than the others, where I would like to be able to scroll the text. I would really appreciate a step by step instruction on how to add a scroll bar to this text box.
    Thank you so much.

    The point is that exporting to Flash makes creating the webpage in ID seamless.  I am not familiar with a
    way to import an ID file into a Dreamweaver HTML.  ID relies on pages that get converted to
    frames on the Flash timeline which makes switching between pages, if you know enough ActionScript, a breeze.
    However I did find this link which outlines some compatibility between ID and DW:
    http://livedocs.adobe.com/en_US/InDesign/5.0/help.html?content=WS82C401A9-E844-40d5-B9B4-5 40CA374B0C6.html
    Message was edited by: markerline

  • Adding scroll bars to a frame

    Hi, I have a frame that pops out from my applet, and I want to add scroll bars to this frame. Using JScrollPane does not work. The scrollbars do not show up even when the image that is displayed on the frame does not fit in the current frame size. Is there a good way to do this? Thanks.

    Container c=getContentPane();
    c.setLayout(new FlowLayout());
    JScrollPane pane=new JScrollPane(your Component or frame);
    c.add(pane)

  • Adding Scroll Bar to a Frame

    Hi guys,
    Can anyone help me to add a scroll bar to a frame which contains a panel. The panel contains some Labels and one buttton.
    Please suggest it using java.awt package(not swings).

    But can you please tell me how to implement that.
    I am helpless. I can't find away out.Oh come on, look at the API docs. Put your Panel with the correct size into the ScrollPane, put the ScrollPane into the Frame, done.

  • Adding Scroll Bar in Jlist

    Hello
    Could anybody suggest me how can I add scroll bar in Jlist. I tried this one, but it did not work
    JList list = new JList(subject);
    JScrollPane scrollPane = new JScrollPane(list);
    Thanks
    Prashanth

    Posting another question without replying to the responses on your previous thread, are you? Good luck getting help with this one.
    db

Maybe you are looking for

  • Hi, i'm having trouble with syncing my iPod. (after the latest iTunes-update)

    It's a classic, but I have no idea what generation... but it was bought in early 08, and have 80gb. Anyway, it has been working fine all the time, but by the latest iTunes-update, it has stopped working. (mac) Every time I try to connect it with my c

  • Smart Playlist fromseveral playlists

    I have been using iTunes for Windows for a while and had no trouble using smart playlists. Recently I switched to a mac and have the following problem with Smart playlists. I have a playlist that looked at songs in 5 playlists. So, I set up this play

  • [SOLVED] Parsing simple config files in pure bash

    Hi everyone, I'd like to implement a bash function to parse a simple config file for a script I've wrote. The conifg file contains different sections for different scenarios. Here's an example how it should look like: # configuration file # global se

  • Error when I try to save my website

    Why do I get this error when I try to save or save as...any of my adobe muse websites? Thanks!

  • Virus infection with jmp code

    I have been infected with a virus for a few weeks or in one or two cases possibly since May. That is based on 3 trojans identified by AVZ which is part of Kaspersky's suite of tools. There is another utility called GMER that has circumvented the atta