Line not drawing at the correct location.

I have a JPanel inside a JScrollPane I am drawing on and drawing is going good except for one problem. At the very end of my paint method, I want to draw a vertical line on the panel that is exactly in the middle of the current visible rectangle. From what I can tell, it should be repainting in the dead center every time repaint is called, but for some reason it isn't.
Here is my paintComponent method:
    public void paintComponent(Graphics g)
        int wordWidth = 0;
        int wordHeight = 0;
        int duration = 0;       
        super.paintComponent(g);       
        g2d = (Graphics2D) g;
        g2d.setFont(font);
        /* draw a gradient background */
        g2d.setPaint(new GradientPaint(0, 0, new Color(100, 100, 100), 0, this.getSize().height, new Color(255, 255, 255)));
        g2d.fillRect(0, 0, this.getSize().width, this.getSize().height);
        /* draw lines for each note */
        g2d.setColor(Color.BLACK);
        for (int i = 0; i < GuiConstants.notes.values().length; i++)
            g2d.drawLine(0, (int) (GuiConstants.SONG_DISPLAY_HEIGHT - ((GuiConstants.SONG_DISPLAY_HEIGHT / 24) * (i))), this.getSize().width, (int) (GuiConstants.SONG_DISPLAY_HEIGHT - ((GuiConstants.SONG_DISPLAY_HEIGHT / 24) * (i))));
        synchronized (words)
            for (int i = 0; i < words.size(); i++)
                /* get the width and height of the text so we can draw a box around it */
                wordWidth = g.getFontMetrics().stringWidth(words.get(i).getLyric());
                wordHeight = g.getFontMetrics().getHeight();
                /* get the duration of the word */
                duration = ((words.get(i).getEndSample() / 200) - (words.get(i).getStartSample() / 200));
                /* draw the main box that the text sits in */
                g2d.setColor(Color.DARK_GRAY);
                g2d.fillRoundRect(words.get(i).getPoint().x, words.get(i).getPoint().y, wordWidth, wordHeight, 3, 3);
                /* draw a box that will be a duration */
                if ((i % 2) == 0)
                    g2d.setColor(Color.BLUE);
                else
                    g2d.setColor(Color.ORANGE);
                g2d.fillRoundRect(words.get(i).getPoint().x, words.get(i).getPoint().y, duration, wordHeight, 3, 3);
                /* draw the text in the box */
                g2d.setColor(Color.WHITE);
                g2d.drawString(words.get(i).getLyric(), words.get(i).getPoint().x, words.get(i).getPoint().y + 16);
        /* draw vertical line in the middle of the panel */
        int x = ((int) this.getVisibleRect().getX()) + ((int) this.getVisibleRect().getWidth() / 2);
        System.out.println("Drawing line at " + x);
        g2d.setColor(Color.RED);
        g2d.drawLine(x, 0, x, GuiConstants.SONG_DISPLAY_HEIGHT);
    }This section is the other part I am having problems with.
/* draw vertical line in the middle of the panel */
        int x = ((int) this.getVisibleRect().getX()) + ((int) this.getVisibleRect().getWidth() / 2);
        System.out.println("Drawing line at " + x);
        g2d.setColor(Color.RED);
        g2d.drawLine(x, 0, x, GuiConstants.SONG_DISPLAY_HEIGHT);When the panel displays for the first time, the line is painted directly in the center. When I click the right arrow on my JScrollPane, the output to the console says that is it drawing at the correct point, but actually the is never repainted and it moves with the panel as I scroll across. Now, if I click in the middle off the scrollbar to force the scrollbar indicator to scroll to where my mouse is pressed, it actually repaints correctly.
I am just confused on how I can be printing to the console the correct location where it "says" it's painting, but it doesn't actually repaint. Any ideas?

