Help really needed in rotating a bufferedImage

Its so silly, but i've been trying to get this for more than a week now and i cant get it to work.
I have a gravity simulator and i want to rotate an image of a small ship. Just to mention it.. i have one thread that does the physics. I want to do two things: move and rotate (i always get the move method working, but not the rotate one)
I have a class Nave (ship in spanish) and Graficador (the jpanel that paints everything). I want to say that ive tried really ALOT of things (yes, ive read google, the forums... i just like to ask for help when i really need it).
So: here's what i've tried:
-Ive tried to have a general affineTransform in Nave, then, when i call for example rotate, i just modify the AffineTransform and then use it to paint in the Jpanel. Something like this:
In Nave
public void rotarDer(){
        this.at.rotate(Math.PI/2,this.info.getPosX()+5,this.info.getPosY()+5);
    }And in the Jpanel:
if(this.nave.at!=null){
            g2.drawImage(this.nave.imagen,this.nave.at,null);
        }Ive also tried to use drawRenderedImage with the AffineTransform, but the result are the same: the coordinate system changes (i think because of the AffineTransform) so the gravity takes the ship to the right instead of making it fall down. Ive tried to "store" the affineTransform before any change, and then reapply it after drawing the image, but doesnt seem to work either.
Also, with this approach, ive tried to create a "buffer" in Nave, then paint the image in the buffer with the affineTransform, and finally paint this buffer in the jpanel, but it gets messed up anyway.
Ive tried many approaches, but i think i will just mention this one, and see if with your help i get this one to work... i just need to make the coordinates "right" after drawing the image in the jpanel so the gravity works well...

