How to implement a static field with more then one value?

Hello! I'm a novice at swing programming. Please help me to implement a static list like this:
Field_1: Value;
Field_2: Value_1;
              Value_2;
              Value_3;
Field_3: Value;
Field_4: Value;
Values for each field can be added dynamicly. I used for field and value a JLabel component. I have no idea how to move down the bottom string (Field_3) when add a value to Field_2 :(
How is better to implement this list? thanks for all responses!

Maybe you should be using a [url http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html]Combo Box.

Similar Messages

  • Call Transaction and fill a select-options field with more than one value?

    Hello everybody,
    how can I fill a select-options field with more than one value.
    Here is the code example:
      CLEAR: GT_BDCDATA, GS_BDCDATA.
      GS_BDCDATA-program = 'RHALEINI'.
      GS_BDCDATA-DYNPRO = '1000'.
      GS_BDCDATA-DYNBEGIN = 'X'.
      APPEND GS_BDCDATA TO GT_BDCDATA.
      CLEAR: GS_BDCDATA.
      GS_BDCDATA-FNAM = 'PCHOTYPE'.
      GS_BDCDATA-FVAL = 'P'.
      APPEND GS_BDCDATA TO GT_BDCDATA.
      CLEAR: GS_BDCDATA.
      LOOP AT gt_hrobjinfty INTO gs_hrobjinfty.
        GS_BDCDATA-FNAM = 'PCHOBJID-LOW'.
        GS_BDCDATA-FVAL = gs_hrobjinfty-objid.
        APPEND GS_BDCDATA TO GT_BDCDATA.
        CLEAR: GS_BDCDATA.
      ENDLOOP.
      CALL TRANSACTION 'PFAL' USING GT_BDCDATA MODE 'A'
                       MESSAGES INTO GT_MESSAGES.
    THX.

    Hi,
    Please refer the code below:
    *Code used to populate 'select-options' & execute report
    DATA: seltab type table of rsparams,
          seltab_wa like line of seltab.
      seltab_wa-selname = 'PNPPERNR'.
      seltab_wa-sign    = 'I'.
      seltab_wa-option  = 'EQ'.
    * load each personnel number accessed from the structure into
    * parameters to be used in the report
      loop at pnppernr.
        seltab_wa-low = pnppernr-low.
        append seltab_wa to seltab.
      endloop.
      SUBMIT zreport with selection-table seltab
                                    via selection-screen.
    Thanks,
    Sriram Ponna.

  • How can I use the N8 with more then one VOIP-Accou...

    Hello,
    on my older Nokia-phones (N82 and E52) there wasn't a problem to use more then 2 different VOIP-Accounts. Now I have successfully create one VOIP-Account on my N8. The target should be to create an another (different) VOIP-Account and switch to this, if it's necessary. The second VOIP-Account should be a backup-solution ;-)
    Thanks

    OK, so did you try creating a second VOIP account on the N8?  What steps did you try, and what were the results?  If you post specific details, you will get better answers.
    Lumia 920, Lumia 800
    Nokia N8-00 (NAM, Product Code: 059C8T6), Symbian Belle, Type RM-596, 111.030.0609
    Nokia 5800 XpressMusic (NAM, Product Code: 0577454) Software v51.2.007, Type RM-428

  • How do you use Time Machine with more then one mac

    I just bought a new external hard drive and want to back up my iMac & MacBook Pro using Time Machine. But I do not want to use my airport network.
    I will keep the hard drive connected to the iMac, but want to, as needed, plug my MacBook Pro into the Hard drive to back up.
    Is this possible? Do I have first partition the new backup hard drive?
    Any help is appreciated... Jim

    Ok... I am back again.
    I decided to plug my backup drive into the USB port on the Airport extreme.
    On my Macbook Pro, which I connect wirelessly, I was able to start Time Machine... Time Machine saw the backup drive and did a backup.. Yes it took a long time Anyway all is cool with that.
    My iMac is connected to the Airport Extreme by Ethernet. On the iMac when I started Time Machine, it does not see the backup hard drive. I can see and share the hard drive... works fine. But no luck with TM seeing the hard drive on the iMac.
    Questions is will Time Machine work with a computer that is connected to airport extreme by ethernet. If yes how o you set it up and what might be wrong??
    I might mention that the reason I have the iMac connected with an ethernet cable and not wirelessly is because the iMac does not stay connected well to the internet and when it is connected has a very slow connection. My MacBook Pro is all the way across the house and has a great connection.
    I have guessed the slow connection was because the Airport Extreme sits right next to the iMac and maybe there is some kind of interference.
    Thanks.... any help is appreciated.

  • How to read an internal table with more than  one (2 or 3) key field(s).

    how to read an internal table with more than  one (2 or 3) key field(s). in ecc 6.0 version

    hi ,
    check this..
    report.
    tables: marc,mard.
    data: begin of itab occurs 0,
          matnr like marc-matnr,
          werks like marc-werks,
          pstat like marc-pstat,
          end of itab.
    data: begin of itab1 occurs 0,
          matnr like mard-matnr,
          werks like mard-werks,
          lgort like mard-lgort,
          end of itab1.
    parameters:p_matnr like marc-matnr.
    select matnr
           werks
           pstat
           from marc
           into table itab
           where matnr = p_matnr.
    sort itab by matnr werks.
    select matnr
           werks
           lgort
           from mard
           into table itab1
           for all entries in itab
           where matnr = itab-matnr
           and werks = itab-werks.
    sort itab1 by matnr werks.
    loop at itab.
    read table itab1 with key matnr = itab-matnr
                              werks = itab-werks.
    endloop.
    regards,
    venkat.

  • How can I talk with more then one person at a time?

    How can I talk with more then one person at a time? With Faxe time? Is thier software needed to do this or can it be done with the basic package?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • How to generate a certificate request with more than one OU?

    We're using Sun Java System Web Server 6.1 SP4. The Corp. has it's own CA and organize their certificates in a hierarchical rule with more then one organization unit (OU) in a chain.
    So what we need is generate a certificate requeste with more than one OU, but the Web Server wizard has only one text field for it. We've already tried to fill in this field the complete chain of OUs like "ou=orgX, ou=deptY, ou=secZ" and didn't work either.
    Thank's in advance,
    Jeff!

    Do you have tried with the command line "certutil" ?
    #<SERVER-ROOT>/bin/https/admin/bin/certutil

  • How can i use my iphone with more than one itunes

    how can i use my iphone with more than one itunes

    Sync iPod/iPad/iPhone with two computers
    Although it isn't possible to sync an Apple device with two different libraries it is possible to sync with the same logical library from multiple computers. Each library has an internal ID and when iTunes connects to your iPod/iPad/iPhone it compares the local ID with the one the device normally syncs with. If they are the same you can go ahead and sync...
    I have my library cloned to a small 1Tb USB drive which I can take between home & work. At either location I use SyncToy 2.1 to update the local copy with the external drive. Mac users should be able to find similar tools. I can open either of the local libraries or the one on the external drive and update the media content of my iPhone. The slight exception is Photos which normally connects to a specific folder on a specific machine, although that can easily be remapped to the current library if you create a "Photos" folder inside the iTunes Media folder so that syncing the iTunes folders keeps this up to date as well. I periodically sweep my library for new files & orphans with iTunes Folder Watch just in case I make changes at one location but then overwrite the library with a newer copy from the other. Again Mac users should be able to find similar tools.
    As long as your media is organised within an iTunes Music or Tunes Media folder, in turn held inside the main iTunes folder that has your library files (whether or not you let iTunes keep the media folder organised) each library can access items at the same relative path from the library folder so the library can be at different drives/paths on different machines. This solution ensures I always have adequate backups of my library and I can update my devices whenever I can connect to the same build of iTunes.
    When working with an iPhone earlier builds of iTunes would remove any file not physically present in the local library, even if there was an entry for it, making manual management practically redundant on the iPhone. This behaviour has been changed but it will still only permit manual management with a library that has the correct internal ID. If you don't want to sync your library between machines on a regular basis just copy the iTunes Library.itl file from the current "home" machine to any other you want to use, then clean out the library entries and import the local content you have on that box.
    tt2

  • How do I share my contacts with more than one group? I really don't want to have re-type them into a different group. Help!

    How do I share my contacts with more than one group without having to re-type them into each group?

    Without "pretending" to be yourself on the other phone (change settings) there's nothing else you can do.
    iOS devices are meant to be single user and can't view iCloud.com the same way a Mac or PC can do.
    You need to find a desktop or laptop machine (Mac or PC) to log in at iCloud.

  • Fill BEx Variable with more than one value via Custom Exit

    Dear SDN comunity,
    I want to fill a BEx Variable via a custom exit. My problem is, I don't know how to fill this variable with more than one value.
    I try to give you some background info based on an exaple:
    <u><b>Variable-Details</b></u>
    <b>Type of Variable:</b> Characteristic Value
    <b>Variable Name:</b> ZCCD
    <b>Description:</b> Company Code Selection
    <b>Processing by:</b> Custom Exit
    <b>Characteristic:</b> Company Code
    <b>Variable Represents:</b> Multiple Single Values
    <u><b>This is the used ABAP code:</b></u>
    WHEN 'ZCCD'.
    CLEAR l_s_range.
    l_s_range-low = '2002;2004'.
    l_s_range-sign = 'I'.
    l_s_range-sign = 'EQ'.
    APPEND l_s_range TO e_t_range.
    <u><b>The system returns this message:</b></u>
    Value "2002;2004" is too long for variable ZCCD
    appreciate your help!
    //michael

    Eugene, Marcus
    it works now, thx a lot!
    Please find attached the final code:
    CLEAR l_s_range.
    l_s_range-low = '2002'.
    l_s_range-sign = 'I'.
    l_s_range-<b>opt</b> = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR l_s_range.
    l_s_range-low = '2004'.
    l_s_range-sign = 'I'.
    l_s_range-<b>opt</b> = 'EQ'.
    APPEND l_s_range TO e_t_range.
    (Delta to Marcus's code is bold)

  • How to create a service call for more then one item

    Hi All,
            How to create a service call for more then one item. i.e. the service call should be logged for more then one item

    As you noticed this is not possible by design.
    Maybe you could have a dummy item for that purpose and register the real items to be handled in a UDT...
    HTH

  • I have a mac book pro and when I turned on iChat it would not let me video chat with more then one person even though I was able to in the past. It only showed an icon to video chat with one person. Please help!!

    I have a mac book pro and when I turned on iChat it would not let me video chat with more then one person even though I was able to in the past. It only showed an icon to video chat with one person. Please help!!!! ASAP

    Hi,
    Check the iChat Menu > Preferences > Video Section > Bandwidth setting.
    iChat needs to see a Minimum of 128kbps to do 1-1 chats in Video
    For 3 and 4 way chats it needs 384kbps
    Set the Bandwidth to 500kbps if it is set lower.
    Also check the speed you are getting from your Internet supplier.
    9:28 PM      Thursday; February 23, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Transformations with more then one source data structure?

    Hi,
    is there a best practice to include more then one data source (e.g. DSO, InfoSource, ...) in a transformation?
    My approach was to merge the needed sources by creating an InfoSet. Afterwords I took this InfoSet as source for the transformation.
    Is this the recommended approach? Are there alternatives to this approach? Pros and cons?
    Regards,
    Axel

    Hi,
    as I unterstood a virtual characteristic is computed when you query the data. In our case we'd also like to export the data via open hub instead of only querying it, so the value would stay empty. Is this correct? Works a virtual characteristic with a third party analysis tool like Cognos?
    So implementing a custom extractor in R/3 would be the recommendation?
    Currently I've implemented the scenario via left outer joins in the InfoSet with an additional abap routine in the transformation to determine the right material number. The big downside of this approach is probably bad performance with big tables, that delta extraction isn't possible from an InfoSet and more data as needed for reporting has to be loaded (lookup tables). Right? The only upside I can see with this solution is that after joining the tables only a few if statements are needed in the ABAP-Routine to do the job.

  • XML Publisher with more then one VO

    Hi;
    I have a requirement to show a custom PDF report on click of a button in a custom OAF page. so with the help of [http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework|http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework] I am able to prepare a xml publisher PDF report with single VO(select query) where as in my requirement I required to write more then one VO(select querys). Can anybody give some ideas how to proceed?
    GsrC.

    hi;
    i have multiple viewObject and i did what you said and i generated the XML file
    but the problem i have that
    the generated xml file was
    <Msat>
    <MasterVO>
    <MasterVORow>
         <BidValidUntil></BidValidUntil>
         <AdvancePayment>5051</AdvancePayment>
         <Duration>99</Duration>
         <PaymentType>%</PaymentType>
         <GroupName></GroupName>
    </MasterVORow>
    </MasterVO>
    *<SupplierNameVO>*
    *<SupplierNameVORow>*
    *<Segment1></Segment1>*
    *<VendorName></VendorName>*
    *<VendorId></VendorId>*
    *</SupplierNameVORow>*
    *</SupplierNameVO>*
    </Msat>
    but i want to be in this form
    <MSat>
    <MasterVO>
    <MasterVORow>
         <BidValidUntil></BidValidUntil>
         <AdvancePayment>5051</AdvancePayment>
         <Duration>99</Duration>
         <PaymentType>%</PaymentType>
         <GroupName></GroupName>
    *<SupplierNameVO>*
    *<SupplierNameVORow>*
    *<Segment1></Segment1>*
    *<VendorName></VendorName>*
    *<VendorId></VendorId>*
    *</SupplierNameVORow>*
    *</SupplierNameVO>* </MasterVORow>
    </MasterVO>
    </MSat>
    how can i do that if each <suuplier>and <master>are from differnt views and when i tried to use XML>appendChild()
    it gave me this error message
    oracle.xml.parser.v2.XMLDOMException: cannot add a node belonging to a different document
    do any one know the solution for this problem
    thx

  • Linking One table with more then one tablespace

    Hi,
    Can anybody help to link one table to more then one tablespace?
    Thanks in advance.

    If the table is not partitionned you cannot store a table in different tablespaces. If the table is partitionned you can store each partition in a different tablespace. Example from 10.2 Data Warehousing Guide:
    CREATE TABLE sales_composite
    (salesman_id  NUMBER(5),
    salesman_name VARCHAR2(30),
    sales_amount  NUMBER(10),
    sales_date    DATE)
    PARTITION BY RANGE(sales_date)
    SUBPARTITION BY HASH(salesman_id)
    SUBPARTITION TEMPLATE(
    SUBPARTITION sp1 TABLESPACE ts1,
    SUBPARTITION sp2 TABLESPACE ts2,
    SUBPARTITION sp3 TABLESPACE ts3,
    SUBPARTITION sp4 TABLESPACE ts4)
    (PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','MM/DD/YYYY'))
    PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','MM/DD/YYYY'))
    PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','MM/DD/YYYY'))
    PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','MM/DD/YYYY'))
    PARTITION sales_may2000 VALUES LESS THAN(TO_DATE('06/01/2000','MM/DD/YYYY')));Edited by: P. Forstmann on 13 févr. 2010 09:08

Maybe you are looking for

  • Web service control manager

    Hi, I have created a Gateway in WebService Control manager. I have registered a service with the gateway. Now when I am testing with test page..it is throwing error "Failed to read WSDL from http://192.168.44.85:8888/TestGateway/services/SID0003002?w

  • SAP IDOC's, interfaces and BAPI's

    Hi i am new to SD, can anyone give me documentation or reading material for SAP IDOC's, interfaces and BAPI's . Help would be greatly appreciated. Thanking you

  • WAS ABAP+J2EE - Portal - client copy

    I have installed a WAS ABAP and now doing the J2EE add-In. Do i have to make a different client. The sapinst asks for a rfc connection to a client , the default is 000. Which can be ok for using the abap programs but afterwards I need to install the

  • Web pages sometimes won't stop running

    Please help me with this issue I have been having for a long time. Often when I open a web page it will keep running/loading multiple times, rather than stopping after loading once. This sometimes causes lag when I'm trying to scroll down the page. M

  • TS1424 I purchased a game, then deleted it because it was 'blocky' re-installed it, but it's saying I haven't paid for it! But I have!! :-(

    I purchased a game from the iTunes store, but had to delete it as it was too 'blocky' I re-installed it after signing in again, but I was told I had not paid for it! Although I have the receipt in my hotmail :-(. I don't want to pay twice!