Strange observation about the straighten tool

I found, that after making adjustments with the straighten tool, other's like exposure or saturation, that usually are quite fast become very sluggish. Disabling the straighten adjustment temporarily makes the other adjustments sliders react fast again.
Now the strange part:
Sometimes making an additional adjustment makes the before sluggish sliders react fast again WITHOUT deactivating the straighten adjustment before.
Example:
making a straighten adjustment -> exposure slider is now very sluggish
now making an additional shadows adjustment -> exposure slider is no more sluggish
So even Aperture now has to do more calculations the GUI is faster. Weird!
I found, that the problem with the straighten tool occurs more often, if it is the first adjustment you apply.
I didn't find a way to make the behavior 100% reproducible. It is somewhat random.
Would be nice, if someone else could investigate into this issue as well.
I suspect, Aperture somewhat mixes up the order in which it applies the adjustments. When the other sliders show the sluggish behavior, Aperture probably recalculates the straightening adjustment from the RAW for each screen refresh, while it uses an already straightened cache file, when the sliders work fast.
If Aperture has an issue with the optimal processing order with other adjustments as well, this may be an explanation for the hugh differences in GUI performance experience, that are reported here for nearly identical hardware.
Peter
Quad G5, GT 7800   Mac OS X (10.4.8)  

David,
it is not just the Shadows/Highlights.
I extended my test a bit. Below you find a list. All effects with a + increase the speed:
Red Eye Correction -
Spot & Patch -
Levels +
Highlights & Shadows +
White Balance -
Color +
Monochrome Mixer -
Color Monochrome -
Sepia Tone -
Noise Reduction +
Sharpen +
Edge Sharpen +
During that test with enabling/disabling each adjustment, it happened occasionally, that after enabling/disabling an additional adjustment, the Brightness slider kept the speed gain (with only Straighten enabled). Disabling and re-enabling Straighten brought back the sluggish behavior.
Your Viewer window must have a minimum size to show the effect . If the actually displayed picture size is below approx. 720x540 px for 4:3 or 724x480 px for 3:2 pictures, enabling the Straighten tool doesn't slow down the Brightness slider (and other adjustments) noticeable and thus there is not speed gain by enabling other adjustments.
I suspect it has something to do with the amount of memory in the graphic card. I disconnected my second monitor to see, whether the cutoff now shifts towards a larger Viewer area (assumed memory for second display would now be available to Aperture). Result: No it didn't change. So there might be an limitation within core image, that is independent from the graphic card memory.
Nevertheless it would be interesting, if others could check, what's the maximum Viewer size they can use, before the speed penalty dials in, when enabling the Straighten tool. I'm especially interested in reports from people with an 128 MB and 512 MB graphic card (mine is 256 MB).
To do this test, choose Basic view (Viewer at top, Browser at bottom), maximize the Browser area by dragging the window separator towards the bottom, rotate a RAW file with the Straighten tool and then drag the Brightness slider. It should move very sluggish (if not you're a lucky guy). Now diminish the Viewer area, until the Brightness slider moves smoothly. Play around with the size of the Viewer window, until you get the exact size, where the behavior changes. Now make a snapshot (cmd-shift 4) of the displayed picture (actual picture area, not whole viewer window), and check for picture dimensions with Get Info. Post your results here.
The above observations make me to over-think my current dual monitor workflow. Instead of using both displays with Aperture, with Projects, Browser and Adjustments on my 24" LCD and the pictures displayed on my carefully profiled high-end CRT, it might be a faster workflow, to drag over the whole Aperture window to the CRT, make sure the Viewer window is not wider than 720 px and do my adjustments there. A bit annoying to have a setup similar to that in these cool, stylish Aperture ads from Apple, but have to work on a single monitor with a tiny Browser window to get acceptable speed when adjusting my pictures.
The fact that an additional adjustment can speed up things, when using a larger Browser window or full-screen mode, shows, there is still something to improve with Aperture's performance. I hope Apple will investigate into this issue.
Btw.: Does anybody know, how I can make Apple aware of my findings? Or do they know already, because they monitor this list?
Peter

Similar Messages

  • Aperture Performance Bottleneck- the Straighten Tool ?

    While waiting for the next generation of MacPro's, I'm constantly frustrated by the performance of Aperture. I've got a maxed out MBP with 7,200 RPM internal drive, referenced masters on an ultrafast eSATA RAID, latest updates of everything, fresh OS, rebuilt Aperture Libraries, full test for bad RAM, etc. My current working library is around 25,000 images, and I try to keep projects to less than 1,000 each.
    But some images take forever (up to a minute!) to load, and making adjustments often instantly brings up the spinning beach ball of death. It's gotten to the point where I dread sitting down to work because of the inevitable frustration and lack of productivity.
    Last night I was reading Vincent Laforet's blog about the 28,000 or so shots he made at the Olympics. He uses Aperture, and while he may have a slightly more powerful 17" MBP, I can't imagine that he would use an application that would slow him down in the slightest. What is going on here....
    I made a fresh library and put a few images in it and started playing around. One thing I noticed was that using the straighten tool seems to slow down the responsiveness of the sliders in the other adjustments. In other words, I can adjust white balance, exposure and enhance with only minor slowdown as I move from one brick to the next, but once I apply straightening, then things start crawling or spinning or hanging. I haven't tested this thoroughly, but my guess is that other similar tools such as cropping, or retouching may also have a disproportionate affect. If I remove all the adjustments, the images load instantly, and the sliders are responsive again.
    Yes, I have read and applied Bagelturfs excellent advice on the subject: http://www.bagelturf.com/aparticles/tips/tipperf/index.php
    and yes my 30" is probably slowing things down a bit, but the slowdowns are way beyond acceptable.
    While a high horsepower desktop will certainly help, I still need to use my MBP on the road. Short of dreaming of Aperture 2.1.2 (or 3.x) and whatever improvements it may or may not bring, I'm really curious how other people who are trying to use Aperture for daily professional work on the MBP are dealing with this.

    OK, did some testing.....
    1) Did a 100% fresh install on an external FW800 drive. No Share/Freeware, just OS & Aperture. App launched slightly faster, but not much. Adjustments seemed ever so slightly faster, but not much. Overall experience was about the same.
    2) Disconnected the external monitor and ran Aperture from the fresh install. Everything seemed snappier. Image pops into full screen much faster. Adjustements were snappy. Adding the Straighten adjustment did slow things down, but overall performance was improved.
    3) Booted back to my daily OS (which has some free/shareware, but mostly mainstream stuff and no Unsanity, APE, etc.) Tested in my normal configuration. Seemed about the same as running off the fresh OS.
    4) Ran from my daily OS, but without the external. Bingo. Snappy. Can move the levels slider in real time. Could not get any of the adjustments to beachball. Straighten slows things slightly.
    So it looks like the video card is the culprit. I've got a mid-2007 MBP with the 256MB of VRAM. I see the newest MBPs have 512MB (but still using the same GeForce 8600)
    I upgraded from my 23" ACD to the 30" NEC for both color accuracy and to speed up my workflow by giving myself more real estate for comparison, etc., but I now see that without a MacPro and speedy graphics card I've shot myself in the foot. I'd spring for a MP except a refresh seem like its probably right around the corner. Would be wonderful if Apple shifted its focus away from the iPhone/iTunes for a few nanoseconds and released a real workstation.....
    In the meantime I'm in this strange limbo where if I want to use my ultra color accurate monitor for adjusting images, I have to deal with slow motion software. (BTW, the NEC LCD3090wQXi and Spectraview software is fantastic. Maybe 95% the quality of an EIZO for 50% of the cost.)

  • Step Back after using the straighten tool

    My work flow ends with the straighten tool, but sometimes I'm not happy with what I've done. Thank God this does not happen often, but when it does I have had to go back to start with my PP in ACR. HELP, HELP, HELP

    I'm afraid that is how it works. Once you have opened the image in Photoshop you are no longer doing anything with the original raw file. You have loaded the pixels from that file into Photoshop, but they are the pixels that have been modified by the metadata.
    But you should only have to return to ACR to change the strengthening, unless you have done a lot of additional editing in Photoshop. Perhaps it would be better to do the straightening as a first step in Photoshop.
    I don't know about you, but since I have been using ACR 4.1 I find that I can do a lot more in ACR and considerably less in Photoshop.

  • Why does the straighten tool in Elements 11 freeze when I try to use it?

    When I click on the straighten tool and then click on a horizontal line on my photo, as I attempt to draw the line across the photo it freezes after a fraction of an inch and rotates the photo before I've drawn the line along the horizontal feature I'm using and it's always wrong. I had this problem with my downloaded trial version of Elements 11 and it appears on the version I purchased in the store today.

    I was able to replicate this problem and believe it may be a bug, although I did find a "workaround".
    The straighten tool was only drawing for a very short distance and then I would no longer see the straighten line.  Of course, this prevented me from using it properly.  I followed the suggestions in this thread and reset the preferences.   The Straighten tool worked normally until I enabled the ruler under the View settings.  Once, the ruler was enabled the straighten tool started doing the same thing it did before.  I turned off the ruler and it started working normally again without re-opening the program.  I tried the ruler both in the default inches measurement as well as pixels (my personal ruler preference).
    The workaround would be to turn off the ruler while straightening.  However, I hope this is fixed in a patch.  I didn't have this problem with Photoshop Elements 9, the last version of Elements I had prior to upgrading.    For the record, I'm running Windows 7, just installed Photoshop Elements 11 and immediately downloaded the updates, which I believe was just the Adobe Raw 7.3 update.

  • I want to know more about the Sanapshot tool. What is its purpose? how do I use it?

    I want to know more about the Sanapshot tool. What is its purpose? how do I use it? I have searched Firefox Help, but did not find a clear answer.

    That is not part of Firefox. It is either an add-on for Firefox which you installed, or it is a separate program you have.
    Also, is '''Sanapshot tool''' the correct name? Or did you mean '''''Snapshot'''''?

  • Why is the 'Straighten' tool so crude?

    Ok, it does what 'it says on the tin', fair enough. But ANY deviation from the original using the straighten tool softens the image drastically. This can be seen by slowly moving the slider back to the 0 position : you will see the image suddenly crisp up again.
    Why is this? iPhoto is very competent at most of what it does, yet Photoshop manages to let you freely rotate an image without losing any of the sharpness. I've given up using the iPhoto 'Straighten' tool, as even boosting the Sharpness slider to 100% doesn't restore the original crispness entirely.

    This is what I got with your image:
    1. Unstraightened
    2. Minimum straighten (0.6º)
    This screenshot was taken immediately after clicking "Done", but before clicking the navigation arrow to save the edit and move to the next image. If you expand both you should see the softening.

  • Suggestions about the best tool for quality check for an ADF application

    Hi All,
    I need a few suggestions about the best tool for quality check in our ADF applicaiton.
    ours is a small size WebCenter Portal application which neither uses any task flows nor consumes any portlets.
    It has many jspx pages that use ADF components like table etc, consume web services using web service clients, and has some java classes.
    We have come across below option to implement the code quality tools.
    1. Jdeveloper inbuilt Staus option in View tab
    2. PMD extension for Jdeveloper
    3. Red Samurai
    Few more suggestions or best practices would be really helpful.
    Thanks,
    Usha

    Some general ADF / Webcenter coding standards -
    http://umeshagarwal24.blogspot.com/2012/06/adf-coding-standards-check-points.html
    You can use JAudit as well as mentioned in the blog.

  • A little question about the pencil tool

    I have just a tiny guestion about the pencil tool in illustrator.
    When i want to draw like it is a real pencil and make a lot of lines with it, then everytime when i'm drawing lines are disappearing because i'm drawing it again.
    Maybe thats because i'm drawing over the other lines...but is there a simple way to make new lines all the time, so i can draw a bunch of lines over each other and agross etc.
    hope you understand my crappy english.
    with love,
    Linda

    Double click the pencil tool icon and check the options. You won't want to "edit selected paths"

  • Observation about the rating's location

     This is just an observation about the rating's location.  Not a criticism...  just an observation...
    The ratings are located to the rightmost position of a page.  If images are attached, sometimes the page is not completely visible and hides the higher rating such as 4 & 5 .   If I like a post, I quickly head down to the right corner of the displayed window and go for the rightmost radio button.  I nearly gave Altenbach a rating of 2 on one of his posts  
    [SHAME ON]
    I've given a 1 star rating once because the eye was slower than the mouse 
    [SHAME OFF]
    With loss of peripheral vision to the right side, I now have to be 2X as caution when giving ratings... 
    or I need to slow down when reading posts
    Is it possible to move the ratings (1 to 5 stars) to the left, or have it adapt to the right of the active window? not the overall window.. 
    Thanks,
    RayR

    I wonder how many times I didn't even notice which radio button got hit... 
    Especially since it does not give the rating right away...

  • About the STM tool~

    Dear Sir:
    I sent a question to SAP as follow~:
    I download the SAP Tools for MS SQL Server STM but can't start.
    I restore the MS SQL 2005 DB from R/3 4.7 x110 32 bit windows source
    system to R/3 4.7 x110 64 bit target system.
    And I followed the 683447 note and 551915 note and 151603 note tried to
    migrate DB from source DB to target DB.
    but I can't start the STM it just stop and tell me to contact to the
    support team.
    Please tell me what's wrong.
    my OS is Windows 2003 64 bit NT R2 64bit.
    MSSQL 2005
    R/3 4.7 x110
    and SAP reply~:
    Dear customer,
    Please set up the WTS connection according to the attached SAP note
    "605795". And to open the service connection, please refer to the
    documents available at the following URL.
    http://service.sap.com/access-support -> 'Connect to SAP'
    -> 'Documentation'.
    Best regards,
    Nay
    SAP Network Support
    Actually I don't know how to set up  WTS connection & what's the essential for doing it.
    I only wanna solve my problem about STM tool and finish DB migration.
    Can anyone give me a suggestion?
    Or any knows how to solve my problem?
    Regards
    Jack lee

    Dear Sir:
    I followed the note 605795 and added a new MIS in System Data,but I can't set up the windows terminal server.
    Here is my saprouttab,is anything wrong with that?
    What should I do next?
    P/S/D source dest dest-serv passwd
    SNC connection to SAP
    KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
    SNC-connection from SAP to local R/3-System for Support
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.1.1 *
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.1.2 *
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.1.3 *
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.1.6 *
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.12 *
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.13 *
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"  192.168.0.13  3389
    SNC-connection from SAP to local R/3-System for pcAnywhere
    #KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" sapwas 5631
    SNC-connection from SAP to local R/3-System for SAPtelnet
    #KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" sapwas 23
    SNC-connection from SAP to local R/3-System for Netmeeting
    #KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" sapwas 1503
    Access from your local Network to SAPNet - R/3 Frontend
    #P 192.6.* 194.39.131.34 *
    P * * *
    All other connections will be denied
    #D * * *

  • True or False about the pen tool in Photoshop?

    Since Photoshop is mostly a raster image program,
    and the Pen Tool is better for vector drawing in vector programs,
    the Pen Tool is virtually useless in Photoshop, even if you want to
    outline and mask something.
    I always thought it was easier to use the paintbrush.
    The pen tool in Photoshop is just silly.

    Buko:
    Don't be silly. I use the pen tool all the time (for cutouts, as a tool, text on path, you name it). Read post 17 -- 75 hours a week for four months cutting paths. Only cutting paths. A client that wanted the path between the dark and light pixels in the USM halo. The psychological damage is probably starting to surface now.
    I understand how paths can be useful. I also wonder if their usefulness might have run its course. The reason I used paths 10 year ago was that I **had** to use paths. Don't you use them less for your mag now than you used to? Aren't you a big proponent of PSD outlines? In my workflow I find less and less of a need for them. But I make Medicaid brochures. It would be great to hear from some folks who use vector masks and need them for x reason.
    I'm having trouble visualizing x.
    J

  • (CS4) Question about the gradient tool

    There was a time when the default behavior for the gradient tool was "foreground to transparent"
    Then, at some point, the default behavior became "repeat last gradient" - even if the last gradient was an FX applied to a layer.
    I find the latter annoying as hell, and slowing me down considerably, in that I have to click on the gradient and manually select "foreground to transparent" every time I need to use it.
    Is there any way to change this default behavior?
    Thanks!

    Nope. I filed a bug report on this way back then, but apparently it was not important enough to be changed back in a patch update.
    Mylenium

  • Three questions about the developer tools

    At my company we have evaluated this very handy tool, and we have only three questions...
    * Will the autocomplete feature be more intelligent. For example pl/sql developer recognize partially written table names and suggest a full name.
    * How to debug and step through the procedures?? This is a MUST!!!!
    * Is it possible to add source control integration (source safe) for the packages/procedures?
    With these features, it will be super!!
    /henrik

    When I was at the VSLive in San Francisco back in February, I spent some time at the Oracle booth and I asked for Source Control also.
    I was told to my happy suprise that lots of other developers had been asking for that also but I was shocked when the Oracle reps told me that they didn't understand why people would want this feature or how they would use it. They tried to convince me that "Generate Create Script" was what I wanted.
    Btw, "Generate Create Script" ticks me off. It always sticks the package owner in the create script and when I check it back in VSS I have to go in and edit it back out!!!
    It seems to me that the mindset behind many Oracle tools is to work "on the database". I will admit that I don't use many Oracle tools. I used Procedure builder a few times but thats about it. To me it seemed pretty clunky, but it was nice to be able to debug a stored procedure. Or it was until you crashed the SP and it became locked in the database and un-updatable without a bounce ;)
    Most developers that I know, prefer to work "on their hard-drives" and publish to the database or some variation on that.
    I would love to see a tool for editing SPs and Packages where I could check out my code, make a change, compile it on the DB, and check my changes back into the source control. One more catch, we use VSS's ability to update the version number in a source code file on check-in so the version that ends up in the DB should have the "new" version number in the comment header.
    Also, the "Auto Code Generation" tool is not geared towards the type of code I write. I thought we were supposed to get away from writing data access code in our forms? Yet, this tool throws all kinds of stuff in for doing just that and no tools to make it easier (that I could find) to create a data acces layer for wrapping my stored procedures and packages. Where are these tools, Oracle? Help us write better code, not worse.
    The autocomplete is nice, but I have trouble with it. For example, if I type a table name and "." it will bring up all the columns in the table. If I type "R" it scrolls to the first column that starts with "R". But if I type "S" next, instead of scrolling to the first column that starts with "RS" it spits out the currently selected column and sticks an "S" on the end. Other times it doesn't work at all.
    The "Query" window is next to useless. It should work more like a SQL Plus (DOS) window. Or at the very least more like a SQL Server Query Analyzer Query window. I'll keep my SQL Plus until this is way better.
    Hopefully the next version (or 2 or 3) will be better. I hope Oracle is listening. They did acknowledge that other developers were asking for some of the same improvements.

  • 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 :-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • A few IMPORTANT observations about the iPod Touch (MUST READ)

    While doing research on iPod Touch (to purchase for myself), I discovered the following review http://www.ilounge.com/index.php/ipod/review/apple-ipod-touch-8gb-16gb/P0
    It is by far a VERY detailed review of the iPod Touch.
    One thing that i had noticed before was that on the comparison page of the iPod's the 8GB iPod touch states it can hold up to 1750 songs, while the iPod Nano 8GB can hold 2000 songs. Which lead me to ask why.
    In the review, it says:
    iPod nano 8GB = 7.41GB available free space
    iPhone 8GB = 7.24GB available free space
    iPod Touch = 7.08GB available free space
    Now i understand that the iPod Touch and iPhone use OSX and that uses a large chunk of space, but why is there 160mb missing? You'd think that the iPod Touch would have MORE available space than the iPhone, since a LOT of the applications are missing, as well as there is less hardware installed = less drivers.
    Now I kind of agree with the reviewer when he says that the iPod Touch is a downgrade from the iPhone. Technically speaking the iPod touch is the most expensive and top of the line in the iPod family, yet it suffers a huge loss when compared to the iPhone.
    The following things are missing from the iPod touch (at the cost of $100 less): Dock, charger, camera, external speaker, microphone, battery life, screen quality, resilient back casing, Bluetooth, and several applications!
    Now someone might ask, Saeid just get an iPhone then. But the problem is that the iPhone is NOT available in Canada (officially) and IF one day it does become available, chances are it would be with a contract on Rogers (i'm on Fido).
    I look forward to your views on the matter. Perhaps i AM over looking a few things. I am a HUGE fan of Apple, i ask because i usually look at EVERY single aspect of something before i make a purchase.
    Saeid.
    P.s. Forgot to mention that in the review, it also states that the Sync (upload) time is much slower on the iPod Touch than the iPhone. The battery life one might argue is due to the fact that the Touch is smaller in size, but how would you explain the rest of the issues?
    Message was edited by: Saeid

    I am probably one of the few people on the planet who seldom uses a mobile phone. I have only a bare-bones phone plan. When I use a camera, I want one that takes high quality photos. At this point, I don't care that much about Bluetooth or a microphone.
    I bought my Touch for the expanded music & video storage. I prefer flash memory to a hard drive so I didn't choose the iPod Classic. The Wi-fi is a bonus that works well for me. It would be nice if I had access to the Web all the time, but I don't want the ongoing monthly costs for an iPhone.
    I've had my Touch for almost two months. It was an excellent choice for me. Chris Breen of Playlist revisits the Touch in his blog. Take a look at it for some good points: http://playlistmag.com/weblogs/ipodblog/index.php#61228

Maybe you are looking for

  • How can I use cutom build icons in labview as a switch ?

    I have two questions: I am trying to make a user interface, using custom-build icons. -How can I load/copy my icons into labview? What would be the best sollution for the usibility of the icons: -should I try to use the icon as a new overlay for labv

  • AMX Pie Chart Slice Label

    I'm trying to customize the slice labels in my pie chart. It looks like the textType attribute of the dvtm:sliceLabel tag might provide me what I need, but there is little information. Where does the component get the "text" to display? The percentag

  • Polling over https not working

    Hi, How do I change below to make it work with https? I tried with AMFSecureChannel but that did not work. Appreciate any help... thanks! <channel-definition id="my-amf-poll" class="mx.messaging.channels.AMFChannel">     <endpoint         url="http:/

  • Swapping out hard drive fro SSD - does this invalidate the warranty?

    I'd like to install a Seagate Momentus XT 500GB SSD Hybrid Internal Hard Drive http://bit.ly/SSDHybrid in a MacBook Pro I'm buying. Will I be invalidating the warranty...?

  • GRC 5.2 SP upgrade

    Hi Guys, I have GRC 5.2 SP3 available in our Sandbox. If I wish to upgrade it to SP9 (which is the latest) via SDM, can I just download SP9 (from SP3->SP9) and deploy it without going through the SP upgrade sequence...like from SP4->SP5->SP6->SP7->SP