so wouldn't putting a panel in front of it prevent me from being able to main panel I am painting to?wouldn't it be easier to whip up a simple app, to test?
(take only 5 minutes)
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class Testing
  int xPos, yPos;
  public void buildGUI()
    JPanel overlayPanel = new JPanel();
    OverlayLayout overlay = new OverlayLayout(overlayPanel);
    overlayPanel.setLayout(overlay);
    JPanel draggingPanel = new JPanel(null);
    final JLabel label = new JLabel("Drag me");
    label.setBorder(BorderFactory.createLineBorder(Color.BLACK));
    Dimension dim = label.getPreferredSize();
    label.setBounds(50,50,dim.width,dim.height);
    draggingPanel.add(label);
    final JPanel linePanel = new JPanel(){
      public void paintComponent(Graphics g){
        super.paintComponent(g);
        g.drawLine(getWidth()/2,0,getWidth()/2,getHeight());
    linePanel.setOpaque(false);
    overlayPanel.add(linePanel);
    overlayPanel.add(draggingPanel);
    JFrame f = new JFrame();
    f.getContentPane().add(overlayPanel);
    f.setSize(400,300);
    f.setLocationRelativeTo(null);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setVisible(true);
     label.addMouseListener(new MouseAdapter(){
      public void mousePressed(MouseEvent me){
        xPos = me.getX();
        yPos = me.getY();
    label.addMouseMotionListener(new MouseMotionAdapter(){
      public void mouseDragged(MouseEvent me){
        Point me_p = me.getPoint();
        Point l_p = label.getLocation();
        label.setLocation(l_p.x + me_p.x - xPos,l_p.y + me_p.y - yPos);
        linePanel.repaint();
  public static void main(String[] args)
    SwingUtilities.invokeLater(new Runnable(){
      public void run(){
        new Testing().buildGUI();
}

Similar Messages

  • [svn] 3580: MXMLG-243 - Path does not draw in the correct location when width and height are set

    Revision: 3580
    Author: [email protected]
    Date: 2008-10-10 16:24:50 -0700 (Fri, 10 Oct 2008)
    Log Message:
    MXMLG-243 - Path does not draw in the correct location when width and height are set
    Fixed MatrixUtil.transformBounds to offset the four bound points by the origin
    Bug: MXMLG-243
    QA: Yes
    Doc: No
    Review: Evtim
    Ticket Links:
    http://bugs.adobe.com/jira/browse/MXMLG-243
    http://bugs.adobe.com/jira/browse/MXMLG-243
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/MatrixUtil.as

    Hi,
    For web application problem, please post your thread in
    ASP.NET forum.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and
    makes it easier for other visitors to find the resolution later.

  • Internal links (cross-references) do not direct to the correct location

    I am creating a glossary in Word 2003 that I would like to convert into PDF. I stored each entry as a bookmark (header) in Word, and many links throughout the document redirect to these bookmarked articles.
    When I convert to PDF (using Acrobat 8 Pro) the bookmarks and links come through, but now clicking a link brings you to the top of a page, rather than to a specific entry. The bookmark will bring you to the exact location, but the links are not as precise.
    I bought Acrobat for the specific task of creating this glossary, so this is a very frustrating issue to discover.
    Does anyone have ideas on how I can get linking to redirect to a specific line/word?

    Hello,
    No, we were never able to solve the issue. We decided to unlink the files
    and use only Robohelp instead of FM-Robohelp.
    Yadira
    Yadira Chaves
    Technical Writer
    Atrion International Inc.
    Tel: +1.514.337.2114
    Fax: +1.514.337.2115
    Mailto:[email protected]
    http://www.atrionintl.com/ & http://www.reachlegislation.com
    Address: 4777 Levy, Montreal, Quebec, H4R 2P9, Canada
    Avis:
    Ce message ainsi que les éventuelles pièces jointes constituent une
    correspondance privée et confidentielle à l'attention exclusive du
    destinataire désigné ci-dessus. Si vous avez reçu ce message par erreur
    nous vous remercions d'en informer l'expéditeur puis d'effacer
    immédiatement ce message de votre système.
    Disclaimer:
    This e-mail and any attachments is a confidential correspondence intended
    only for use of the individual or entity named above. If you have received
    this communication in error, please notify the sender, and then delete
    this message from your system.
    From:
    Pingjing <[email protected]>
    To:
    Yadira Chaves <[email protected]>
    Date:
    08/30/2010 01:34 PM
    Subject:
    Some FM cross-references do not convert to
    hyperlinks in RH
    Did you solve this issue yet? I have the exact same issue.
    Thanks.

  • After yesterday's "upgrade", iTunes can no longer find and play my music library.  It points to the correct location in "Advanced", but clearly iTunes is not actually seeing it.

    After yesterday's "update", iTunes can no longer find and play my music library.  It points to the correct location in "Advanced", but clearly iTunes is not actually seeing it.  What gives?  And why does Apple force these constant updates that just screw up everything?  It was all working fine yesterday before I ran the update.

    Does anyone know where I can get support for this issue?

  • Instagram location tag not tagging the correct location

    Hello,
    i noticed that when I tag the location of my photo, it finds the location but does not tag the correct location that everyone else is tagging in. it would be considered re same location and the only tag available, but when I look at the location after I post my photo, my photo will be the only one there.
    please help me change this!
    THank you!

    My GPS location is about a block or more off when I am inside a building. It is more accurate when I am outside. The thing is my non GPS map location was more accurate all the time.

  • File is not picking from the source location.

    Hi all,
    File is not picking from the source location. FTP is working properly and file is also placed in source location. I am new the XI, if anybody can give me the solution it would be really helpfull.
    Thanks to all.
    Korean

    Hi Majin,
      Check the folder path properly, check the file name( file name is case sensitive) you have given correct or not. See that your communication channel is active. Also check the cache status and check adapter status also by that you will come to know wht is the problem.
    Thanks,
    Ranjeeth.

  • How do I know which is the correct location of the JRE?

    How do I know which is the correct location of the JRE / JVM? What do I add to my PATH environment variable? I'm trying to install Sybase ASE on my Sun Fire v480 SPARC box, but keep getting the below error...
    "A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>"
    So I did the following...
    STEP 01) To confirm that Java is installed, I ran the java -version command. I received the following output...
    bash-3.00# java -version
    java version "1.5.0_17"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
    STEP 02) Then I tried to locate the location of where Java was installed...
    bash-3.00# which java
    /usr/bin/java
    STEP 03) Then I tried to confirm if it was a symbolic link or not...
    bash-3.00# ls -al /usr/bin/java
    lrwxrwxrwx 1 root other 16 Jun 24 01:54 /usr/bin/java -> ../java/bin/java
    STEP 04) The symbolic link doesn't seem to match any of the output below. Which is the correct location / path of Java (JVM / JRE)?
    bash-3.00# find / -name java -print;
    /usr/share/lib/java
    /usr/share/java
    /usr/bin/java
    /usr/sfw/include/mozilla/java
    /usr/include/firefox/java
    /usr/jdk/instances/jdk1.5.0/bin/java
    /usr/jdk/instances/jdk1.5.0/bin/sparcv9/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/sparcv9/java
    /usr/jdk/packages/javax.help-2.0/doc/api/com/sun/java
    /usr/java
    /usr/apache/tomcat/webapps/tomcat-docs/catalina/docs/api/org/apache/naming/java
    /usr/apache/tomcat55/classes/org/apache/naming/java
    /usr/apache/jserv/docs/api/org/apache/java
    /usr/j2se/bin/java
    /usr/j2se/bin/sparcv9/java
    /usr/j2se/jre/bin/java
    /usr/j2se/jre/bin/sparcv9/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/activitysupplier/activitysupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/airlinesupplier/airlinesupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/bank/bank-ejb/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-war/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-client/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-war/src/java
    /usr/appserver/samples/xml/apps/dom/src/java
    /usr/appserver/samples/xml/apps/sax/src/java
    /usr/appserver/samples/xml/apps/xslt/src/java
    /opt/staroffice8/share/Scripts/java

    I've been racking my head against the wall, but can't seem to find the solution... I've even installed the latest JRE (in a new location), but still seem to have the same problem. Please see the notes below...
    I installed the latest JRE in /export/home/jvm/jre1.6.0_17/
    bash-3.00# /export/home/jvm/jre1.6.0_17/bin/java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)
    bash-3.00# PATH=/export/home/jvm/jre1.6.0_17/bin:$PATH
    bash-3.00# export PATH
    bash-3.00# echo $PATH
    /export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    bash-3.00# JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    bash-3.00# export JAVA_HOME
    bash-3.00# echo $JAVA_HOME
    /export/home/jvm/jre1.6.0_17/bin
    bash-3.00# env
    HZ=100
    LC_MONETARY=en_CA.UTF-8
    TERM=xterms
    SHELL=/sbin/sh
    LC_NUMERIC=en_CA.UTF-8
    OLDPWD=/export/home/jvm/jre1.6.0_17
    PATH=/export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    MAIL=/var/mail/root
    LC_MESSAGES=C
    LC_COLLATE=en_CA.UTF-8
    PWD=/export/home/jvm/jre1.6.0_17/bin
    JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    EDITOR=vi
    TZ=Japan
    SHLVL=1
    HOME=/
    LOGNAME=root
    LC_CTYPE=en_CA.UTF-8
    LC_TIME=en_CA.UTF-8
    _=/usr/bin/env
    bash-3.00# cd /cdrom/disc1050709/
    bash-3.00# ./setup -console
    InstallShield Wizard
    Initializing InstallShield Wizard...
    Searching for Java(tm) Virtual Machine...
    .........................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>
    Is there something I'm missing?
    Thank you

  • How do I know which is the correct location of the JVM?

    How do I know which is the correct location of the JVM? What do I add to my PATH environment variable? I'm trying to install Sybase ASE on my Sun Fire v480 SPARC box, but keep getting the below error...
    *"A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>"*
    So I did the following...
    STEP 01) To confirm that Java is installed, I ran the java -version command. I received the following output...
    bash-3.00# java -version
    java version "1.5.0_17"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
    STEP 02) Then I tried to locate the location of where Java was installed...
    bash-3.00# which java
    /usr/bin/java
    STEP 03) Then I tried to confirm if it was a symbolic link or not...
    bash-3.00# ls -al /usr/bin/java
    lrwxrwxrwx 1 root other 16 Jun 24 01:54 /usr/bin/java -> ../java/bin/java
    STEP 04) The symbolic link doesn't seem to match any of the output below. Which is the correct location / path of Java (JVM / JRE)?
    bash-3.00# find / -name java -print;
    /usr/share/lib/java
    /usr/share/java
    /usr/bin/java
    /usr/sfw/include/mozilla/java
    /usr/include/firefox/java
    /usr/jdk/instances/jdk1.5.0/bin/java
    /usr/jdk/instances/jdk1.5.0/bin/sparcv9/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/sparcv9/java
    /usr/jdk/packages/javax.help-2.0/doc/api/com/sun/java
    /usr/java
    /usr/apache/tomcat/webapps/tomcat-docs/catalina/docs/api/org/apache/naming/java
    /usr/apache/tomcat55/classes/org/apache/naming/java
    /usr/apache/jserv/docs/api/org/apache/java
    /usr/j2se/bin/java
    /usr/j2se/bin/sparcv9/java
    /usr/j2se/jre/bin/java
    /usr/j2se/jre/bin/sparcv9/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/activitysupplier/activitysupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/airlinesupplier/airlinesupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/bank/bank-ejb/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-war/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-client/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-war/src/java
    /usr/appserver/samples/xml/apps/dom/src/java
    /usr/appserver/samples/xml/apps/sax/src/java
    /usr/appserver/samples/xml/apps/xslt/src/java
    /opt/staroffice8/share/Scripts/java

    I've been racking my head against the wall, but can't seem to find the solution... I've even installed the latest JRE (in a new location), but still seem to have the same problem. Please see the notes below...
    I installed the latest JRE in /export/home/jvm/jre1.6.0_17/
    bash-3.00# /export/home/jvm/jre1.6.0_17/bin/java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)
    bash-3.00# PATH=/export/home/jvm/jre1.6.0_17/bin:$PATH
    bash-3.00# export PATH
    bash-3.00# echo $PATH
    /export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    bash-3.00# JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    bash-3.00# export JAVA_HOME
    bash-3.00# echo $JAVA_HOME
    /export/home/jvm/jre1.6.0_17/bin
    bash-3.00# env
    HZ=100
    LC_MONETARY=en_CA.UTF-8
    TERM=xterms
    SHELL=/sbin/sh
    LC_NUMERIC=en_CA.UTF-8
    OLDPWD=/export/home/jvm/jre1.6.0_17
    PATH=/export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    MAIL=/var/mail/root
    LC_MESSAGES=C
    LC_COLLATE=en_CA.UTF-8
    PWD=/export/home/jvm/jre1.6.0_17/bin
    JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    EDITOR=vi
    TZ=Japan
    SHLVL=1
    HOME=/
    LOGNAME=root
    LC_CTYPE=en_CA.UTF-8
    LC_TIME=en_CA.UTF-8
    _=/usr/bin/env
    bash-3.00# cd /cdrom/disc1050709/
    bash-3.00# ./setup -console
    InstallShield Wizard
    Initializing InstallShield Wizard...
    Searching for Java(tm) Virtual Machine...
    .........................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>
    Is there something I'm missing?
    Thank you

  • My daughter has somehow figured out how to register for her own Apple ID but is very underage. She is not giving me the correct info for me to get into her email. She has downloaded some apps that I would not allow. How can I recover her Apple ID info?

    My daughter has somehow figured out how to register for her own Apple ID but she is very underage. She is not giving me the correct info for me to get into her email. She has downloaded some apps that I would not allow. How can I recover her Apple ID info?

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • HT1849 when I download album works from itunes it does not associate with the correct artist

    when I download album works from itunes it does not associate with the correct artist

    Where are you looking to download them from ? You might be able to redownload them via the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage on your Mac's iTunes. If that album shows there but doesn't have the cloud symbol against it for redownloading then that implies that it's still in your iTunes library

  • Non-image files are not copied to the Backup Location

    I'm on Aperture 3.0.3... I just noticed that non-image files (e.g., WAV files) are not copied into the Backup Location, although they are copied into the main folder location during an import. Does anyone else see this behavior?

    Shawnsat,
    Yes you can still stream from the host computer, the knowledge base article that describes this is http://docs.info.apple.com/article.html?artnum=305098. If you are attempting to display Photos on Apple TV, they must be synced to the Apple TV, per knowledge base article http://docs.info.apple.com/article.html?artnum=305139.
    Cheers,
    John

  • The TOC in my generated project is not navigating to the correct subfolders

    The TOC in my generated project (Multiscreen HTML5/Andriod (Desktop) layout) is not opening to the correct sub folders.
    For example, when selecting a Level 1 folder (say the one highlighted in orange), it will jump to a Level 3 list of topics in a completely different level 1 structure (say the list highlighted in green)
    Level 1
           Level 2
                  Level 3
                  Level 3
                  Level 3
           Level 2
                  Level 3
                  Level 3
                  Level 3
    Level 1
           Level 2
                  Level 3
                  Level 3
                  Level 3
           Level 2
                  Level 3
                  Level 3
                  Level 3
    I have looked at the TOC report, everything is fine there, the TOC in roboHelp looks fine as far as I can see.
    I have noooo idea how to fix this!

    Check what is happening in webhelp. Same problem there?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • I have iTunes 10.5 and a 4g iPod touch. WHen I upgraded to 5.01, my photos are not all in the correct folders. Any ideas?

    When I load my photos on my 4g ipod touch with iOS 5.01, the photos are there but not all in the correct folders. How can I correct that?

    I spent last week looking for a solution to that little yellow "!" needle haystack....
    It is probably buried where nothing can touch or change it other than what I resorted to and would have saved time, clean install after I made sure to have two backup sets: Windows Easy Transfer plus Paragon clone OS and partitions to drive. Had to spend a full day reinstalling, updates, etc. Careful not to bring back any prefs or data that might be corrupt or wrong.
    10.5 and iOS 5 on new iPod 4G works much better though and as they should and no issues like I had with AMS or other services or needing to restart first before launching iTunes.

  • Fotos not showing in the correct order

    Hi
    Since i updated Apple TV's Firmware to version 5.1 (the latest version), fotos from iPhoto are not displayed in
    the correct order anymore. Usually the date when the picture was taken is the order in which fotos are displayed.
    Any idea? I couldn't find any settings.
    On iPhoto on my Mac, no problem.
    Thanks for helping me
    Thomas

    Problem solved, it was definetely iPhoto. The latest update a few days ago solved it. Pictures in events are now shown in the same order as in iPhoto again. In my case, the date when the picture was taken.

  • Item values not listing in the correct order.

    Hi,
    When I click on header record synckey link, the corresponding item records are not listing in the correct order, in the MI Client. Can anybody suggest a solution for this.
    Regards,
    Shemim

    Hi Divya,
    I am attaching sample data obtained at Back End & MI Client.
    Value in Back End
    PHYSINVENT FISC ITE MATERIAL           PLAN STGE
    1000015    1998 001 T-RF100            1100 0001
    1000015    1998 002 T-RF200            1100 0001
    1000015    1998 003 T-RF200            1100 0001
    1000015    1998 004 T-RF200            1100 0001
    1000015    1998 005 T-RF300            1100 0001
    Value in MI CLient
    SYNC_KEY PHYSINVENTORY FISCALYEAR ITEM MATERIAL PLANT STGLOC
    0001001234  0001000015  1998  005  T-RF300  1100  0001   
    0001001233  0001000015  1998  004  T-RF200  1100  0001   
    0001001232  0001000015  1998  003  T-RF200  1100  0001   
    0001001231  0001000015  1998  002  T-RF200  1100  0001   
    0001001230  0001000015  1998  001  T-RF100  1100  0001   
    Regards
    Shemim

Maybe you are looking for