Arrows in a text field / Common scroll for a jlist and a graphic field

I am developing a software which requires me to dynamically add arrows from one list entry to another(depending on the users respone) in a jlist.
Is there any method to do that directly or by means of two parralel fields(one for the list and other for the arrows) controlled by a single scroll????
Cheers!!!

I don't understand the question, but read the Swing tutorial on "How to Use Lists" which shows the proper way to add and remove items from a JList:
http://java.sun.com/docs/books/tutorial/uiswing/components/list.html
If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)", that demonstrates the incorrect behaviour.
http://homepage1.nifty.com/algafield/sscce.html
Don't forget to use the "Code Formatting Tags", so the posted code retains its original formatting.
http://forum.java.sun.com/help.jspa?sec=formatting

Similar Messages

  • Is it possible to highlight text in Apple Mail for incoming mails and outgoing mails?

    Is it possible to highlight text in Apple Mail for incoming mails and outgoing mails?

    If you mean that you wish to highlight messages from certain people or domain names, then if you select Preferences under 'Mail' (top left hand corner next to the Apple logo when you're in the mail application) and then select the right hand icon marked 'rules', then click on Add Rule and hopefully the rest is fairly self explanatory.
    Best of luck

  • User exit for Pop-Up text Header Note II for transactions VA02 and VA03

    Hi ,
    Need  new user exit to call text pop-up functionality (used in standard at sales order creation) when modifying or displaying a sales order (VA02 / VA03)
    Text ID: ZX02
    Text Object: VBBK
    Text procedure: X1
    Access sequence: 6002
    Text is always shown at creation if exists for the SOLD-TO in the sold-to language, and is defined in customizing as to be displayed : V_TTXER_N-TXPFL = 'Y' or 'Z'
    This is checked in RV_TEXT_COPY
    NOTE: Present while creating the sales order , popup is coming to add the text.Same pop up required for VA02/VA03 transaction.
    Reason: all orders are entered via EDI . In these cases the info from the text is not displayed.
    Pl. let me know the user exit for above requirement.
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 13, 2011 1:50 PM

    How do you know "ECOM Order"?
    What constitutes a "HOLD"?
    I'd do something like:
    In USEREXIT_SAVE_DOCUMENT_PREPARE (SAVE has been pressed at this point and SAVE_DOCUMENT is to fire off other processes, etc).
    IF sy-tcode eq 'VA01' or sy-tcode eq 'VA02'.
      if vbak-something (identify your ECOM order)
        loop at vbap transporting no fields (Think it's back to VBAP at this point)
        where... (look for your hold indicator in every row)
      endloop.
    if sy-subrc eq 0. "found the hold
    message innn(class) display like 'E'.
    endif.
    endif.
    endif.
    Be VERY careful with ANYTHING that you put into SAVE_DOCUMENT exit form.

  • Store common date for the sales and related subsequent rebates credit memo

    Hi,
      Iam working one object for  Reporting Date in COPA.
    User Exit :  COPA0005
    Function Exit : EXIT_SAPLKEII_001
       This user exit will be triggered for all PA posings in COPA.
    in this exit import parameter is i_item and  export parameter is E_item.
    There is no information for i_item,E_item.
    But iam taking one structure(E200) this is refer to i_item,E_item.
    Iam getting the values(I_item,E_item) from E200.
    my quiers is
    1.     Move the posting date (BUDAT) in the input structure of the user exit to the reporting date field (WWRPT) and pass the reporting date to the output structure if the billing document type (FKART) is blank in the input structure.
    2.     If the billing document type (FKART) in the input structure is not “B1, B1E, B2, B2E, B3, B3E, B4, BK1, BK3, FXG, G2, G2S, JGL, RE, VLG2, BM1, BM3, FXL, JLL or L2” (note: the billing document category (VBRK_VBTYP) is not avaiable in the input structure), move the posting date (BUDAT) in the input structure of the user exit to the reporting date field (WWRPT) and pass the reporting date to the output structure.
    Please help me the logic.
    Thanks & Regards,
    suresh.T

    Promo terms:
    Purchase IPh6 - you've already started the purchase of the iph6. Once you receive iph6, activate it, then clean out your old one.
    On or before 10/15/14, either trade in the old device at a VZW Retail store or submit the device trade-in online at trade-in.vzw.com. If trading online you have to return devices to VZW by 12/1/14

  • How to hold a texts scroll for 3 seconds then scroll off?

    I'm using tweenlite. How do I hold the scroll for 3 seconds and scroll off the screen?
    Here is my current tweenlite code.
    TweenLite.to(txtField, 40, {x:-stage.stageWidth*2.25, ease:Linear.easeNone, delay:0.5, onComplete:Inspiration});
    Thank you.

    Okay, I'm not getting what I wanted. Here is my code:
    TweenLite.to(txtField, 3, {x:200, ease:Linear.easeNone, delay:0.5});
    var timer:Timer = new Timer(3000, 2);
        timer.addEventListener(TimerEvent.TIMER, scrollOut);
        timer.start();
    function scrollOut(e:TimerEvent):void{
        TweenLite.to(txtField, 3, {x:-200, ease:Linear.easeNone, delay:0.5, onComplete:Inspiration});
    I want the tweenlite to wait 3 seconds and the proceede with scroll off the screen that's why I have the scrollOut function; however, the effect is that the scrolling from right is pausing for 3 seconds every 2 seconds. How do I modify this?

  • Where can I get the Text to Speech utility for Captivate 4?

    I looked all over the Adobe site. Where can I find the text to Speech utility for Captivate 4 and the voices that go with it. A URL to the download site would be perfect.

    It has been discuss a few posts down to your recently, as indicated correctly by Micheal.
    http://forums.adobe.com/thread/944601?tstart=0
    Thanks,
    Anjaneai

  • How do I set up an email for face time and Game Center for my child's ipod

    How do I set up an email account for my sons iPod so he can do face time and Game Center with friends?

    I would create a NEW account using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. You have to do it in your mane if he is not yet 13.
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Then use that account for Settings>FaceTime and Gamecent
    If yo want it can also be used for:
    - Settings>Messages>Send and receive to allow him to Message
    - Settings>iCloud to allow him to have his own calendar and contacts
    Continue to use the common ID for Setting>iTunes and App Stores

  • Common text field for several symbols's mouseover

    Hi all.
    I have on stage several symbols and a simple text element.
    I want the text element to display every symbol's mouseover specific text. For ex. if I mouseover "Symbol_1" the text element should display something like "Your mouse cursor is hovering Symbol_1".
    How's the code for this?
    Thanx.
    pmfr

    Hi, pmfr01-
    You'll need to have a mouseover event defined for each symbol instance or an element within a symbol definition.  In that mouseover event, you would update the text field by referring to it this way:
    sym.getComposition().getStage().$("Text1").html("Your mouse cursor is hovering over mySym1");
    Hope that helps get you started!
    -Elaine

  • Multiple checked boxes fill in common text field

    I am attempting to create a form that has various criteria that are checked off (check boxes) and need to populate a common text field within the same form. Presently with action items I am able to design the form so that when only one item is checked it shows up on in the text field at a time not multiples  Any suggestions would help.
    Thank you

    1) In the Binding tab of your checkboxes you can put the On Value to whatever you want to populate the common text field with and the Off Value blank.
    2) Assuming all your check boxes names are CheckBox under the same subform use this script in the calculate event of your common text field:
    var aChkList=[];
    var vChecks = CheckBox.all;
    for (var a=0;a<vChecks.length;a++){
    if (!vChecks.item(a).isNull){
      aChkList.push(vChecks.item(a).rawValue);
    this.rawValue=aChkList.join(", ");
    Kyle

  • Script needed to print complete contents in scrolling text field Acrobat Pro 9 (MAC)

    I've seen this question several times in my search but no real solution. My client wants a form with text fields that only show 1-2 lines when viewed on-screen but are scrollable so that the user can input a lot of text. I had no problem creating that. The problem occurs when I try to print the form. Only the visible lines of text print and not the entire contents of the field. 
    Is there a Javascript that I can assign to a Print button in my form that can be assigned to the Mouse Down action that will make the entire field contents print? I even recreated the form in WORD so that when the user inputs text into the field, the contents of the form move down the page. My client didn't like that approach. I'm not a programmer and so I haven't been able to write my own script to handle the printing issue. I'm MAC based so using Livecycle isn't an option for me. Thanks!

    I'm using Acrobat Professional 9. I used to use Livecycle which was more flexible, but I no longer have a PC, only MAC and Adobe doesn't make Livecycle for the MAC. 
    The client doesn't want larger fields unfortunately. They have questions that require 2 or 3 pages of information to be entered into a small text field but they don't want large fields. If they're reviewing the answers online, it's fine - they can just scroll through the text fields and read the answers but they don't want the completed text fields to expand unless the form is printed.
    I've already set up my text fields to be multi-line and scrollable so that the client can review all of the text in the field if they are looking at the saved PDF online. The problem I'm having is that I need the entire contents of the text field to be visible ONLY when printed out. They don't want larger fields to show in the form. The client was quite specific about it. The form is also going to be used infrequently, so collecting the data and storing it on a server isn't something they're particularly interested in. The information is also confidential, so they do not want me to be collecting and storing the data and sending it back to them in another format. The easiest option I could see was to create a script tied to a PRINT button that printed out the complete text field.
    Thanks!

  • Auto scrolling dynamic text field(news ticker)

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3272625483_2679871
    Content-type: text/plain;
    charset="US-ASCII"
    Content-transfer-encoding: 7bit
    Does anyone know how to make a scrollable dynamic text field
    scroll on its
    own and also with user interaction?
    Thanks in advance for your help.
    Bill
    --B_3272625483_2679871
    Content-type: text/html;
    charset="US-ASCII"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Auto scrolling dynamic text field(news
    ticker)</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Does =
    anyone know how to make a scrollable dynamic text field
    scroll on its own an=
    d also with user interaction?<BR>
    <BR>
    Thanks in advance for your help.<BR>
    <BR>
    Bill</SPAN></FONT>
    </BODY>
    </HTML>
    --B_3272625483_2679871--

    I found this:
    http://www.kirupa.com/developer/mx/dynamic_scroller.htm
    I copied the actual scroller and put it in my .fla and it
    worked! Now if I can only figure out links in XML...

  • Scroll bar in multi-line text field

    I have a text field that is populated (through event code) with a list of errors that are detected when a user tries to sign a form.  That list can be long, and I had it designed so that if the list was longer than the height of the text box, then scroll bars would appear next to the text box and the user could scroll through the entire list.
    I haven't changed anything, but the scroll bars just stopped appearing.  Now the user can only see the top text that fits in the text box, and cannot scroll down to the lower text.  Any idea?  Is there a setting somewhere that controls that, something that perhaps got corrupted that I could fix?  I'm looking around, but do not see anything obvious.
    FYI, I have the Allow Multiple Lines option checked.
    Thanks,
    Emily

    Figured it out... sort of...
    I am not exactly sure what the problem was, but here's how I fixed it, in case anyone has a similar problem.
    I thought the problem may be that I had code in my click event for that text field.  That code displayed a message if a user tried to enter text into that read-only field, explaining that the field was automatically populated.  That click event code is relatively new, so I thought that maybe Adobe deactivates the scrollbar when there is a click event for an object, since using the scroll bar requires you to click on the object, and "clicking" now has a different set of actions associated with it.  So,I deleted the click event, and the scroll bar returned!
    I thought I was so smart, and had identified both my problem and solution.  Then, just for fun, I decided to try to put the click event code back into the object.  And, much to my surprise, now I have both the click event code, AND I have a working scroll bar.  So now, even though I have fixed my problem, I am not sure what its cause was.  Except maybe there was a bug somewhere?
    Anyway, hope that helps, in case someone has a similar problem.  There seems to be some interplay between having a click event and having a scroll bar.
    Emily

  • Dynamic Text Field Scrolling

    I have a dynamic text field that I want to add a UIScrollBar
    to. The dynamic text field has an rssreader attatched to it so it
    is reading from an xml file on the same server. When I attatch it
    and go to preview my movie, it doesn't work. There is just a white
    rectangle on the right side of the box with no arrows or thumb box.
    I can drag my mouse over the text and highlight everything, but I
    cannot get the scrollbar to work at all. I've checked to make sure
    that my scrollbar is connected to my text instance. Is there
    something special about dynamic text that I don't know about? Will
    it only work at runtime?

    I found this:
    http://www.kirupa.com/developer/mx/dynamic_scroller.htm
    I copied the actual scroller and put it in my .fla and it
    worked! Now if I can only figure out links in XML...

  • Needed scroll bar in text field

    Hi,
    I have two text fields continuously. Sometimes either one get expanded. I kept all the fields in subform type positioned. Comments fields are getting enlarged when it has more number of lines. Lets say, If first field get expanded, it override the second one.
    so I want to give scroll bar in a text field.
    Thanks in advance.
    Ram

    You should not use positioned subforms at all. If you need to move a field right for example, the wrap it into a subform and set the left margin of the subform. Do not use positioned subform and just move the field. You will probably resolve your problem if you remove content: positioned on all subforms relevant to your problem (for example all parents of the text fields).
    Use content flowed and layout autofit as often as possible!
    Otto

  • Text field questions: 1. Scrolling 2. Multiple Lines

    Hello,
    I am creating a form with Adobe LiveCycle Designer 7.
    I have two questions:
    1. When I have a text field, and I enter the text in the PDF view, it will keep going until I stop. This causes the text field to become a scroll box. How do I stop that? I want the text to stop when there is no more room left. I understand there is a length limit, but that mean I have to count the number of characters, and also estimate as to what amount off room each character takes. For example, 'i' takes a lot less room than 'Q' with the default font.
    2. I want my text field too look like this:
    TEXT FIELD: ____________________________________
    How do I do that? I can only get the caption to, when set to left, be in the middle of the field. Also I cannot see the literal 'multiple lines'.
    Thanks a lot!

    I have answer for the first question....all you need to do is copy the following JS code to enter event of each field that you have trouble with.
    var acroSOM = this.somExpression.substr(15, this.somExpression.length - 1);
    var acroField = event.target.getField(acroSOM);
    acroField.doNotScroll = true;
    I doubt there is an answer other than NO (in LC 7) for your second question.
    Good luck,
    SekharN

Maybe you are looking for

  • Data Migration for Open Purchase Order

    Hi, All, Is there anyone know how to Count the volume for Open Purchase Order. What's the normal strategy for the Data Migration and Cut-over stage? My client want to know how many Open Purchase Order in the legacy system and then determine manual or

  • (another) stacked canvas on content canvas problem

    I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject. I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share

  • Cannot pair my mac keyboard to apple tv 2

    I have no problem connecting any wireless devices in my home.  trying to connect or pair  my mac keyboard to apple tv, through bluetooth and it doesn't pick up any signal for the keyboard.

  • How can I delete text or rows in pdf?

    i tried to edit or delete text in my pdf but I can't. So what do I do

  • Psdx files and photoshop CC

    Can you update the touch plugin to work with Photoshop CC?   ...the plugin on the creative cloud website doesnt work.  Pls advise.