Display two sets of buttons separated by spaces

I'm using ApplicationControlBar, LinkBar, and ViewStack to
display buttons. Currently, the buttons are displayed horizontally
next to one another:
Catalogue A Catalogue B Catalogue C Catalogue D Catalogue E
I'd like to display TWO separate sets of buttons and ADD
Spaces between the two sets to clearly show they are unrelated:
Catalogue A Catalogue B Catalogue C space space space space
space Catalogue D Catalogue E
How do I go about doing it? It's sometimes hard to find
information on Flex properties.

"salut" <[email protected]> wrote in message
news:gr10j9$gmf$[email protected]..
> I'm using ApplicationControlBar, LinkBar, and ViewStack
to display
> buttons.
> Currently, the buttons are displayed horizontally next
to one another:
>
> Catalogue A Catalogue B Catalogue C Catalogue D
Catalogue E
>
> I'd like to display TWO separate sets of buttons and ADD
Spaces between
> the
> two sets to clearly show they are unrelated:
>
> Catalogue A Catalogue B Catalogue C space space space
space space
> Catalogue D Catalogue E
>
> How do I go about doing it? It's sometimes hard to find
information on
> Flex
> properties.
>
Is the spacer between your linkbar and linkbuttons not
working for you?

Similar Messages

  • Sapscript - displaying two text fields after truncating the spaces.

    Hi Friends,
    In a sapscript, I have to display the name of the vendor which is in two different fields each of length 40 chars. The first one may be filled to the maximum and the remaining goes into the second field and may occupy only 30 or 35 chars. I need to display the two side by side and the space available is 70 chars. I am using an existing script and I am not able to print the two side by side. It is going to the next line. How do I truncate the trailing spaces of either field. Please help. It is quite urgent.
    Thanks,
    BP.

    Hi Bindu,
    use the perform to concatenate name1 and name2 to NAME and use this field in address command.
    Check with the following code:
    /:   DEFINE &ZNAME& = ''
    PERFORM ADDRESS IN PROGRAM 'PROGRAM'
    USING    &REGUH-ZNME1& 
    USING    &REGUH-ZNME2&                             
    CHANGING &ZNAME&                       
    ENDPERFORM                                      
    FORM address
              TABLES itab STRUCTURE itcsy
                     otab STRUCTURE itcsy.
    LOOP AT itab.
        CASE itab-name.
          WHEN 'REGUH-ZNME1'.
            l_name1 = itab-value.
          WHEN 'REGUH-ZNME2'.
            l_name2 = itab-value.
        ENDCASE.
      ENDLOOP.
    use the logic.
    Endform.

  • Click on J button to display record set

    How to write a code to click o j button to display record set of MS Access database

    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    Create a class to perform DB related stuff and call in when the button is clicked. Your question is too generic. It would be better if ou asked a specific query.

  • Display two fields in one single cell in a BEx report.

    In a BEx 7 query, we need to display 'First name' and 'Last name' in one cell/column called "Name". The 'First name' and 'Last name' are two different info objects in the multiprovider on which the query is built. These are navigational attributes for Char - Employee. The entire flow is in 7.0 version.
    Any pointers to how this can be done in the query designer?
    Thanks.

    Hi,
    Follow the following steps:
    1. Create a Variable and in General Tab Set Processing By As Customer Exit.
    2. Now go to CMOD & Write the following code doing some custom changes specific to your requirement:
    WHEN "Variable Name"
    "Here you can write a code to select the value from Infocube table and Loop it in a work area"    
    Loop it_tab INTO wa
         concatenate S_date  s_tstmp into s_val_new separated by space.
          l_s_range-low = s_val_new.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
    END LOOP
    Note: l_s_range is a structure and holds a single line whereas E_T_range stands for internal table and have multiple values . in customer exit (used for variable ) holds the derived value for the variable .
    You can go to query and there u can drag this Characteristic on which you created this custom exit variable

  • How to maintain two sets of separate auto numbered tables?

    Hi everyone,
    Here is what I'm trying to do with FrameMaker and find impossible to do:
    I have to maintain two sets of different tables each starts with number 1 inside the table. So I created two paragraph tags with 'Auto Number' checked and applied to the two different tables. But the result is not what I want: the number inside one table continues from the other one, instead of 1, 2, 3, 4, ... and 1, 2, 3, 4... It is 1, 2, 3, 4...
    Am I doing anything wrong here? Must be, for it doesn not work.
    Thanks for any help.

    You're not doing anything wrong, just perhaps missing some of the details. FM autonumbering is a joy to work with once you've got the hang of it, and/but different from most other approaches. (and by "different", I don't just mean flexible and reliable)
    Broadly speaking, I'd say you have two options:
    define two styles for the numbering you use inside tables, let's say TableNumberStart and TableNumberContinue. Define autonumbering so that TableNumberStart uses <n=1> and TableNumberContinue uses <n+1>
    This works because you've made the extra effort yourself.
    use one style – let's say TableAnchor – to anchor each table, and another style – let's say TableNumber – for the numbering you use inside tables. Define autonumbering so that TableAnchor uses < =0>, and TableNumber uses <n+1>.
    This works because you've asked FM to make the effort for you :-} TableAnchor resets the counter to zero, and TableNumber increments it as required. Note: in the definition < =0> the space before the equals sign is essential. It keeps the counter from displaying on the page.
    While you're experimenting, read up on Series labels – so you can manage separate numbering for, say, tables and figures. And on Building blocks – I was so impressed the first time I managed to use numbered heading styles to reset numbering in a list …
    HTH

  • How to display two lables in alv report

    Is there any chance to display two lables in alv report
    for example..
    AMOUNT
    Rs | Ps
       |
    like that this for an example.
    thanks,
    JB

    Hai Babu
    Go through the following Code
    using Classes & Methods
    try with the following Code( Just copy the code & try with in SE38 Tcode & Execute it that all)
    REPORT ZALV_SALES_HEADER_DETAIL MESSAGE-ID Z50650(MSG) .
    TABLES
    TABLES: VBAK . "SALES DOCUMENT HEADER
    DATA OBJECTS DECLARATION
    DATA: IT_VBAK TYPE STANDARD TABLE OF ZVBAK_STRUC,
    IT_VBAP TYPE STANDARD TABLE OF ZVBAP_STRUC,
    GS_LAYOUT TYPE LVC_S_LAYO,
    GS1_LAYOUT TYPE LVC_S_LAYO,
    GRID TYPE REF TO CL_GUI_ALV_GRID,
    CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
    VBAK_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
    VBAP_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
    WA_VBAK LIKE LINE OF IT_VBAK,
    WA_VBAP LIKE LINE OF IT_VBAP,
    SPLITTER TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
    TOP_OF_PAGE_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
    GRID_VBAP TYPE REF TO CL_GUI_ALV_GRID,
    TOP_PAGE TYPE REF TO CL_DD_DOCUMENT,
    FLAG(1).
    *"EVENT RECIEVER CLASS DEFINITION
    CLASS LCL_EVENT_RECIEVER DEFINITION DEFERRED.
    DATA: OBJ_EVENT TYPE REF TO LCL_EVENT_RECIEVER.
    SELECTION-SCREEN
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
    PARAMETERS: P_VBTYP LIKE VBAK-VBTYP DEFAULT 'C'.
    SELECTION-SCREEN: END OF BLOCK B1.
    CLASS DEFINITION AND DECLARATIONS
    CLASS LCL_EVENT_RECIEVER DEFINITION.
    PUBLIC SECTION.
    EVENTS:DOUBLE_CLICK,
    TOP_OF_PAGE.
    METHODS:HANDLE_DOUBLE_CLICK FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID
    IMPORTING E_ROW .
    METHODS: HANDLE_TOP_OF_PAGE FOR EVENT TOP_OF_PAGE OF CL_GUI_ALV_GRID.
    ENDCLASS. "LCL_EVENT_RECIEVER DEFINITION
    CLASS LCL_EVENT_RECIEVER IMPLEMENTATION
    CLASS LCL_EVENT_RECIEVER IMPLEMENTATION.
    METHOD: HANDLE_DOUBLE_CLICK.
    READ TABLE IT_VBAK INDEX E_ROW-INDEX INTO WA_VBAK.
    PERFORM FETCH_ITEM_DETAILS USING WA_VBAK.
    PERFORM ALV_GRID.
    ENDMETHOD. "HANDLE_DOUBLE_CLICK
    METHOD: HANDLE_TOP_OF_PAGE.
    CALL METHOD TOP_PAGE->ADD_TEXT
    EXPORTING
    TEXT = 'SALES HEADER & ITEM DETAILS'.
    CALL METHOD TOP_PAGE->DISPLAY_DOCUMENT
    EXPORTING
    PARENT = TOP_OF_PAGE_CONTAINER.
    ENDMETHOD. "HANDLER_TOP_OF_PAGE
    ENDCLASS. "LCL_EVENT_RECIEVER IMPLEMENTATION
    AT SELECTION-SCREEN
    AT SELECTION-SCREEN.
    IF S_VBELN IS NOT INITIAL.
    SELECT COUNT(*)
    FROM VBAK
    WHERE VBELN IN S_VBELN.
    IF SY-DBCNT = 0.
    MESSAGE E000 WITH 'NO TABLE ENTRIES FOUND FOR LOW KEY SPECIFIED'.
    ENDIF.
    ENDIF.
    START-OF-SELECTION.
    START-OF-SELECTION.
    PERFORM FETCH_SALES_HEADER_RECORD.
    PERFORM CREATE_CALL. "CREATION OF OBJECTS & CALLING METHODS
    END-OF-SELECTION.
    END-OF-SELECTION.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'ZSTATUS'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Form FETCH_SALES_HEADER_RECORD
    text
    --> p1 text
    <-- p2 text
    FORM FETCH_SALES_HEADER_RECORD .
    SELECT
    VBELN
    AUDAT
    VBTYP
    AUART
    AUGRU
    NETWR
    WAERK
    FROM VBAK
    INTO CORRESPONDING FIELDS OF TABLE IT_VBAK
    WHERE VBELN IN S_VBELN
    AND VBTYP = P_VBTYP.
    ENDFORM. " FETCH_SALES_HEADER_RECORD
    *& Form CREATE_CALL
    text
    --> p1 text
    <-- p2 text
    FORM CREATE_CALL .
    IF CUSTOM_CONTAINER IS INITIAL.
    CREATE OBJECT CUSTOM_CONTAINER
    EXPORTING
    PARENT =
    CONTAINER_NAME = 'CUSTOM_CONTAINER'
    STYLE =
    LIFETIME = lifetime_default
    REPID =
    DYNNR =
    NO_AUTODEF_PROGID_DYNNR =
    EXCEPTIONS
    CNTL_ERROR = 1
    CNTL_SYSTEM_ERROR = 2
    CREATE_ERROR = 3
    LIFETIME_ERROR = 4
    LIFETIME_DYNPRO_DYNPRO_LINK = 5
    OTHERS = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CREATE OBJECT SPLITTER
    EXPORTING
    TOP = 5
    PARENT = CUSTOM_CONTAINER
    ROWS = 3
    COLUMNS = 1
    EXCEPTIONS
    CNTL_ERROR = 1
    CNTL_SYSTEM_ERROR = 2
    OTHERS = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD SPLITTER->GET_CONTAINER
    EXPORTING
    ROW = 1
    COLUMN = 1
    RECEIVING
    CONTAINER = TOP_OF_PAGE_CONTAINER.
    CALL METHOD SPLITTER->GET_CONTAINER
    EXPORTING
    ROW = 2
    COLUMN = 1
    RECEIVING
    CONTAINER = VBAK_CONTAINER.
    CALL METHOD SPLITTER->GET_CONTAINER
    EXPORTING
    ROW = 3
    COLUMN = 1
    RECEIVING
    CONTAINER = VBAP_CONTAINER.
    CREATE OBJECT GRID
    EXPORTING
    I_SHELLSTYLE = 0
    I_LIFETIME =
    I_PARENT = VBAK_CONTAINER
    I_APPL_EVENTS = space
    I_PARENTDBG =
    I_APPLOGPARENT =
    I_GRAPHICSPARENT =
    I_NAME =
    EXCEPTIONS
    ERROR_CNTL_CREATE = 1
    ERROR_CNTL_INIT = 2
    ERROR_CNTL_LINK = 3
    ERROR_DP_CREATE = 4
    OTHERS = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    GS_LAYOUT-GRID_TITLE = 'SALES HEADER DETAILS.'(100).
    CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME = 'ZVBAK_STRUC'
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    IS_LAYOUT = GS_LAYOUT
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    IT_TOOLBAR_EXCLUDING =
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    CHANGING
    IT_OUTTAB = IT_VBAK
    IT_FIELDCATALOG =
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR = 2
    TOO_MANY_LINES = 3
    OTHERS = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    CREATE OBJECT OBJ_EVENT .
    SET HANDLER OBJ_EVENT->HANDLE_DOUBLE_CLICK FOR GRID.
    SET HANDLER OBJ_EVENT->HANDLE_TOP_OF_PAGE FOR GRID.
    CREATE OBJECT TOP_PAGE
    EXPORTING
    STYLE = 'ALV_GRID'
    CALL METHOD TOP_PAGE->INITIALIZE_DOCUMENT.
    CALL METHOD GRID->LIST_PROCESSING_EVENTS
    EXPORTING
    I_EVENT_NAME = 'TOP_OF_PAGE'
    I_DYNDOC_ID = TOP_PAGE.
    CALL SCREEN 100.
    ENDFORM. " CREATE_CALL
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Form FETCH_ITEM_DETAILS
    text
    --> p1 text
    <-- p2 text
    FORM FETCH_ITEM_DETAILS USING WA_VBAK TYPE ZVBAK_STRUC .
    SELECT
    VBELN
    POSNR
    MATNR
    MATWA
    PMATN
    CHARG
    FROM VBAP
    INTO TABLE IT_VBAP
    WHERE VBELN = WA_VBAK-VBELN.
    IF SY-SUBRC <> 0.
    MESSAGE E000 WITH 'NO RECORDS FOUND FOR SPECIFIED KEY'.
    ENDIF.
    ENDFORM. " FETCH_ITEM_DETAILS
    *& Module STATUS_0200 OUTPUT
    text
    MODULE STATUS_0200 OUTPUT.
    SET PF-STATUS 'ZSTATUS'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0200 OUTPUT
    *& Module USER_COMMAND_0200 INPUT
    text
    MODULE USER_COMMAND_0200 INPUT.
    CASE SY-UCOMM.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0200 INPUT
    *& Form alv_grid
    text
    --> p1 text
    <-- p2 text
    FORM ALV_GRID .
    IF FLAG = ''.
    FLAG = 'X'.
    CREATE OBJECT GRID_VBAP
    EXPORTING
    I_SHELLSTYLE = 0
    I_LIFETIME =
    I_PARENT = VBAP_CONTAINER
    I_APPL_EVENTS = space
    I_PARENTDBG =
    I_APPLOGPARENT =
    I_GRAPHICSPARENT =
    I_NAME =
    EXCEPTIONS
    ERROR_CNTL_CREATE = 1
    ERROR_CNTL_INIT = 2
    ERROR_CNTL_LINK = 3
    ERROR_DP_CREATE = 4
    others = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    GS1_LAYOUT-GRID_TITLE = 'SALES ITEM DETAILS.'(100).
    CALL METHOD GRID_VBAP->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME = 'ZVBAP_STRUC'
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    IS_LAYOUT = GS1_LAYOUT
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    IT_TOOLBAR_EXCLUDING =
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    CHANGING
    IT_OUTTAB = IT_VBAP
    IT_FIELDCATALOG =
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR = 2
    TOO_MANY_LINES = 3
    OTHERS = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " alv_grid
    Thansk & regards
    Sreenivasulu P

  • Is it possible to have two sets of itunes on one computer.

    hey,
    I had a ipod mini and i sent it to the ipod shop to be repaired when it broke. When i got it back i gave it to my sister and bought a new video 30GB ipod for myself. i was wondering how to set up two sets of itunes from my computer and whether it can be done. i used my old itunes and was able to put songs on my new 30GB ipod but when i logged into my computer in another account and tried to put songs from a different itunes on the mini ipod it wouldnt let me. im very confused and im not sure what to do. The mini ipod doesnt have any songs and is brand new. i want to know a way that i can have a seperate itunes for the mini ipod and a seperate itunes for the 30GB ipod.
    thanks
    30GB and 4GB   Windows XP  

    Hi Tigerlily89,
    welcome to Apple Discussions,
    I would suggest that you don't have your iPod set to automatically download all your contents of iTunes to your iPod, this way you are free to control what goes onto each of your iPods from the same Library.
    When your iPod is connected to your computer and appears in iTunes goto Preferences iTunes and select iPod. You should see a little box at the bottom with words Enable Disk Use.
    Tick this box.
    You should see that your iPod's contents in iTunes has now turned black rather than grey. This means that you can now manually drag songs out of your iTunes Library onto your mounted iPod icon on the side of your iTunes.
    Eject your iPod via the little eject symbol to the right of your iPod pic in iTunes.
    Now connect your Mini to your computer and wait.
    Now drag from your main iTune library whatever you wish into the iPod Mini little pic.
    You can delete whatever you want to off your iPods by just clicking on the icon then viewing the contents of the iPodusing the top right Browse button.
    Hop this helps you.
    Phil

  • I have multiple apple devices mainly used between me and my wife , my question is that can i have two sets of contacts backed up to icloud one for her devices and one for my devices using the same itunes account

    i have two sets of devices one ipad, iphone and mac which i use and one iphone ipad and mac which my wife uses
    now is it possible to have two sets of contacts and calendar synchronised for her devices and one for my devices using the same icloud account
    i dont want a separate itunes account as we use the same music books and apps to be automatically downloaded which is very convenient
    please guide

    You can set up different iCloud accounts on each device using different Apple IDs (to keep your mail, calendars, contacts, etc. separated), and still share the same iTunes account (in Settings>Store on your device).  There is no requirement that you use the same Apple ID for purchases and for iCloud.

  • In Tools/Account Settings/Disk Space I have changed the setting to "To save disk space do not download messages larger than 1000KB", but all are truncated.

    This occurred a few months ago when I changed the Disk Space setting to "To save disk space do not download messages larger than 1000KB".
    Since then Thunderbird has truncated every message I've received no matter what the size.
    Not your fault, but made much more annoying because my server, Telstra (Australia) does not let me read more than two or three messages at a time without a delay, whereas if messages under 1000KB appear in my inbox automatically I do not have this problem.
    Would really appreciate a solution, as when I've been away from my emails I can have a number accumulate and it wastes valuable work time waiting to download them.
    thanks, Wendy

    hi Matt, or someone else
    Only rarely do I get an email larger than 1000kb. But not matter how small the email, even if only a few kb, Thunderbird truncates every single one, and after I have "untruncated" a few emails, the server refuses to let me untruncate any more for a few minutes. I have used the Thunderbird Disk Save tool for years previously with no problems, and I think this happened when I changed it from 500 to 1000kb a few weeks ago (may have been due to a Mozilla update). I truncate large files because I pay $45/month for 4GB of usage, with absolutely no option to Telstra because I live in the bush in Queensland and Telstra wireless is our only choice for broadband. I use Windows Security Essentials and don't know how to turn off email scanning in it if indeed it does scan my emails (have always assumed it does, but can't find a way to see if it is). In any case I wouldn't want to have this feature off permanently. This problem with truncating all emails has occurred after I started to use Windows Security Essentials. Any more targetted thoughts please to what I've explained above.

  • Remove "display in external browser" button

    Hello, I'm working on setting up OHJ for my company and I was wondering if there is any way to remove the "display in external browser" button from the viewer window.
    We would use the help class instead since it doesn't have this button, but we need the ability to link to pdf's and that only seems available in viewer. Also I want to remove the button because we store our help files in jar's and for some reason the "display in external browser" only works with help files that are not in jar's.
    Any help would be greatly appreciated
    Message was edited by:
    ahobaugh - typo in the thread subject

    Yeah, there's a problem with the combination of 6.7.1 and Java 7 javadocs. Java 6 docs work for me. I posted to the NB Users forum a week ago, but no response. Here's the post. Add to it and bump it, maybe someone has more info.
    [http://www.nabble.com/NB-6.7.1-Javadoc-Index-Search-not-working-w-JDK-7b67-Javadoc-to24882301.html#a24882301]
    What you describe I also see.
    Move any further discussion to NB forums, not here.

  • Displaying a set of records using jstl

    hi i am new to jstl.my requirement is i want to display a set of records from my database using jstl.for eg i want to display 50 records per page and i want to navigate to other records using next and prevoius buttons and i need to put view and edit buttons in that page.can anybody give me a solution for this.urgent

    You may try the paging taglib ...
    http://www.servletsuite.com/servlets/pagertag.htm

  • Display brightness setting doesn't stick on power cycle

    The display brightness setting doesn't seem to stick during power cycles on my new 13" i7, it almost always sets itself to full brightness when I turn it on. This isn't really a huge deal but it is kind of a nuisance as I typically keep it around half, why should I be turning it back down every time I boot up???.
    I have un-checked the box through settings for adjusting brightness based on ambient light, and made sure it is in fact staying un-checked.
    I have also reset PRAM a few times now which seems to provide a temporary fix only. After a day or two it's back to square one again.
    Any ideas, or is this a bug that there's currently no fix for?

    Quote from: zankou on 11-June-13, 23:02:54
    Hi, I have recently bought GE60-0ND notebook with Win8 preinstalled which I got rid of in a second I got home, reinstalled with my licensed Win7. Half of things didn't work so I flashed the correct firmware. From that point on everything works perfectly, only brightness control is broken. I simply cannot control my monitor's brightness with my special keys nor in power control setup. So I googled.. and some smart guy recommended a bios flash as well. But when I try, it says either "Problem getting flash information" or "Problem getting bios information".
    Any thoughts how to get the brightness control work?
    Thanks for any kind of advice 
    Did you switch the BIOS and the EC Firmware to the Windows 7 counterparts?
    You may want to ask Svet about that error.

  • How to display two "columns" in combobox?

    Hi,
    I need to display two strings for each row of a combobox. Say string array str1 = {"abc", "aw", "axz12"}, str2 = {"12.1", "33.123", "5.06612"}. Now I want to display them in a combo box as a "table with 2 columns", i.e. when the drop down menu is clicked, it will show something like a table (with or w/o borders)
    abc 12.1
    aw 33.123
    axz12 5.06612
    if the first one is selected, it will show "abc 12.1". I could use jcomboboxA.addItem(str1[i] + " " + str2), but it does not show nicely -- not as a table. Is there any way to do it?
    Thanks!
    Harvey

    Thanks for the answer to the first question. Though if I include the list.setFont() method in the getListCellRendererComponent or in the custom UI i've created, I still get monospaced data.
    As for the second one about getting long data to display correctly
    I already changed the tabstop location from right to left and all data appears fine for most of the elements in the list, but if the text is very long for the second column, the long text values in the 2nd column smash up against the values in the first column. (I wish I could provide a screen print here... a thousand words and all that). Here's what the data looks like in the list:
    aa's really really really really really long description
    x x's description
    y y's description
    zz's really really really really long description
    I've already resized the popup list so there's plenty of room to show the long text. I'll paste the code here so you can see exactly what I've got. I give the combobox 2 string arrays, one for codes & one for descriptions. combo.getText() needs to give JUST the code. The popup window stuff is mostly cut & paste (probably from camikr's other posting), so I'm not sure if the difficulty is there... I cannot profess to understand each line.
    Thanks all, for any input...
    public class CustomComboBox extends JComboBox {
        public int _maxdatawidth = 0;
        private int size;
        public CustomComboBox(Object[] codes, Object[] names) {
            size = codes.length;
            int textlength = 0;
            String data [][] = new String[size][2];
            for (int i = 0; i < size; i++) {
                data[0] = (String) codes[i];
    data[i][1] = (String) names[i];
    if (data[i][1].length() > textlength)
    textlength = data[i][1].length();
    // create a customized model for getting selected item.
    DefaultComboBoxModel model = new DefaultComboBoxModel(data);
    this.setModel(model);
    setRenderer(new TabListRenderer());
    // set the maxwidth for popup size
    FontMetrics fm = this.getFontMetrics(this.getFont());
    // give 20% buffer to make sure the popup is big enough
    _maxdatawidth = Math.round((textlength) * fm.charWidth('W') * 1.20F);
    // select the first item by default
    // must select the item before setting the UI to show the default.
    // ttcp 7/1 trying to select item. >>> NOT working.
    this.getModel().setSelectedItem(data[1]);
    this.getModel().setSelectedItem(data[0]);
    // this.setSelectedItem(data[0]);
    // set the UI
    setUI(new CustomComboBoxUI(this));
    // select the first item by default
    // this.setSelectedItem(data[0]);
    // this.setSelectedIndex(0);
    // this.setSelectedIndex(0);
    public Object getSelectedData() {
    Object loReturn = null;
    loReturn = super.getSelectedItem();
    if (loReturn instanceof Object[]) {
    Object[] selecteddata = (Object[]) loReturn;
    if (selecteddata.length > 0)
    loReturn = selecteddata[0];
    else {
    loReturn = null;
    return loReturn;
    class TabListRenderer extends JTextPane implements ListCellRenderer {
    private static final int TAB_COLUMN = 12;
    private Color background = UIManager.getColor("ComboBox.selectionBackground");
    private Color foreground = UIManager.getColor("ComboBox.selectionForeground");
    // private Font font = UIManager.getFont("List.font");
    TabListRenderer() {
    setMargin(new Insets(0, 0, 0, 0));
    // can't seem to get the font NOT monospaced.
    setFont(new Font("Dialog", Font.PLAIN, 11));
    FontMetrics fm = getFontMetrics(getFont());
    int tabWidth = fm.charWidth('w') * TAB_COLUMN;
    TabStop tab = new TabStop(tabWidth, TabStop.ALIGN_RIGHT, TabStop.LEAD_NONE);
    TabStop[] tabs = new TabStop[1];
    tabs[0] = tab;
    TabSet tabSet = new TabSet(tabs);
    SimpleAttributeSet attributes = new SimpleAttributeSet();
    StyleConstants.setTabSet(attributes, tabSet);
    getStyledDocument().setParagraphAttributes(0, 0, attributes, true);
    setPreferredSize(new Dimension(tabWidth, fm.getHeight()));
    public Component getListCellRendererComponent(
    JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
    String leftData = ((String[]) value)[0];
    String rightData = ((String[]) value)[1];
    setText(leftData + "\t" + rightData);
    setBackground(isSelected ? background : null);
    setForeground(isSelected ? foreground : null);
    return this;
    class CustomComboBoxUI extends MetalComboBoxUI {
    final CustomComboBox _box;
    public CustomComboBoxUI(final CustomComboBox pobox) {
    super();
    _box = pobox;
    protected ComboPopup createPopup() {
    BasicComboPopup popup = new BasicComboPopup(comboBox) {
    public void show() {
    Dimension popupSize = _box.getSize();
    popupSize.setSize(_box._maxdatawidth, getPopupHeightForRowCount(_box.getMaximumRowCount()));
    Rectangle popupBounds = computePopupBounds(_box.getX(), comboBox.getBounds().height, popupSize.width, popupSize.height);
    scroller.setMaximumSize(popupBounds.getSize());
    scroller.setPreferredSize(popupBounds.getSize());
    scroller.setMinimumSize(popupBounds.getSize());
    list.invalidate();
    int selectedIndex = comboBox.getSelectedIndex();
    if (selectedIndex == -1) {
    list.clearSelection();
    } else {
    list.setSelectedIndex(selectedIndex);
    list.ensureIndexIsVisible(list.getSelectedIndex());
    setLightWeightPopupEnabled(comboBox.isLightWeightPopupEnabled());
    show(comboBox, popupBounds.x, popupBounds.y);
    popup.getAccessibleContext().setAccessibleParent(comboBox);
    return popup;

  • Obiee 11.1.1.6.6 - analysis displays two dates instead of one prompted

    Hi all,
    my analysis somehow displays two dates instead of one prompted.
    How can it be?
    Tell me please what additional information should I include for you to help me.
    obiee 11.1.1.6.6
    Upd: prompt screenshots
    http://marchello.ccx-grads.org/img/BI_prompt_001.png
    http://marchello.ccx-grads.org/img/BI_prompt_002.png

    This is from "Administration" -> "Manage Sessions" section of obiee
    1) everything seems fine, WHERE clause shows correct date
    SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/VB/8.RB-213.BI.1';SELECT
       0 s_0,
       "VB"."VBIREP8"."AASYSDATE" s_1,
       "VB"."VBIREP8"."ADAY" s_2,
       "VB"."VBIREP8"."AMONTH" s_3,
       "VB"."VBIREP8"."ARCDATE" s_4,
       "VB"."VBIREP8"."AYEAR" s_5,
       "VB"."VBIREP8"."CONTRAGENTID" s_6,
       "VB"."VBIREP8"."CONTRAGENTNAME" s_7,
       "VB"."VBIREP8"."CREDITS" s_8,
       "VB"."VBIREP8"."DEPOSITARY" s_9,
       "VB"."VBIREP8"."DEPOSITS" s_10,
       "VB"."VBIREP8"."IDENTIFYCODE" s_11,
       "VB"."VBIREP8"."OVERDAY30" s_12,
       "VB"."VBIREP8"."RESTRUCTURED" s_13,
       "VB"."VBIREP8"."SEGMENT" s_14,
       "VB"."VBIREP8"."STATUS" s_15,
       "VB"."VBIREP8"."TOBO" s_16
    FROM "VB"
    WHERE
    (CAST("VBIREP8"."ARCDATE" AS DATE) = date '2013-08-15')
    ORDER BY 1, 3 ASC NULLS LAST, 4 ASC NULLS LAST, 6 ASC NULLS LAST, 5 ASC NULLS LAST, 7 ASC NULLS LAST, 8 ASC NULLS LAST, 12 ASC NULLS LAST, 15 ASC NULLS LAST, 16 ASC NULLS LAST, 9 ASC NULLS LAST, 14 ASC NULLS LAST, 13 ASC NULLS LAST, 11 ASC NULLS LAST, 10 ASC NULLS LAST, 17 ASC NULLS LAST, 2 ASC NULLS LAST
    FETCH FIRST 100000001 ROWS ONLY
    2) and now attention, I press "next rows" arrow, my WHERE clause is simply ABSENT! 
    SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/VB/8.RB-213.BI.1';SELECT
       0 s_0,
       "VB"."VBIREP8"."AASYSDATE" s_1,
       "VB"."VBIREP8"."ADAY" s_2,
       "VB"."VBIREP8"."AMONTH" s_3,
       "VB"."VBIREP8"."ARCDATE" s_4,
       "VB"."VBIREP8"."AYEAR" s_5,
       "VB"."VBIREP8"."CONTRAGENTID" s_6,
       "VB"."VBIREP8"."CONTRAGENTNAME" s_7,
       "VB"."VBIREP8"."CREDITS" s_8,
       "VB"."VBIREP8"."DEPOSITARY" s_9,
       "VB"."VBIREP8"."DEPOSITS" s_10,
       "VB"."VBIREP8"."IDENTIFYCODE" s_11,
       "VB"."VBIREP8"."OVERDAY30" s_12,
       "VB"."VBIREP8"."RESTRUCTURED" s_13,
       "VB"."VBIREP8"."SEGMENT" s_14,
       "VB"."VBIREP8"."STATUS" s_15,
       "VB"."VBIREP8"."TOBO" s_16
    FROM "VB"
    ORDER BY 1, 3 ASC NULLS LAST, 4 ASC NULLS LAST, 6 ASC NULLS LAST, 5 ASC NULLS LAST, 7 ASC NULLS LAST, 8 ASC NULLS LAST, 12 ASC NULLS LAST, 15 ASC NULLS LAST, 16 ASC NULLS LAST, 9 ASC NULLS LAST, 14 ASC NULLS LAST, 13 ASC NULLS LAST, 11 ASC NULLS LAST, 10 ASC NULLS LAST, 17 ASC NULLS LAST, 2 ASC NULLS LAST
    FETCH FIRST 100000001 ROWS ONLY
    Sure, I receive another date (01.02.2013). Just one thing is strange here - why do I receive only one extra date (I should receive ALL dates in Oracle table when I perform query without any WHERE clause).

  • How to display records when clicking button in alv

    I am using screen painter to create two buttons
    'classical' and 'alv'.
    When i click the first button control should move to
    corresponding classical program.Evan i got the answer
    I am not able to display the "select-options button" in the
    output as in classical report program.
    It displays all records instead of selecting particular records from select-option button.
    So how to display the select option button(i.e in the classical view program) while "clicking the classical button " .
    plz send me the coding....

    hi,
    try this.
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
                     VBELN FOR V_VBELN MODIF ID G2.
    SELECTION-SCREEN END OF SCREEN 100 .
    PAI.
    module mod_name.
    case sy-ucomm.
    when 'BUTT!'.
    call selection-screen 100.
    when 'BUTT2'.
    """"your ALV logic"""".
    endcase.
    endmodule.
    if...any doubts revert back.
    Regards
    Sandeep Reddy

Maybe you are looking for