It wasn't clear how you were trying to use AffineTransform other than rotation in a
gravitational field. To avoid altering the coordinate system orientation try making a
transform for each rendering of an image by moving the image to the location where you
want to show it and then rotatng the image about the specific point in/on the image that
will give the desired final location/orientation. This sounds vague because there are
multiple ways to see/do this. Here's an example of one way:
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import javax.swing.*;
public class RotationExample extends JPanel {
    BufferedImage image;
    Point[] points;
    RotationExample() {
        makeImage();
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                            RenderingHints.VALUE_INTERPOLATION_BICUBIC);
        if(points == null) initPoints();
        markPointGrid(g2);
        // Center image over points[0] and rotate 45 degrees.
        int cx = image.getWidth()/2;
        int cy = image.getHeight()/2;
        double theta = Math.PI/4;
        double x = points[0].x - cx;
        double y = points[0].y - cy;
        AffineTransform at = AffineTransform.getTranslateInstance(x, y);
        at.rotate(theta, cx, cy);
        g2.drawRenderedImage(image, at);
        // Center image over points[1] and rotate 135 degrees.
        x = points[1].x - cx;
        y = points[1].y - cy;
        theta = Math.PI*3/4;
        at.setToTranslation(x, y);
        at.rotate(theta, cx, cy);
        g2.drawRenderedImage(image, at);
        // Move tail over points[2] and rotate 180 degrees.
        x = points[2].x;
        y = points[2].y - cy;
        theta = Math.PI;
        at.setToTranslation(x, y);
        at.rotate(theta, 0, cy);
        g2.drawRenderedImage(image, at);
        // Mark points.
        g2.setPaint(Color.cyan);
        for(int j = 0; j < points.length; j++)
            g2.fillOval(points[j].x-2, points[j].y-2, 4, 4);
    private void markPointGrid(Graphics2D g2) {
        int w = getWidth(), h = getHeight();
        g2.setPaint(new Color(220, 230, 240));
        for(int j = 0; j < points.length; j++) {
            g2.drawLine(points[j].x, 0, points[j].x, h);
            g2.drawLine(0, points[j].y, w, points[j].y);
    private void makeImage() {
        int w = 75, h = 45, type = BufferedImage.TYPE_INT_RGB;
        image = new BufferedImage(w, h, type);
        Graphics2D g2 = image.createGraphics();
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        g2.setStroke(new BasicStroke(4f));
        g2.setBackground(getBackground());
        g2.clearRect(0,0,w,h);
        g2.setPaint(Color.red);
        g2.drawLine(w, h/2, w-30, 0);
        g2.drawLine(w, h/2, w-30, h);
        g2.setPaint(Color.blue);
        g2.drawLine(0, h/2, w, h/2);
        g2.dispose();
    private void initPoints() {
        int w = getWidth();
        int h = getHeight();
        points = new Point[3];
        for(int j = 0; j < points.length; j++) {
            points[j] = new Point((j+1)*w/4, (j+1)*h/4);
    public static void main(String[] args) {
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(new RotationExample());
        f.setSize(400,400);
        f.setLocation(200,200);
        f.setVisible(true);
}

Similar Messages

  • Your help really needed...Report for LSO

    Hi All,
    The customer need a report which shows the last even date of each course types. Does anyone know how to do it? (Except generate Course Dates report and then sort it.) Really urgent!!!
    Thanks!
    Vivian

    Hi Vivian,
    BI has more standard reports than R/3. However looking at your requirements, I dont think any of the standard BI report will help your clients. You have to create a custom ABAP report or a new Bex Report.
    See this link for available BI queries.
    http://help.sap.com/saphelp_nw70/helpdata/en/8a/4bbf3d0133bf14e10000000a114084/frameset.htm
    Sanghamitra

  • I have a lot of imformant on my ipad and havent connect it to a computer or anything that will save my stuff i dont want to restore it but i cant think of the password at all any others thing i can do to save all my stuff? help really needed!

    Hi, I just changed my password for my ipad 4 and my keypad has been messed up for a while. As I was typing in my new passcode it double cliked a number and i dont one which one it clicked twice for as i was typing it in the second time the same thing happened again and was accepted! i locked my ipad and when i can back to it i typed in my passcode and would go in i kept trying and ran out of attempts. It is down to 2 more attempts and then it will be drained. I have alot of informant on the ipad and havent backed it up to any icloud or any other saving things! i really dont want to lose my stuff on the ipad by restoring it and other thing i cant do? PLEASE HELP, I REALLY WANT TO KEEP ALL MY STUFF! THANKS

    is there any important stuff saved to your emails? if so you could log on to your emails from a seperate device and back them up. im not sure what else you could do :/

  • Multiple kernel panics- help really needed-log included

    Please bare with me, want to give as many detaisl as possible:
    So in general the computer is running along fine, there are a few odd quirks including the inability to open azureus bit torrent files by double-clicking them though I used to be able to, and occasional airport outages which are becoming of recent a bit more frequent. But I could live with that, maybe azureus is acting screwy and maybe my ibook is just located in an odd place and getting spotty reception.
    Yesterday when I unplugged my computer from teh wall, it froze after 3 minutes, no "please restart your computer" just a complete freeze. I shut down and restarted only to have it kernel panic immediatly. Restarted it and bam another kernel panic. This time I just shut it down, and let it rest. Turned it back on only to have nothign happen except the fans starting blasting at full power. Another hard reset. Got to the finder, greeted by message about the date being incorrect and potential problems this coudl cause. I worked for five minutes and then another kernel panic. I let the computer "rest" over night, and began using it in the morning with airport off, and it worked fine, i then turned on airport and it has since been working fien except for the occasional airport outtages from before.
    Incidentally the computer has frozen before, always after I have unplugged the ibook from the wall. I have heard the multiple kernel panics like the one I experienced likely result from hardware issues, just wanted to see if there are any software fixes I can make before I send it in.
    I'm including my kernel panic log in the hopes that someone can decipher it and explain what the issue may be. I'm starting to think there mayb be an issue with the airport card, but I really do not know. Ram has been upgraded but I am confident that the ram is not at all faulty.
    Thank you very much.
    Sun Feb 12 22:58:56 2006
    Unresolved kernel trap(cpu 0): 0x300 - Data access DAR=0x0000000000000016 PC=0x00000000004F8D90
    Latest crash info for cpu 0:
    Exception state (sv=0x384EFC80)
    PC=0x004F8D90; MSR=0x00009030; DAR=0x00000016; DSISR=0x40000000; LR=0x004FB4E8; R1=0x21FA2EB0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x004FFC08 0x004FAE28 0x004FA8D8 0x004FA590 0x004FA054 0x004F9D00
    0x004F9C9C 0x002D0018 0x004F9C54 0x004F5B10 0x00506ECC 0x00509360 0x0050BA94 0x004DB3A8
    0x004DE02C 0x004E12F0 0x004E0474 0x004DCE6C 0x004DC9DC 0x004E6A64 0x004EC808 0x004E6A64
    0x004E9F6C 0x004E8E98 0x00108A38 0x000D5DCC 0x000FE254 0x000DBC60 0x000DC4A0 0x0022B734
    0x000FDA70 0x002A3C80
    backtrace continues...
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.IOATABlockStorage(1.4.2)@0x505000
    dependency: com.apple.iokit.IOStorageFamily(1.4)@0x4d7000
    dependency: com.apple.iokit.IOATAFamily(1.6.0f2)@0x4f4000
    com.apple.iokit.IOStorageFamily(1.4)@0x4d7000
    com.apple.iokit.IOATAFamily(1.6.0f2)@0x4f4000
    Proceeding back via exception chain:
    Exception state (sv=0x384EFC80)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x384F1000)
    PC=0x9B5D7B98; MSR=0x4200D030; DAR=0x0000031C; DSISR=0x42000000; LR=0x9B44DC84; R1=0xF0417A60; XCP=0x00000010 (0x400 - Inst access)
    Kernel version:
    Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC
    panic(cpu 0 caller 0xFFFF0003): 0x300 - Data access
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x00095698 0x00095BB0 0x0002683C 0x000A8304 0x000ABC80
    Proceeding back via exception chain:
    Exception state (sv=0x384EFC80)
    PC=0x004F8D90; MSR=0x00009030; DAR=0x00000016; DSISR=0x40000000; LR=0x004FB4E8; R1=0x21FA2EB0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x004FFC08 0x004FAE28 0x004FA8D8 0x004FA590 0x004FA054 0x004F9D00
    0x004F9C9C 0x002D0018 0x004F9C54 0x004F5B10 0x00506ECC 0x00509360 0x0050BA94 0x004DB3A8
    0x004DE02C 0x004E12F0 0x004E0474 0x004DCE6C 0x004DC9DC 0x004E6A64 0x004EC808 0x004E6A64
    0x004E9F6C 0x004E8E98 0x00108A38 0x000D5DCC 0x000FE254 0x000DBC60 0x000DC4A0 0x0022B734
    0x000FDA70 0x002A3C80
    backtrace conp
    Sun Feb 12 23:10:17 2006
    Unresolved kernel trap(cpu 0): 0x300 - Data access DAR=0x0000000000000016 PC=0x00000000004F8D90
    Latest crash info for cpu 0:
    Exception state (sv=0x384EFC80)
    PC=0x004F8D90; MSR=0x00009030; DAR=0x00000016; DSISR=0x40000000; LR=0x004FB4E8; R1=0x21FA2EB0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x004FFC08 0x004FAE28 0x004FA8D8 0x004FA590 0x004FA054 0x004F9D00
    0x004F9C9C 0x002D0018 0x004F9C54 0x004F5B10 0x00506ECC 0x00509360 0x0050BA94 0x004DB3A8
    0x004DE02C 0x004E12F0 0x004E0474 0x004DCE6C 0x004DC9DC 0x004E6A64 0x004EC808 0x004E6A64
    0x004E9F6C 0x004E8E98 0x00108A38 0x000D5DCC 0x000FE254 0x000DBC60 0x000DC4A0 0x0022B734
    0x000FDA70 0x002A3C80
    backtrace continues...
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.IOATABlockStorage(1.4.2)@0x505000
    dependency: com.apple.iokit.IOStorageFamily(1.4)@0x4d7000
    dependency: com.apple.iokit.IOATAFamily(1.6.0f2)@0x4f4000
    com.apple.iokit.IOStorageFamily(1.4)@0x4d7000
    com.apple.iokit.IOATAFamily(1.6.0f2)@0x4f4000
    Proceeding back via exception chain:
    Exception state (sv=0x384EFC80)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x384F1000)
    PC=0x9B5D7B98; MSR=0x4200D030; DAR=0x0000031C; DSISR=0x42000000; LR=0x9B44DC84; R1=0xF0417A60; XCP=0x00000010 (0x400 - Inst access)
    Kernel version:
    Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC
    panic(cpu 0 caller 0xFFFF0003): 0x300 - Data access
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x00095698 0x00095BB0 0x0002683C 0x000A8304 0x000ABC80
    Proceeding back via exception chain:
    Exception state (sv=0x384EFC80)
    PC=0x004F8D90; MSR=0x00009030; DAR=0x00000016; DSISR=0x40000000; LR=0x004FB4E8; R1=0x21FA2EB0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x004FFC08 0x004FAE28 0x004FA8D8 0x004FA590 0x004FA054 0x004F9D00
    0x004F9C9C 0x002D0018 0x004F9C54 0x004F5B10 0x00506ECC 0x00509360 0x0050BA94 0x004DB3A8
    0x004DE02C 0x004E12F0 0x004E0474 0x004DCE6C 0x004DC9DC 0x004E6A64 0x004EC808 0x004E6A64
    0x004E9F6C 0x004E8E98 0x00108A38 0x000D5DCC 0x000FE254 0x000DBC60 0x000DC4A0 0x0022B734
    0x000FDA70 0x002A3C80
    backtrace conp
    Sun Feb 12 23:16:09 2006
    Unresolved kernel trap(cpu 0): 0x300 - Data access DAR=0x0000000000000016 PC=0x00000000004F8D90
    Latest crash info for cpu 0:
    Exception state (sv=0x384EFC80)
    PC=0x004F8D90; MSR=0x00009030; DAR=0x00000016; DSISR=0x40000000; LR=0x004FB4E8; R1=0x21FA2EB0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x004FFC08 0x004FAE28 0x004FA8D8 0x004FA590 0x004FA054 0x004F9D00
    0x004F9C9C 0x002D0018 0x004F9C54 0x004F5B10 0x00506ECC 0x00509360 0x0050BA94 0x004DB3A8
    0x004DE02C 0x004E12F0 0x004E0474 0x004DCE6C 0x004DC9DC 0x004E6A64 0x004EC808 0x004E6A64
    0x004E9F6C 0x004E8E98 0x00108A38 0x000D5DCC 0x000FE254 0x000DBC60 0x000DC4A0 0x0022B734
    0x000FDA70 0x002A3C80
    backtrace continues...
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.IOATABlockStorage(1.4.2)@0x505000
    dependency: com.apple.iokit.IOStorageFamily(1.4)@0x4d7000
    dependency: com.apple.iokit.IOATAFamily(1.6.0f2)@0x4f4000
    com.apple.iokit.IOStorageFamily(1.4)@0x4d7000
    com.apple.iokit.IOATAFamily(1.6.0f2)@0x4f4000
    Proceeding back via exception chain:
    Exception state (sv=0x384EFC80)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x384F1000)
    PC=0x9B5D7B98; MSR=0x4200D030; DAR=0x0000031C; DSISR=0x42000000; LR=0x9B44DC84; R1=0xF0417A60; XCP=0x00000010 (0x400 - Inst access)
    Kernel version:
    Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC
    panic(cpu 0 caller 0xFFFF0003): 0x300 - Data access
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x00095698 0x00095BB0 0x0002683C 0x000A8304 0x000ABC80
    Proceeding back via exception chain:
    Exception state (sv=0x384EFC80)
    PC=0x004F8D90; MSR=0x00009030; DAR=0x00000016; DSISR=0x40000000; LR=0x004FB4E8; R1=0x21FA2EB0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x004FFC08 0x004FAE28 0x004FA8D8 0x004FA590 0x004FA054 0x004F9D00
    0x004F9C9C 0x002D0018 0x004F9C54 0x004F5B10 0x00506ECC 0x00509360 0x0050BA94 0x004DB3A8
    0x004DE02C 0x004E12F0 0x004E0474 0x004DCE6C 0x004DC9DC 0x004E6A64 0x004EC808 0x004E6A64
    0x004E9F6C 0x004E8E98 0x00108A38 0x000D5DCC 0x000FE254 0x000DBC60 0x000DC4A0 0x0022B734
    0x000FDA70 0x002A3C80
    backtrace conp

    Hi Matteo,
    Welcome to Apple Discussions
    You might be having a problem with your hard drive. Did you check the S.M.A.R.T. status? You might want to Repair your disk.
    I hope that helps,
    Jon

  • ITunes help really needed

    First of all I'm running OS X Tiger 10.4
    I just got my 5th gen. iPod video today, and I sync'd it and everything, the iPod works just fine.
    Although, everytime I plug it in, my iPod will be listed on the source list in the left of iTunes, it will take a few seconds to update, then my iPod icon will disappear from the Finder.
    If I then click anywhere besides "My iPod" in the iTunes source bar, like Library > Music or just a simple playlist, iTunes will unexpectedly quit. The Finder though does not give me a message saying that iTunes quit unexpectedly, it just happens. During all of this the iPod does NOT say "do not disconnect" as if it was updating.
    If I want to reinstall iTunes, how do I uninstall the previous version? Or do I have to do that? Do I just run the driver I downloaded from Apple again?

    Why not update your OSX to 10.4.8? - the updates are free.
    To reinstall you will need a .dmg of iTunes - I suggest a fresh .dmg - you will also need to go to HD>Library>Receipts> and remove the 'iTunesX.pkg' to the trash. Drag the iTunes app to the trash and launch the iTunes installer. Repair permissions with Disk Utility - open iTunes - if all is well then empty the trash.
    Do not move any other itunes files files to the trash.
    MJ

  • InDesign printing question - help really needed!

    Maybe an easy question maybe not!
    Usually here at work our printing is out-sourced, but for a project I'm currently working on I need to print a few bits on the work printer [for the client]. So, I've got a black page [4 colour black] with large red text - when I send to print, obviously the black prints first; leaving white gaps for the text; red prints next but due to slight movement [I guess] I always seem to get what appears to be a tiny white outlines around sections of the text [where the red hasn't printed exactly in the gaps left when applying the black].
    Just wondering if there is any way around this, to minimise the issue, in InDesign. Or is this due to the printer used?
    Cheers in advance

    I'm reading the post to look something like this (0|100|100|0 red on a field of 65|50|50|100 black):
    http://www.zenodesign.com/scripts/redonK.png
    If I hide the black channel it looks like this:
    http://www.zenodesign.com/scripts/cmy.png
    If I simulate the black plate off register, it looks like this:
    http://www.zenodesign.com/scripts/offreg.png
    In this case you couldn't get white because there's no white on any of the plates.

  • Some help really  needed

    Hello,
    yesterday i had some problems with the usage of eclipse during my session with card. So i had to end the program through the task manager, because it seemed that it will never awake and continue the performance.
    Now during the work with my JCOP card through the JCOP shell, i have problems when i am trying to delete it . I mean card doesn't allow me to separately delete an Applet and my package then. Day before it worked fine. In the simulator it still works fine.
    It always return 6985 (Conditions not satisfied statement). Despite this fact, my Lodare.java module works fine. Call to the CardManager deleteObject() methos returns no errors. So it can delete only package by deleting related applets at once.
    Could you help, what could be solution or the basis for such problem occurrence?
    Best regards,
    Eve

    here is my APDU trace:
    -  /terminal "winscard:4|SCM Microsystems Inc. SCR3310 USB Smart Card Reader 0"
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B EB 00 00 81 31 20 45 4A 43 4F 50 33 31 33 36    ;....1 EJCOP3136
        47 44 54 78                                        GDTx
    ATR: T=1, N=0, IFSC=32, BWI=4/CWI=5, Hist="JCOP3136GDT"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          ..............
    (146500 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65    o..............e
        01 FF 90 00                                        ....
    Status: No Error
    cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm>  init-update 255
    => 80 50 00 00 08 D4 AC DC F1 CA 9F 16 B9 00          .P............
    (158288 usec)
    <= 00 00 63 06 00 12 86 91 06 77 FF 01 42 16 4D 12    ..c......w..B.M.
        17 14 03 A1 1E 81 CF 9D A8 32 FA 34 90 00          .........2.4..
    Status: No Error
    cm>  ext-auth plain
    => 84 82 00 00 10 72 2C BF 47 F6 1C 73 AB 8A A5 B3    .....r,.G..s....
        AB 24 7D BF F7                                     .$}..
    (84620 usec)
    <= 90 00                                              ..
    Status: No Error
    cm>  card-info
    => 80 F2 80 00 02 4F 00 00                            .....O..
    (40529 usec)
    <= 08 A0 00 00 00 03 00 00 00 01 9E 90 00             .............
    Status: No Error
    => 80 F2 40 00 02 4F 00 00                            [email protected]..
    (45895 usec)
    <= 0C 4D 4D 61 74 63 68 65 72 41 70 70 6C 07 00 90    .MAppl...
        00                                                 .
    Status: No Error
    => 80 F2 10 00 02 4F 00 00                            .....O..
    (154165 usec)
    <= 07 A0 00 00 00 03 53 50 01 00 01 08 A0 00 00 00    ......SP........
        03 53 50 41 05 31 50 41 59 2E 01 00 01 0E 31 50    .SPA.1PAY.....1P
        41 59 2E 53 59 53 2E 44 44 46 30 31 06 A0 00 00    AY.SYS.DDF01....
        00 03 10 01 00 01 07 A0 00 00 00 03 10 10 06 A0    ................
        00 00 02 41 00 01 00 01 07 A0 00 00 02 41 00 00    ...A.........A..
        08 4D 4D 61 74 63 68 65 72 01 00 01 0C 4D 4D 61    .M....M
        74 63 68 65 72 41 70 70 6C 90 00                               Appl..
    Status: No Error
    Card Manager AID   :  A000000003000000
    Card Manager state :  OP_READY
        Application:  SELECTABLE (--------) "MAppl" 
        Load File  :      LOADED (--------) A0000000035350   (Security Domain)
         Module    :                        A000000003535041
        Load File  :      LOADED (--------) "1PAY."          (PSE)
         Module    :                        "1PAY.SYS.DDF01"
        Load File  :      LOADED (--------) A00000000310     (VSDC)
         Module    :                        A0000000031010
        Load File  :      LOADED (--------) A00000024100   
         Module    :                        A0000002410000
        Load File  :      LOADED (--------) "M"     
         Module    :                        "MAppl"
    cm>  /identify
    => 00 A4 04 00 09 A0 00 00 01 67 41 30 00 FF          .........gA0..
    (74848 usec)
    <= 51 04 01 24 47 45 42 34 50 48 35 32 32 44 01 03    Q..$GEB4PH522D..
        79 09 22 6A 82                                     y."j.
    Status: File not found
    FABKEY ID:   0x51
    PATCH ID:    0x04
    TARGET ID:   0x01 (smartmx)
    MASK ID:     0x24 (36)
    CUSTOM MASK: 47454234
    MASK NAME:   PH522D
    FUSE STATE:  fused
    ROM INFO:    790922
    COMBO NAME:  smartmx-m24.51.04.47454234-PH522D
    cm>  get-cplc
    => 80 CA 9F 7F 00                                     .....
    (74629 usec)
    <= 9F 7F 2A 47 90 50 15 40 51 51 58 24 00 63 06 00    ..*G.P.@QQX$.c..
        12 86 91 06 77 48 10 63 13 00 00 00 00 02 10 1C    ....wH.c........
        30 31 32 38 36 00 00 00 00 00 00 00 00 90 00       01286..........
    Status: No Error
      IC Fabricator                      : 4790
      IC Type                            : 5015
      Operating System ID                : 4051
      Operating System release date      : 5158 (7.6.2005)
      Operating System release level     : 2400
      IC Fabrication Date                : 6306 (2.11.2006)
      IC Serial Number                   : 00128691
      IC Batch Identifier                : 0677
      IC Module Fabricator               : 4810
      IC Module Packaging Date           : 6313 (9.11.2006)
      ICC Manufacturer                   : 0000
      IC Embedding Date                  : 0000
      IC Pre-Personalizer                : 0210
      IC Pre-Perso. Equipment Date       : 1C30
      IC Pre-Perso. Equipment ID         : 31323836
      IC Personalizer                    : 0000
      IC Personalization Date            : 0000
      IC Perso. Equipment ID             : 00000000
    cm>  delete |MAppl
    => 80 E4 00 00 0E 4F 0C 4D 4D 61 74 63 68 65 72 41    .....O.MAppl.
        70 70 6C 00                                      
    (207258 usec)
    <= 69 85                                              i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    cm>  delete |M
    => 80 E4 00 00 0A 4F 08 4D 4D 61 74 63 68 65 72 00    .....O.M.
    (56412 usec)
    <= 69 85                                              i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985Applet directory is:
    c:\Documents and Settings\Ieva\workspace\M\bin\M\javacard\MAppl.cap
    Best regards,
    Eve
    Message was edited by:
    Ieva

  • Please help. really need it

    i have a ipod nano and my old computer broke so now i have this new one. is there any way i can get the songs that are on my ipod now and keep them or somehow put them into my music library? please help me. i cant download all new songs. i have way too many.

    In the future, maintain up-to-date backups on CDs/DVDs. Start reading:
    *Courtesy of PT...*
    Copying from iPod to Computer threads...
    http://discussions.apple.com/thread.jspa?messageID=5044027&#5044027
    http://discussions.apple.com/thread.jspa?threadID=893334&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=797432&#797432
    Also these useful internet articles...
    http://www.engadget.com/2004/11/02/how-to-get-music-off-your-ipod/
    http://playlistmag.com/secrets/2006/12/twowaystreet20/index.php
    http://playlistmag.com/help/2005/01/2waystreet/

  • Help really needed!

    hi all
    basically im getting the kernal panic error on my laptop where it tells me to re-start my laptop
    i have followed the steps from the kernal site on what to do and after completly re-formatting my laptop it still happens, i have the standard 512 RAM in my ibook G4 late 2005
    i was wondering if anybody can work out what is wrong with my laptop from this log
    panic(cpu 0 caller 0x000A8A00): Uncorrectable machine check: pc = 00000000006876AC, msr = 0000000000149030, dsisr = 42000000, dar = 00000000E00EF000
    AsyncSrc = 0000000000000000, CoreFIR = 0000000000000000
    L2FIR = 0000000000000000, BusFir = 0000000000000000
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x000952D8 0x000957F0 0x00026898 0x000A8A00 0x000A7C90 0x000AB980
    Proceeding back via exception chain:
    Exception state (sv=0x39BBAC80)
    PC=0x006876AC; MSR=0x00149030; DAR=0xE00EF000; DSISR=0x42000000; LR=0x0068AA9C; R1=0x17843180; XCP=0x00000008 (0x200 - Machine check)
    Backtrace:
    0x0068AA90 0x0068BA08 0x0068C90C 0x00687A1C 0x0069D4F8 0x00698930
    0x006C42EC 0x006A0B18 0x006C0874 0x006BDF9C 0x006D08F8 0x005BA42C 0x005BA2AC 0x002D1C84
    0x005BA320 0x005B1240 0x005B1470 0x005B10FC 0x005BA2AC 0x002D1C84 0x005BA320 0x005B0FBC
    0x0011E2D0 0x0011B6FC 0x0011BC0C 0x00283B98 0x00283C4C 0x00260B68 0x0027FDA0 0x002AB7F8
    0x000ABB30 0x436C6173
    backtrace continues...
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.AppleAirPort2(405.1)@0x681000
    dependency: com.apple.iokit.IONetworkingFamily(1.5.0)@0x5ae000
    dependency: com.apple.iokit.IOPCIFamily(1.7)@0x460000
    com.apple.iokit.IONetworkingFamily(1.5.0)@0x5ae000
    Exception state (sv=0x31981C80)
    PC=0x900026AC; MSR=0x0200F030; DAR=0xE00F2000; DSISR=0x42000000; LR=0x000E431C; R1=0xF00803E0; XCP=0x00000030 (0xC00 - System call)
    Kernel version:
    Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC
    would deeply appreciate help

    tomstacey88:
    ok then, you were right it is my airport after turning it off no more kernal panics,
    Were you able to get access to the card, or did you turn aiport off?
    You might want to run the Apple Hardware Test from the disk that came with you computer.
    If it is not something you can do yourself and you have to go to the Apple Store I have no idea of the cost. You might want to give them a call. If you still have Apple Care on the computer, it should cover the card repair.
    Good luck.
    cornelius
    Message was edited by: cornelius

  • Please help...Need to rotate image/MC by moving mouse

    Hi all,
    I'm sure a lot of you have seen the tutorials for buttonless
    scrolling (where you move your cursor to the right of the screen
    and the movieclip scrolls to the left etc). Here is an excellent
    example...
    http://www.gotoandlearn.com/
    (and then scroll down until you get to the title, 'Scrolling
    Thumbnail Panel'.
    Now, I want to use this principle to rotate a MC of the world
    instead of scrolling the MC left and right. So, as your cursor
    moves to the right of the screen, the globe rotates in an
    anti-clockwise direction and visa versa.
    Could anyone help moderate the code below (or provide new
    code) to make this work? I've tried a few things but none of them
    work. Thanks!! (Really need this for campaign at work!! Panicking a
    bit).
    FG.
    the code...
    panel.onRollOver = panelOver;
    function panelOver() {
    this.onEnterFrame = scrollPanel;
    delete this.onRollOver;
    var b = stroke.getBounds(_root);
    function scrollPanel() {
    if(_xmouse<b.xMin || _xmouse>b.xMax ||
    _ymouse<b.yMin || _ymouse>b.yMax) {
    this.onRollOver = panelOver;
    delete this.onEnterFrame;
    if(panel._x >= 89) {
    panel._x = 89;
    if(panel._x <= -751) {
    panel._x = -751;
    var xdist = _xmouse - 250;
    panel._x += Math.round(-xdist / 7);
    }

    OK, I've got a script that is a lot easier and DOES rotate
    the m/c! It's:
    var mouseList:Object = {};
    Mouse.addListener(mouseList);
    mouseList.onMouseMove = function(){
    worldMC._rotation = _xmouse;
    But it stops when my cursor does. In the scrolling example,
    the further right your cursor goes, the more the horizontal MC
    scrolls. Only when the cursor is in the centre of the screen does
    the globe stop rotating.
    So what I really need here is a globe that starts to rotate
    anti-clockwise when the cursor is moved to the right...the further
    right it goes, the faster it rotates. When the cursor moves to a
    central location, the speed of the globe's rotation slows to a stop
    (allowing the user to click onto a point on the globe).
    If you've given the example I linked to above a go, this
    should be a little clearer. It's hard to put into writing, but I
    hope you get the idea. Looking forward to hearing from you.
    FG.

  • Mac start up wont work. I have tried safe start, command s / v , command r, pram, and more. Nothing helps!!! I really need to get back onto it. PLEASE HELP ME

    My mac is only a year old. I am still under warranty but don't want to have to go to the store. I know it has something to do with not connecting to my hard drive and I want to make it clear that IT HAS NOT BEEN DROPED,BANGED OR DAMAGED IN ANY WAY!!
    Here is what I have tried so far:
    For safe start The loading bar shows up but then doesn't load. After a few seconds it disappears and the wheel continues to spin.
    I have tried PRAM but it doesn't help at all.
    The only way I can get it off the start off page is to either go to fsck or Mac OS utilites.
    Fsck comes up as an error message for me when I put in fsck -FY. /sbin/fsck -FY also doesn't work.
    Mac OS utilities really also doesn't much. When I try to back up my hard drive it recognizes the external drive but then has no where to put it to??? So then I tried reinstalling the lion software part bit it won't allow me because for some reason it is locked. So I also try to verify and repair my drive. An error message comes up so I know there is something wrong. But not what to do about it. So now I am here on the Internet.
    I Really need to get this fixed!!! PLEASE SOMEONE PROVIDE ME WITH AN ANSWER TO HELP FIX MY PROBLEMS.

    My mac is only a year old. I am still under warranty but don't want to have to go to the store. I know it has something to do with not connecting to my hard drive and I want to make it clear that IT HAS NOT BEEN DROPED,BANGED OR DAMAGED IN ANY WAY!!
    Here is what I have tried so far:
    For safe start The loading bar shows up but then doesn't load. After a few seconds it disappears and the wheel continues to spin.
    I have tried PRAM but it doesn't help at all.
    The only way I can get it off the start off page is to either go to fsck or Mac OS utilites.
    Fsck comes up as an error message for me when I put in fsck -FY. /sbin/fsck -FY also doesn't work.
    Mac OS utilities really also doesn't much. When I try to back up my hard drive it recognizes the external drive but then has no where to put it to??? So then I tried reinstalling the lion software part bit it won't allow me because for some reason it is locked. So I also try to verify and repair my drive. An error message comes up so I know there is something wrong. But not what to do about it. So now I am here on the Internet.
    I Really need to get this fixed!!! PLEASE SOMEONE PROVIDE ME WITH AN ANSWER TO HELP FIX MY PROBLEMS.

  • Really need help...can't get my old songs to reload onto my ipod.  The only songs that will load are ones I have purchased recently on my iphone.  I can see all my music in my library. Help please!

    Hi everyone..I really need some help!  My computer went in for repair and cleaning.  The music in my itunes library at the time was backed up on discs.  I had not resynced my ipod touch with computer since that occurred in May of this year.  Since then I have purchased an iphone and some new music was purchased as well.  My phone has the new music (which is about 100 songs).  Yesterday I decided I was ready to get everything organized and put all my music on my ipod and my apps on my phone.  I have, as it would appear, reloaded all my music back into my library (a little over 1000 songs) as I can see the music and I can open and play it through itunes.  I have resynched my ipod touch.  All the music that was on my ipod touch has now been taken off and the only music that synched with it is the music I have purchased since I bought my iphone (only about 100 songs).  Can't get all music on my ipod at all.  Additionally, my account is not recognizing the touch as one of my devices.  Any help at all would be appreciated!  

    You can contact Apple and request a 1-time redownload of your lost purchases. Of course, they prefer you follow some of these recommendations on backing up your purchases.
    I think the e-mail form on this page is the best place to start for requesting the replacement download.

  • My ipod touch is taking ages to back up, I dont know weather it is because I havent had my ipod plugged into my computer for a while or not... I dont know what to do... And i really need it to sinc so i can put new music on. Can anyone help?

    I really need your help. I'm 14.
    I really need to put new music on my iPod and I have plugged it into my computer and its taking ages to back-up and it wont let me do anything until its done. It will take over 3 hours if it keeps on going like this. Please help me. I don't know what's wrong with it.
    It might be because I haven't backed it up in a while but the reason I haven't is cause it takes this long! Anyone know what to do?
    Meg x <This is how I feel. (Confused and really upset)

    You can redownload most itunes purchase by the following. What you can redownload depends upon where you are located.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Zen microphoto help!! please i really need your h

    hello everybody, i bought a zen microphoto 4GB in June and it worked perfectly until two days ago. I turned it on like i do everyday to listen to music on my way to school. i downloaded the newest version of firmware onto it'sthree days before. when i turned it on, it went into recovery mode. so i went to reboot, and it goes back into recovery mode. i tried about 3 times, then it disabled all the functions. i couldn't control anything. so i took out the battery, and left it until i came home. i come home, put in the battery, turn it on. i plug it in the computer, and the computer does not reconize that its docked and the screen goes white and then it shuts off by itself. then it just freezes, it refuses to turn on. i tell my friend today at school and he said the hard dri've crashed and now i have a brick the size of a zen microphoto. is this true, or?is something else wrong with it. please someone help if you can. Creative Zen MicroPhoto 4GBfirmware dowloaded 3 days before--ZENMicroPhoto_PCFW_6__30_04.exepurchased- June 0, 2006 with product replacement plan from best buyproblems started occuring November 7, 2006Message Edited by barylakamil on -09-200603:22 PM

    one method i saw and tried worked well but you need to try it at your own risk!!! turn off your microphoto, grab your microphoto with the screen facing you, and either slap your hand against the SIDE of your microphoto, or slap the SIDE of your microphoto against your hand. This method works for me but try it at your own risk. it could damage your hard disk. (its probably already damaged anyways.)and if you really need to turn off your Zen but it wont turn off, i suggest removing the battery.
    Message Edited by gmail on -09-200605:34 PM

  • So i dropped my mom's ipad and i dont know what to do... the sound and stuff works on it but the screen is black but it still has like a backlight i really need to know if this can be fixed PLEASE HELP!!!

    so i droped my mom's ipad on accedent while walking inside helping carry bags inside... and at fist no one really thought anything of it but we got inside and my stepdad went to check something on it and was like um... something wrong and i guess the fall put it into shock or something but we held down the 2 buttons and it light up but it was black and just with the back light on. And it still wont work so im not sure what to do... I know where the slide to turn it on is so i did that and it made the click noise to signal it was on and i pushed where an app would be and it went to it and made the music to the app... so it works but for some reason the screen is being all stupid... I really need to know if there is a way to fix the screen because if theres not im in a ton of trouble... please help!!!!

    I doubt there is you dropped it and broken the screen
    try holding the top button and the round button at bottom of screen
    hold both until maybe an Apple logo appears if nothing after 20 secs
    the iPad is toast
    It can be exchanged at an apple store for around $249 to $219 depending on model
    Apple do not do repairs
    I would own up now before it gets more complicated

Maybe you are looking for

  • Crazy purple pixels cant tell if hardware or software.

    just out of nowhere pixels on my screen turn purple. when im watching somthing with video you can really see how the pixels bounce around (lines, blurryness). i archived and installed, same issue. it just seems to turn whole shapes purple somtimes. L

  • Unknown open TCP ports on router

    Anyone know how to close these open ports on my Cisco 7606 router? Anyone know what these TCP ports are used for? 49   - Not sure what this one is other than what IANA reports about TCP port 49 4510 4509 2222 I'm sure I could add an ACL to block comm

  • A way to normalize volume in the iPod app on iPhone?

    I have a set of favorite songs in a playlist in iTunes on my PC, and in my iPod Classic. As either one is used to play the playlist, the volume of each song is reasonable in relation to the others. It doesn't surprise me, since I've been told that iT

  • Registering Item types

    Hi Experts, I am a workflow developer. When we try to add configuration about the action to be taken when user clicks a task, we dont see required task IDs in the XML file that is generated. It does list some of the custom developed tasks but not all

  • Master Data on Lot Size Tab

    Hello Guru, I need your help with regards to the master data set-up we have in APO. In tab Lot Size, the Procedure of our products is BY PERIOD, period type is W (weekly). We are now having issues in the quantity recomended to received, as you can se