C.T.I. (Curent Time Indicator) strange problem...

Hello,
I use After Effects CS5 a long time now and all of a sudden, yesterday, my CTI was acting like crazy. I scrub the CTI and although it slides smoothly and very very fast (strange), the video does not respond at all. It doesn't move a single frame. Only when the CTI stops, the video goes to this specific frame the CTI is placed. No real time video display. The CTI moves very easily and fast but that doesn't have any effect to the video.
Do you happen to know what on earth is going on all of a sudden?
Thank you!

OK guys, I found out what the problem was. I
didn't have the button
"Live update" checked.
Thanks.

Similar Messages

  • Premier 12, Titles & Text, Current Time indicator, Pan & zoom

    I am using Premier 12 and am really enjoying the program, I had been using Premier 8 and I am getting much fewer project crashes, in fact almost none! Whomever worked on this program did a really good job. I am also finding it very user friendly and have been using both the "quick" and the "expert" portions of the program. That said I have three questions,
    Titles and text, I am using one with "scrolling credits", is there a function where I can either "freeze" the screen after it scrolls to the text OR is there a function to "replay" the text instead of just going "black" and stopping?
    Also when I have added all of my clips onto the timeline and have my "curent time indicator" at the "end" it does not stop and "go back" to the beginning/home unless I manually hit the "home" on my keyboard. I want to make sure that when I go to burn that the movie will instantly go back to the beginning of the project.
    Is is possible to do a type of "Ken Burns" panning and zooming with Premier 12 and if so how do you do it?
    Thanks

    AuroraAz
    Good to learn of your progress with Premiere Elements 12.
    3. Is is possible to do a type of "Ken Burns" panning and zooming with Premier 12 and if so how do you do it?
    The Premiere Elements 8.0/8.0.1 Horizontal and Vertical Pan & Zoom choices in Presets are available in version 12 under fx Effects/Presets/. As in 8.0/8.0.1, in 12 it is either pan OR zoom applied to each clip, not pan AND zoom.
    As in 8.0/8.0.1, in 12 there is the Motion Panel expanded and its Toggle Animation for doing more advanced pan and zoom effects. Here look to Applied Effects Tab/Applied Effects Palette/Motion Panel expanded for it Scale (for Zoom) and Position (Pan) properties.
    The Pan and Zoom Tool is not found in version 8.0/8.0.1. It can be found in 12, Tools Menu/Pan and Zoom. The feature comes with its own workspace once you select the image and then the feature under Tools Menu. Note, when the panned and zoom image is returned to the Premiere Elements workspace from the Pan and Zoom workspace, the duration of the image is markedly increased. That is normal. Here is a sample of more information on the topic
    online video tutorial on use of Pan and Zoom Tool
    http://www.youtube.com/watch?v=YhLBAT_kLHs
    my blog post on the subject, including applying same pan and zoom effect of Pan and Zoom Tool to more than one image at a time
    http://www.atr935.blogspot.com/2013/05/pe11-pan-zoom-tool-more-than-one-photo.html
    work in progress with gtavetian, regarding Pan and Zoom Tool and Portrait Oriented Images
    http://forums.adobe.com/thread/1382933?tstart=60
    2. Also when I have added all of my clips onto the timeline and have my "curent time indicator" at the "end" it does not stop and "go back" to the beginning/home unless I manually hit the "home" on my keyboard. I want to make sure that when I go to burn that the movie will instantly go back to the beginning of the project.
    I am not sure that you are dealing with leftover beyond the left gray tab of the Work Area Bar. So let us make sure.
    After you have added all your clips to the Timeline, do the gray tabs of the Work Area Bar span that Timeline content from what you see as the beginning and end of the whole content? When you hit the play button of the monitor, does the Timeline content playback from beginning and end of what you can see as the beginning and end or does the Timeline Indicator continue beyond the last item that you put on the Timeline? If the latter, then you are some fragments further to the right of the end that you can see. Typically the present (with Timeline content expanded max) as very thin vertical black lines which will need to be deleted. In these cases, use the End key stop position to search for the leftover(s).
    Other Home and End key to navigate the whole Timeline content under the gray tabs of the Work Area Bar.
    Titles and text, I am using one with "scrolling credits", is there a function where I can either "freeze" the screen after it scrolls to the text OR is there a function to "replay" the text instead of just going "black" and stopping?
    The basics of this feature should be the same as in Premiere Elements 8.0/8.0.1. Menu name is different and Titler has a different look but principles are the same between 8.0/8.0.1 and 12. Are you talking about looping a text title? Sounds like that. If so we can talk about that in greater detail. Have you done in 8.0/8.0.1 what you want to go in 12 in this regard? Or is this a new effect that you want to achieve?
    Please review. Keep up the great work.
    ATR

  • Hello, starting with today I have a strange problem: all events are correctly shown in the finder but in FCP-X there`s`none and every time I open it creates a new event. What is wrong?

    Hello, starting with today I have a strange problem with Final Cut Pro X: all events are correctly shown in the finder but in FCP-X there`s`none and every time I open it creates a new event. What is wrong?

    Here`s the screenshot.
    But anyway:
    The drive is Makintosh HD from my Macbook and it is shown in the event mediathek and in the projects. Since I`ve recognized this problem I installed FCPX again and consequently the event and project directory created by FCPX is where it should be and it shows all the test events including it`s files.
    So what happens? Opening FCPX you see only one event and that a new empty event. All previous events are not shown there even if you can see them in the finder. So if you import again the clips they are in this new event library. After closing correctly FCPX and reopening there again is nothing than an new and empty event. What it does is that it recognized that i.e. there are events with previous numbers and so it creates an new one with the next available counting number.
    If you want to open one event from the finder it by clicking to the file it opens FCPX but it says it cannot open the clicked file.

  • Strange problem while clearing a customer

    Hi everybody
    I am encountering this strange problem while trying to clear some open items for certain customers. Though these customers have open items on them (checked in BSID and FBL5N), the system is giving a warning message saying that there are no open items on the customers while trying F-30 and F-32.
    The only thing that was different for these customers from the rest was that these customers had some transactions which were supposed to be cleared through AP payment run. (transactions for customer payment).
    Can anybody explain why the system was not considering these line items as open while accessing F-30 and F-32??

    Hi,
    - check SAP Note 136754
    some table fields in the missing documents using Transaction SE16. The following conditions must exist:
    BSIS-XOPVW = X      (Indicator: Open item management, only for G/L                     accounts)
    BSEG-XOPVW = X      (Indicator: Open item management)
    BSEG-AUGBL = space  (clearing document number)
    BSEG-DISBN = space  (discount document number)
    BKPF-BSTAT = space  (document status)
    BKPF-XSTOV = space  (indicator reversal flag)
    REGUS/REGUP -> see below
    Should one or more conditions not exist, please note the following information:
    1. BSEG-XOPVW <> X or BSIS-XOPVW <> X for G/L account line items:
                  The line item presumably comes from a time before you activated the open item management of a G/L account. Documents before this master record change do not contain this technical information. Use report RFSEPA02 if you want to bring the documents in line with the new master record. You must refer to the documentation of this report.
                  Because there may be problems subsequently acivating open item management, RFSEPA02 was changed as of Release 4.5A so that it cannot be started without modifications. SAP wants to make sure you are familiar with the problems, which may result from activating open item management. You can however restart RFSEPA02 when you have deactivated the line:
                  leave program.
    2. BSEG-XOPVW <> X for open item account line items:
                  This data status is not allowed. Contact the SAP Hotline.
    3. BSEG-DISBN <> space.
                  The line item has already been used within bill of exchange accounting.
    4. BKPF-BSTAT <> space.
                  This is a document with a special function, for example a sample document or recurring entry document. Generally these are not taken into account in clearing transactions.
    5. BKPF-XSTOV <> space.
                  The document was flagged for reversal. Only if you cancel the reversal flag, can you clear the document again. You can do this by removing the planned date for the reverse posting (BKPF-STODT) in the document header using Transaction FB02 (Change document).
    6. REGUS/REGUP:
                  Look at table REGUS using Transaction SE16. Enter the account (KONKO) in the selection screen. If you selected an entry, use the information Run date (LAUFD) and Identification (LAUFI) in Transaction F110 (payment program). Check the status of the payment run. If only the proposal was carried out, the documents proposed for payment are blocked for other clearing transactions. It is only when you delete the proposal run that the items are taken into account again in the clearing transaction.
    Rgds.

  • Strange Problem - Cluster of References

    Hello guys
    I had a strange problems using a cluster with references.
    How to reproduce the problem:
    - open a blank VI;
    - create two graphs in the front panel;
    - in the block diagram, create references for both graphs;
    - connect these references to a bundle (not bundle by name);
    - create an indicator for the bundle;
    - run the VI once;
    - right click on the bundle indicator and change it to a control;
    - delete references and bundle;
    - select the control in the front panel, go to EDIT, CUSTOMIZE CONTROL;
    - change to strict type def;
    - save this control as Control1.ctl;
    - connect the control to a unbundle by name;
    - right click on the unbundle by name and select one of the two graphs as an item (doesn't matter which one you select);
    - create a property node and feed its reference terminal with the reference from the unbundle by name;
    - use the property "Label.Text" in the property node;
    - create an indicator for the the property node;
    - run the VI;
    - the indicator will show the correct label for that graph;
    - perfect!!!
    If you save the VI and run it again, everything is fine.
    But............... if you close it, open again and run.... you will get an error 1055 "Object reference is invalid".
    Why it was working before closing?
    Find attached the VI and the Control.
    Thanks
    Dan07
    Solved!
    Go to Solution.
    Attachments:
    Cluster References.vi ‏11 KB
    Control1.ctl ‏7 KB

    Let see if I can answer before I have to start working.
    Do a quick experiment.
    Use a Type cast to cast your ref as a U32 and show that value on the FP.
    Save the VI run it and record the number on the FP.
    Mod the vi save it clsoe it open it and run again. The number should have changed.
    That is the issue you facing, the ref number changes so you need one that is valid when you run.
    How I do it;
    I use an Action Engine (see this Nugget to learn what an Action Engine is) that servse as a GUI controller and lets me get at refs where even I need them. The following is a case study.
    First I collect all of th refs I will need and bundle them in a type def. I sue a state machine to do the bundling if there are a lot.
    THe bundled clsuter get passed to an GUI Controller Action Engine
    Inside the Init I check the refs to make sure they are vlid. THis has saved a lot of wated time chasing invalid refs.
    If they were valid I cache the refs.
    For major mode changes that demand a lot of GUI punching I create sub-VI to do the dirty work.
    When ever other codes needs a ref to the GUI I have a method that returns the refs.
    THe following shows another VI using those GUI refs.
    I hope that helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Nokia 5530 RM-504 Strange Problem

    Hi All,
    I have Nokia 5530 RM-504 strange problem after flash latest version 31.0.005 two problems create
    1)                  Before flashing Pakistan GMT+5 but after flash Pakistan GMT+6
    2)                  Before flashing sending MMS work fine but after flash when I send MMS 1 time but set sending auto mms same cell no. after 30 sec.
    Any idea how to solve those problems.

    Hey the problem isn't with the phone i don't think.
    I had the same issues with the sound quality and and pushing the button making the sound the good.
    Its because there is a diference in the design of theheadset jack/phone plughole.
    the wierd sound is a result of the ground and mic wires going to the wrong places. you can cut the plug then re solder the wires back together but switch the mic and ground wires around then it will work fine on something that it wasnt working properly on, but it will stop it working normaly on anything that it curently works on

  • E52 Battery Strange problem

    I have strange battery problem with my E52 since purchase of set. After few minutes of usage it drops from full charge to low battery indicator, nothing in between. If I use same battery in other phone it works normally for 3-4days.
    If phone is switched off for few second, battery returns to full but againt this works for few minutes of talk time and again back to no charge. There is frequent shutdowns with no charge.
    Nokia Service centre has no idea on this. They formatted it and reloaded software but problem remains. I have updated sofware myself. I have hard resetted few times using key combination but nothing has solved this problem.
    I purchased this E52 for battery life and it is virtually unusable due to this strange problem.
    Anyone has got any idea on solving this. Please help.

    I have tried different battery and charger but to no effect and used energy profiler also.no exceptional usage of battery and chance of short circuit is unlikely as actually battery is not discharged. I just switch it off and turn it on and it is back to normal. And after little use it is again low battery or no charge.
    Nokia Service center just formatted and reloaded software and it worked fine for a month or so. They do not seem to acknowledge this problem at all. 
    Now i just put it on charge after every few hours to use it but thoroughly disappointed with Nokia. I swear this it is my last Nokia and will advice everyone to just dump Nokia.

  • I am having a strange problems on the Data entry Forms

    A form that has been used since 2005 in an old version of HFM 3.51 was migrated to SYstem 11.1.2.1 in January of 2012 and has been working since then. Suddenly we start having some strange problems. Our response time has been very slow and I am wondering if there were some problems in any of the services. Maybe a service did not start properly related to the WEB forms.
    We entered a number in one of the cell to be: 348336349 as soon as we hit enter, the number was formatted to 348,336,349 but when I submit the number it came back as 3. I tried it several times and it did not work, I checked the scaling and that was set blank. One of my user tried it and it did not work. I tried looking into the Preferences and my screen froze. In the meantime one of my user was able to enter the number and was able to refresh it as well. Then she enter another number on a different cell and the same problem occurred it seemed as if it truncated all the digits except for the left most digit, we are unable to figure out how to resolve this issue. The number entereed in the cell is 826,251,218 it stores 8 and loses the rest of the 8 digits. I right click and checlk the properties and it says that it has stored 8 instead of 826,251,218.
    Following is the DEF script. Does anyone has any ideas, I am wondering if I have to restart the services..
    ReportType=WebForm
    ReportLabel=Aging_Receivables
    ReportDescription=Aging Receivables
    Instructions=Please make sure you set up your point of view (POV) appropriately. Business Unit (BU): AG, CE and Other_BU. Brand: Case, NH and Other_Brand.
    BackgroundPOV=S#Actual.Y#2011.P#Jan.w#YTD.V#<Entity Currency>.I#[ICP None].C2#SERVICED.C3#GL_INPUT.C4#Input
    SelectablePOVList=S{[Hierarchy]}.Y{[Hierarchy]}.P{[Third Generation]}.E{[Hierarchy]}.C1{[Base]}.C2{[Hierarchy]}.C3{[Base]}.C4{GL.[Hierarchy]}
    C1=A#Current
    C2=A#0_To_30
    C3=A#Total_Current
    C4=A#31_To_60
    C5=A#61_To_90
    C6=A#91_To_120
    C7=A#121 Plus
    C8=A#Total_Past_Due
    C9=A#Total_Aging_Rec
    C10=A#Current_OffBook
    C11=A#Past_Due_OffBook
    C12=A#T_Aging_Rec_OffBook
    C13=A#Total_MP_Aging_Rec
    C14=A#Aging_Rec_Diff
    R1=C1#_Retail
    R2=C1#_Wholesale_Tot
    R3=C1#_Wholesale
    R4=C1#_Wholesale_Natl
    R5=C1#_Wholesale_Othr
    R6=C1#_Credit_Card
    R7=C1#_Specialized_Lending
    R8=C1#_Marine
    R9=C1#_Soris
    R10=C1#_Other
    R11=C1#_Material
    R12=C1#Sup_Product
    FormInputBoxLength=23
    PrintNumRowsPerPage=33
    PrintNumDataColsPerPage=8
    ShowLabels=False
    ShowDescriptions=True
    SuppressColHeaderRepeats=False
    Edited by: user8267293 on Aug 8, 2012 12:41 PM
    Edited by: user8267293 on Aug 8, 2012 12:43 PM

    Hi,
    Did you find a way to solve your problem ? We have exactly the same for one application and we are using the same version of HFM : 11.1.2.1.
    This problem is only about webforms. We can correctly input data through Data Grids or Client 32.
    Thank you in advance for your answer.

  • Computer slower and a few other strange problems since upgrading to SL

    Hi all,
    About a month ago, I upgraded my mid-2009 MBP to SL. I'm now on 10.6.1. Ever since the upgrade, my computer's been somewhat slower than it was when I ran Leopard (although many people I know say their machines are faster). I did restart several times at one point, and that seemed to speed it up, although it still experiences delays I didn't have before. I've also had a bunch of strange issues:
    1) Safari is most noticeably slow, especially when using something like Top Sites on Safari 4. I alleviated this problem somewhat by setting new tabs to open a blank window rather than Top Sites, but even so, Safari is generally slower, gives me 'pinwheels' often, and also is less stable.
    2) The other day, I restarted to find that all fonts except system fonts had been mysteriously deactivated. As a designer, I rely heavily on my many fonts, which I manage using Linotype FontExplorer.
    3) Today, I opened my computer up after having it sleeping in a backpack, and it had turned off. It was not out of battery; it had just turned off for no apparent reason.
    4) Judging by Activity Monitor, RAM is being used somewhat more heavily by the system, contrary to the advertisements of a 'lighter' footprint for SL as compared to Leopard. However, according to Activity Monitor (which I check frequently), the processor does not appear to be getting taxed any more heavily than under Leopard, which makes the sluggishness more inexplicable.
    5) Yesterday, I could not get my computer to recognize my Time Machine backup disc. After restarting, it worked, but this is a pain.
    I appreciate any advice I can get. Does anyone else have similar problems or solutions? Or is the general consensus that these are SL bugs that Apple will work out by about 10.6.4 or so?
    Thanks,
    Nathan
    Message was edited by: nateeanes

    I began this thread awhile ago, but the essence of it is that I had a number of strange problems, although mostly my computer was just slower, when upgrading from Leo to SL.
    I've now wiped my HD and re-installed SL. It seems faster, although there are still a few issues:
    1) iWork (Pages, Numbers) has very weird coloring. All the text looks light blue and/or cyan, and I can't fix it.
    2) Although initially Safari worked great, lately it's been going back to its habits of being slow and showing strange things like chopping up the 'Top Sites' view, i.e. rendering it in an off way.
    3) Adobe CS3 will not install properly. I get them loaded up, but when I try to launch a program, I get an error that says "licensing for this product has stopped working". I cannot get to the 'activate' page, even though I uninstalled and deactivated CS3.
    In the interest of full disclosure, I did restore my home account after clean installing SL-- maybe I should have brought the files over folder by folder rather than bringing back my whole home folder with its settings? I wonder if I accidentally brought over Adobe's FLEXnet folder too.
    Also, does anyone know if Adobe CS3 can cause these problems with Safari and other programs? It just seems that the whole machine was slower after installing CS3, even though I wasn't running the programs.
    Any help is appreciated.
    Nate

  • Submitting a form with enter key causing strange problems

    I am having a very strange problem with a webapp I am currently developing. I am using JSF 1.2 along with Facelets and RichFaces. I have coded a workflow/wizard 4-step process, and on some pages I have 4 submit buttons that all call different actions on the page. The users thought it would be useful to have the enter key submit the form, so I followed some online resources to trap a keypress using javascript, looking for the enter keycode and calling document.getElementById("elementName").click(). This works fine most of the time. Sometimes, though, it seems as if an entire new session is being created, and odd behavior starts happening. For example, my page will only include 2 of the 4 facelets on the screen -or- I will get NullPointerExceptions for objects that I know have been created in the session bean I am currently using -or- I will get a duplicate form Id after trying to re-submit the page. Could the javascript click simulation not be submitting all of the form elements or is the enter key also acting like its default action (the form submission) in addition to the "click"? I'm really at my wit's end here (plus it's nearly 3 AM, that never helps things). All of the buttons being clicked are standard h:commandButtons. There is some setTimeout logic included to disable the buttons on the page to prevent double clicks (I cannot disable them onsubmit because disabled buttons don't pass the right values, perhaps that's causing it, but if so, clicking the buttons with the mouse would cause that issue too, right?)
    I am not posting the code (yet), but if anyone wants to take a look see and see if I am doing something really abhorrently wrong, I'm more than willing to, I'm just curious if anyone has had problems regarding javascript submission of forms via the click() method. Clicking the button does not exhibit this type of behavior. Just as a side note: I am doing different things with the enter key depending if a modal window is open (the enter key closes the modal if it's up, and if not, it submits the form via a button click).
    Any help is much appreciated, if anyone has any inkling about where I should start looking for answers it would be really helpful.
    Thank you.

    edfrost wrote:
    Could the javascript click simulation not be submitting all of the form elements or is the enter key also acting like its default action (the form submission) in addition to the "click"?My guess is the second of these. You need to suppress the event handling after programmatically clicking the button.

  • Strange problems on Macbook Pro over past year...

    I'm about to do an erase and install after having numerous strange problems on my mid 2009 17" Macbook Pro (Leopard) over the past year, some of which I have opened threads for on these forums.
    They are listed bellow to see if anyone wants to give their final two cents as to what is causing them. They may or might not be related.
    1) I recently found the "Unknown" user classifications at second from top in the user priveleges for the main Macintosh HD folder and "Local Work" – which is my main folder for work.
    http://discussions.apple.com/thread.jspa?threadID=2741617&tstart=0
    2) Last Summer I had some very strange login problems which were well documented in this very long winding thread here:
    http://discussions.apple.com/thread.jspa?threadID=2485199&tstart=0
    3) Can't access iTunes store due to this error code -54. Thread opened here:
    http://discussions.apple.com/thread.jspa?threadID=2653733&tstart=0
    4) Some proceses I've seen in the activity monitor that are possibly a little sketchy are as follows:
    - "netsessionmac1" ... Akamai playing about?
    - "TaskManagerDaemo" ... with "Root" user, ... sounds a bit vague and possible malware according to google?
    5) In Skype I get constant warnings of other computers trying to connect from Little Snitch and Virus Barrier. I get so many of them one after they other pausing skype that I can only use Skype with Little Snitch off. I can only use it late at night also as there seems to be more attempts being blocked in virus barrier during the day that I can't even get past the login:
    Some examples in screen grabs:
    http://oi56.tinypic.com/xkwwtf.jpg
    http://oi55.tinypic.com/2v2w941.jpg
    And other examples of the hundreds of different IP addresses I've had asking to access computer on some obscure 4 digit port:
    http://whatismyipaddress.com/ip/86.178.52.58
    http://whatismyipaddress.com/ip/94.168.76.16
    http://whatismyipaddress.com/ip/94.171.116.123
    http://whatismyipaddress.com/ip/92.235.196.125
    http://whatismyipaddress.com/ip/92.239.25.70
    http://whatismyipaddress.com/ip/192.168.0.1
    http://whatismyipaddress.com/ip/92.235.208.101
    http://whatismyipaddress.com/ip/92.236.252.132
    http://whatismyipaddress.com/ip/85.15.190.49
    ... etc
    6) I have to constantly open and close Mail after it hangs on sending. Says there is a connection problem on port 110 or whatever, but words fine as soon as I open again. This problem happens particularly when I want to send from my 2nd or 3rd POP or IMAP other than my normal one.
    7) Slow Safari/Firefox and internet.
    8) I got this strange warning about my IP changing recently when downloading a file:
    http://oi53.tinypic.com/2z4b77o.jpg
    9) My internet cuts out for large periods of time while the other PC desktop in my house works perfectly fine.
    Well, any last suggestions much appreciated. Many thanks.
    Message was edited by: Scottishengineer

    I suppose your expanding battery problem could have caused some or all of these problems, but most of them sound like software issues.
    If I were you I'd try a few things:
    1. boot from your snow leopard install disk and repair your startup disk with disk utility.
    2. repeat the repairs until no repairs are reported (the toilet paper principle).
    3. repair permissions again.
    4. if the problems persist, trash the preferences files for the misbehaving apps.
    5. if the problems persist, delete the misbehaving apps and reinstall them.
    6. it the shutoffs persist, try a PMU reset.
    7. a PRAM reset would probably be a good idea too.
    8. if none of that works, archive and reinstall.
    there is a freeware utility called applejack that will also do most of this.
    Details on all of these will be readily available with a google search.

  • Short code causes a strange problem - About the list again -- please read!

    Hi again people. Maybe you remember my project - has a list, that you can search thru using a text field. During the work I got stuck on a strange problem ( Again :-( ) My app has one text field, one combo box, one list and a text field once more. The code should do the following ->
    *1. Load the list, no problem with that.*
    *2. Show the elements of the list, that match the selected group in the combo box,no problem.*
    *3. Search thru the list using the text field,no problem.*
    4. When the user selects an element from the list, it should display its info in the second text field. This also works fine, but when after looking at info of one of the elements the things on numbers 2 and 3 ( look up! ) stop working. I must say that everything works fine until user selects an element from the list. I couldnt understand this kind of behavior so I am asking you to help me please.
    The code is very simple:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    class the_window extends JFrame implements DocumentListener, ItemListener, ListSelectionListener {
        FileReader reader;
        String data_base[][];
        String first_pass[];
        int number_of_elements;
        DefaultListModel dflm = new DefaultListModel();
        JList list;
        JTextField text_field = new JTextField();
        JTextField info_field = new JTextField();
        String groups[] = {"1. group" , "2. group"};
        JComboBox groups_cmbx = new JComboBox(groups);
        the_window(){
            super("the Window!");
            JPanel panel = new JPanel(null);
            Container c = this.getContentPane();
            c.add(panel);
            text_field.setBounds(10,10,170,25);
            text_field.getDocument().addDocumentListener(this);
            panel.add(text_field);
            groups_cmbx.setBounds(10,45,170,25);
            groups_cmbx.addItemListener(this);
            panel.add(groups_cmbx);
            list = new JList(dflm);
            list.setBounds(10,90,170,190);
            list.setFixedCellHeight(20);
            list.addListSelectionListener(this);
            panel.add(list);
            info_field.setBounds(10,280,170,25);
            panel.add(info_field);
            load_the_base();
            refresh();
            this.setSize(190,350);
            this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            this.setResizable(false);
            this.setVisible(true);
        public void itemStateChanged(ItemEvent e){
            refresh();
        public void valueChanged(ListSelectionEvent e){
            String str = (String) dflm.getElementAt(list.getSelectedIndex());
            int index = 0;
            for(int i = 0; i < number_of_elements; i++){
                if(str.equals(data_base[0])){
    index = i;
    break;
    info_field.setText(data_base[index][1]);
    private void load_the_base(){
    String data = "";
    try{
    reader = new FileReader("data.txt";);
    int r = 0;
    while((r = reader.read()) != -1){
    char c = (char) r;
    data += c;
    reader.close();
    }catch(IOException e){}
    first_pass = data.split(";");
    number_of_elements = first_pass.length;
    data_base = new String[number_of_elements][];
    for(int i = 0; i<number_of_elements; i++){
    data_base[i] = first_pass[i].split("#");
    private void refresh(){
    String search_str = text_field.getText();
    int selektovano = groups_cmbx.getSelectedIndex();
    dflm.clear();
    for(int i = 0; i < number_of_elements; i++){
    int grupa = Integer.parseInt(data_base[i][2]);
    if(grupa == selektovano){
    String at_the_moment = data_base[i][0]; // if you change this to String at_the_moment = data_base[i][1]; it works perfectly
    if(at_the_moment.startsWith(search_str)){
    dflm.addElement(at_the_moment);
    public void changedUpdate(DocumentEvent e){
    refresh();
    public void removeUpdate(DocumentEvent e){
    refresh();
    public void insertUpdate(DocumentEvent e){
    refresh();
    public class Main {
    public static void main(String[] args) {
    JFrame f = new the_window();
    Now, can you please tell me whats wrong with this?
    For the "data.txt" make a new text file using *notepad* and copy the following line into the document:
    _1. element#1. info#0;2. element#2. info#0;3. element#3. info#1;4. element#4. info#1;5. element#5. info#1;_                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Darryl.Burke wrote:
    Keith, thanks for making that readable. So here's the diagnosis -
    In the refresh() method, calling defaultListModel.clear() results in a valueChanged(...) event in which this method calldefaultListModel.getElementAt(list.getSelectedIndex())results in the exception noted, as getSelectedIndex returns -1, the list being empty... you can't getElementAt(-1).
    I haven't analyzed all the code nor checked whether is now works as desired, but this small change to valueChanged counters the exception being thrown.   public void valueChanged(ListSelectionEvent e) {
    infoField.setText(""); // do this unconditionally
    if (list.getSelectedIndex() != -1) {
    String value = (String)defaultListModel.getElementAt(list.getSelectedIndex());
    for(int i = 0; i < numFields; i++){
    if(value.equals(matrix[0])){
    infoField.setText(matrix[i][1]);
    break;
    db
    Yea! You were right! I didnt think that calling *list_model.clear();* will result in calling *valueChanged()* ........
    That was some *clear()* thinking :-) Thank you!
    corlettk wrote:
    I cleaned up some variable & method names (tut tut), imports (very naighty), and some thread stuff... but it remains fundamentally the same codeIs it so important to "clean" the imports? How much does it slow down the loading time? Should I do this on all my projects, because they are all "very naighty"?
    ps. Thanks to all that gave some help to answering this strange question :-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Strange Problem in dynamically list population with record group

    Hello Room,
    I am dynamically populating a single list with 2 record groups. I am having a strange problem. All the code are written in 2 seperate buttons. The code of every button is given below.
    Button 1 code:-
    DECLARE
    rg_reports RECORDGROUP;
    rg_name VARCHAR2(40) := 'REPORTS';
    vTemp NUMBER;
    BEGIN
    -- Pls make sure Group doesn't already exist
    rg_reports := FIND_GROUP(rg_name);
    -- If it doesn't exist then create it and add ur query to it
    IF Id_Null (rg_reports) THEN
    rg_reports:=CREATE_GROUP_FROM_QUERY(rg_name , 'SELECT companyname,to_char(co) from companymaster order by companyname');
    end if;
    --Populate the Record Group
    vTemp:=POPULATE_GROUP(rg_reports);
    POPULATE_LIST('REPORTS.EXAMPLELIST', rg_name);
    Delete_Group( rg_reports );
    END;
    Button 2 Code:-
    DECLARE
    rg_reports RECORDGROUP;
    rg_name VARCHAR2(40) := 'REPORTS';
    vTemp NUMBER;
    BEGIN
    -- Pls make sure Group doesn't already exist
    rg_reports := FIND_GROUP(rg_name);
    -- If it doesn't exist then create it and add ur query to it
    IF Id_Null (rg_reports) THEN
    rg_reports:=CREATE_GROUP_FROM_QUERY(rg_name , 'SELECT accountname,to_char(co) from accountmaster order by accountname');
    end if;
    --Populate the Record Group
    vTemp:=POPULATE_GROUP(rg_reports);
    POPULATE_LIST('REPORTS.EXAMPLELIST', rg_name);
    Delete_Group( rg_reports );
    END;
    The code is same here only the sql is different in these 2 buttons. Now the problem point.
    when i press button 1, I get the list populated ok. when i try to click on the list item and keep the button pressed the list gets scrolled properly.
    when i press button 2 after that i get account names well populated in the same list item as well, but this time, when i keep the button pressed the list does not scroll below as in button 1. It does not even allow to select different item from the list of button 2 code.
    I tried to clear cache, cookies, exit browser everything and try to run the button 2 first, but still the problem in button 2 code.
    Following are my system details.
    windows 7 professional edition.
    Oracle database 11g on windows 7
    Oracle forms 10g patchset 10.1.2.0.2 on windows 7
    Browser Netscape Navigator with oracle jinitiator 1.3.1.22
    But this form is run by a client side html file where oracle forms 10g is not installed on windows xp. html file is just referring server url to run the module. The file is run on Netscape navigator browser with oracle jinitiator 1.3.1.22
    My question is that is this a bug ? if button 1 gets the list item scrolled, why is the problem with button 2 even though i press it first. Here I am deleting the record group also. after the code is over. Initially I thought this may be the character length problem so I took the maximum character length for that list item as given by the 2 columns in database.
    Why is the list scrolling not happening in button 2 but in button 1 with same codes on both ?
    Anybody please help me.

    The problem is the second query. I would guess that the TO_CHAR(co) is not unique for each account, but is the same for the accounts. And as the second item in the select-list is the listitems values, all your listitem-entries have the same value. therefore, of you select any entry, the list will always go the the first entry again.
    Adjust your query.

  • Strange problems with Windows 7 running on Bootcamp

    Hi there. I have just installed Windows 7 using Bootcamp on my Macbook with Leopard. I have a few strange problems and just wanted to see if I could gain any help or see if anyone else is experiencing these problems. Apart from those, its running great :P
    Main one is when I close the macbook shut, then open it back up the screen stays black, i can hear it open back up but its like it just stays in Sleep mode. I then need to hold down the power button and switch it back on.
    Secondly when I use the down, up left or right arrow button to scroll down in the respective direction the cursor is moving around like it would on a word document. It will scroll down eventually but only becuase the cursor has reached the end of the page.
    Thanks for your time and I really hope someone can shed some light.

    Hey, I'm having this issue too, however I also get freezes while the screen is still on, or while the screen power saves, and will not resume.
    The computer stays on, and warm, meaning it never powers off, nor realizes its hung-up, and the only way to get back to work is a hard shutdown and reboot.
    Details are below, and x64 Win 7 MSDNAA RTM Build 7600 - 4gb of Corsair 4-4-4-12 2x2 ram.
    I have already gotten the newest commercial nVidea drivers and I am running RivaTuner with appropriate settings, and I have disabled the Wired NIC, and turned off the wireless NIC power-saving settings.

  • Time Machine - strange behavior while deleting old backups

    Not sure if this is the right place, because this is actually not on Time Capsule, but on a Time Machine on an external USB drive.
    In any case, I searched the web for "time machine delete old backups" and found many discussions of various aspects of this task. My objective is to clean up a partition on a the external drive that I no longer use for active TM backups, but to retain a small set of backups in case I need to go back to them. The partition now has other uses and I need the space. My main TM backup is now on a separate Time Capsule.
    So again my objective is not to remove all backups, but just most of them.
    It appears that the well-discussed procedure is the following:
    Go into Time Machine.
    Select the Macintosh HD.
    Go back to one of the oldest backups.
    Click on the Gear > click Delete Backup.
    This procedure will remove one Backup at a time, and it seems to take 5 - 10 minutes for each backup.
    Here is what I noticed that was "strange":
    You could delete a selected backup using the above procedure.
    For the first selected backup so deleted, there is a confirmation dialog with a warning message that it is not undoable.
    After clicking OK on the warning message, the display backs up to the "Present" backup, and the administrative password is requested.
    After the administrative password is entered, the backup starts but control is passed back to the user interface, and another backup can be selected to be deleted.
    However, after the second backup is selected and deleted, there is no warning dialog, and no request for the administrative password. At this point the user interface is busy and nothing more can be done until the backup delete is completed. Except that the Time Machine can be exited by first pressing Escape, then Cancel on the lower left of the screen.
    If the time machine is exited, there is a Delete Backups progress dialog with a progress bar for each backup  so far requested. If the second backup was requested, as in the steps above, there would be two backups.
    I discovered by playing around that either you had to wait within Time Machine for the deletion to complete, or alternatively exit Time Machine. While I was not sure what was going on, I kept starting one backup, then exiting Time Machine and re-entering Time Machine and requesting another delete operation. Each time after entering Time Machine, the warning/admin password sequence occurred and I was able to exit. And then immediately re-enter Time Machine and request another backup. Only by exiting and re-entering could another delete request be made.
    When out of Time Machine, I thus saw the Delete Backups dialog with any number of concurrent "Delete One Backup" progress bars.
    Because of the nature of the hard links used to indicate backups, I was wondering if these multiple delete operations could possibly be hung in a deadly embrace, so I decided to only do one at a time. Some further study to see if the multiple delete operations were all able to complete would be needed to know if this would be a good way to "queue up" multiple delete requests.
    Bottom line: seems like kind of an odd implementation. Would be really nice if you could select many (say 30) individual backups and delete them all at once, rather than taking 5 - 10 minutes each. Again, this is because I am trying to reclaim disk space, but not delete all the backups from a Time Machine backup set that is not in active use.
    Also, the method of "queuing up" backup delete requests is kind of odd, but seems to work, with the proviso that I have not yet confirmed that doing more than one at a time actually works.

    Heinz-G?uenter Arnold wrote:
    since the upgrade to SL it seem that Time Machine has problems to completely remove old backups completely. The "removed" backups do not show up in Time Machine anymore, but the backup folders and part of their contents can still be seen in Finder.
    Hi, and welcome to the forums.
    That happens occasionally, in both Leopard and Snow Leopard, sometimes after something was deleted from the Finder, but also after an abnormal shutdown or improper disconnection of the TM disk.
    Run a +*Repair Disk+* on it via Disk Utility, in your Applications/Utilities folder. If it finds errors, but can't fix them all, run it again (and again) until it either fixes them all, or can't fix any more.

Maybe you are looking for

  • How to send a message to a pager? URGENT

    Hi everybody I wanna know how to send a message (or a caller's number) to a pager from Form.

  • Print Agent - "Invalid" pdf

    Hi, I'm trying to use the print agent. I use the following: c:\Programas\Adobe\Central\Bin\jfmerge MODEL1 C:\DOCUME~1\D002404\ASPNET\DEFINI~1\Temp\200902021549206095_xml.tmp -axmlstrict -l -allc:\Programas\Adobe\Central\Server\Logs\TRNQ20090202.log -

  • How to write into multicolumn listbox during runtime?

    Hi, I am able to edit into multicolumn listbox. But i am not able to write into empty boxes... How to do that??? Regards, Amit

  • BPS EXPERT come in

    Dear colleague : I met a requirment in bps, I have a hier (info object : 0material ) in layout. The 0material has a attribute "0compcode" ,different user could see different material according to 0compcode. But in Planning level , I only have one cho

  • Error when generating the selection screen "0100" of report "SAPMZMATMAS

    How to over come this error SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN. *SELECTION-SCREEN BEGIN OF LINE.       SELECTION-SCREEN COMMENT 1(6) TEXT-002 FOR FIELD P_STATUS.       PARAMETERS: P_STATUS(18)  TYPE C." ZMATMAS-STATUS.       SELECTION-