Recent unstable behavior problems. Stumped.

I'm not a newbie, but I am stumped, and I hope you don't mind me posting here.
I've been using Arch continuously since 2004, and my current install has been migrated to several drives and mobos since 2006 or so.
Several months ago, the capacitors on my 2007-era Intel board clearly failed, and the entire board stopped working. This board had a few minor glitches (the front USB ports didn't work, mainly), but otherwise was extremely reliable and stable until the bitter end.
I would sometimes get to out-of-memory conditions because I would have too many tabs open, but there was a clear boundary and it was fairly easy to keep within it.
I upgraded to an Asus mobo, using the same Intel Core 2 Duo CPU and drives.
I like this board a lot better in many ways. The physical layout is much cleaner. However, one deficiency is only having two DIMM slots (the Intel had four). I now have one 2gb stick from the old mobo and one new 4gb stick got, to be able to get better advantage of x86-64 (I'm still at i686, but will upgrade when I have some time) when I finally do migrate.
However, right now, with just a typical tab collection open, and memory use at the 50% level (comfortably below the margin of OOM), the system is wildly unstable. Tabs just stop responding and take a LONG time to die (this is Chromium). Console tasks will run but often not work, for no sensible reason.
When I kill the browser, and memory usage goes to almost nothing, commands then work as expected.
I only just remember the memory issue when writing the above. So, I guess I should first ask, is it possible the two sticks together are unstable (memtest86+ went through several tests with no errors)? I will try removing the 2gb to see what happens.
Since the instability seems memory usage related, this seems the most likely issue.
I'm posting this anyway, but I will get back to this.

Running memtest for a few passes isn't going to tell you a whole lot if the system seems to be stable at first. I had instability with my last motherboard/RAM combo and memtest would only find the failures after 10+ hours of running. I recommend running it at least that time if you suspect hardware issues.

Similar Messages

  • TS3276 I have recently had a problem with one of my hotmail accounts, some sort of virus sending random emails to people in my address book. Hotmail advised me to change my password for that account, which I did. Why won't mail recognise the new password?

    I have recently had a problem with one of my hotmail accounts, some sort of virus sending random emails from my address book. Hotmail advised me to delete all contacts and change the password for that account, which I did on my laptop running windows XP. The change was successful and I was able to send and receive emails with no problem. I then had to change the account password on my iPhone 4s, which I did and it too was successful but when I came to change the password on my iMac, running the latest version of Lion it would not recognise the new password. I have tried to remove the account details and re-install but every time I go to add new account my old details are in the box. This is very frustrating as I use my iMac for all my profects and I need to access my email. Please help.

    hi guys,
    I had already deleted all reference to the hotmail account in question from the keychain access app, I have also tried to delete and re-instal the account details from within mail. The icon in the side bar dissapears but when I go to Add Account, the old account details are in the new account box. I then input my new password but am told that the server does not recognise it. If I access hotmail via google on the iMac I can get into my account with no problems. I am thinking there must be some other form of security system within the mac software that is blocking the new password. This is driving me nuts. I have been trying to resolve this for the last two days. Thank you for your advise anyway.

  • I have Windows 7 and just recently experienced a problem with itunes freezing up when I clicked on the "apps" tab.  Everything else seems to work okay in itunes.  I have uninstalled it and reloaded it 4 or 5 times, but still freezes up.

    I have Windows 7 and just recently experienced a problem with itunes freezing up when I clicked on the "apps" tab which shows the apps that are loaded on my phone.  Everything else in the itunes software seems to be working okay.  The problem is in the part where you sync the newly purchased apps.  The apps will all be blank that are downloaded and that part of the software crashes itunes or freezes up.  I can get out of itunes okay after the freeze up, but it just stops me from syncing anything that I have newly added.  If anyone has had this problem before or knows someone that has, please let me know how I can fix it.  I have uninstalled and reloaded itunes 4 or 5 times, but the problem is still there.  I might add that I have been using itunes and purchasing apps for 2 to 3 years without any problems.  HELP.

    You would get better response from the iTunes community forum.
    Have a nice day!

  • TS3694 I recently had a problem when I downloaded OS 5.1.1.  I went to the AT&T store and they basically cleared my phone of everything.  I have succeeded in reloading everything, but now the CALENDAR will not sync with the calendar on my home PC.  What d

    I recently had a problem with my iPhone 3G.  I upgraded to OS 5.1.1.  The thing crashed.  I took it to the AT&T store and they cleared it of everything.  So I re-installed all of my personal stuff and apps.  All is again OK with the exception of the calendar.  It will not sync with my home computer and is blank. How do I correct this?

    What are you keeping your calendar in on your PC? Outlook?

  • "write on" behavior problem

    I’ve drawn shapes many times with the “write on” behavior. All of a sudden, it’s not working. Here’s the problem. “Write On” completes drawing and then reverses a little bit on the last frame. I included frame shots. If anyone can help, I would appreciate it.
    Side note: I know I can do the same thing with key frames. However, I’d rather solve the “write on” behavior problem.

    Ah, nevermind! I think I may have solved the issue myself. It seems if you click on the Group tab to the left of the main timeline as opposed to the clip within the timeline, it allows you to change the group and scale it while also keeping different elements together. Could be helpful for anyone with a similar question.

  • HT3775 I'm using version 10.7.5 OSX. I can't play or use the normal AVI recently. Some problem with (codecs version incompatible with OSX) Please give me some help. I'm in Vietnam and to have a real place to have stuffs from Apple is ****-

    I'm using version 10.7.5 OSX. I can't play or use the normal AVI recently. Some problem with (codecs version incompatible with OSX) Please give me some help. I'm in Vietnam and to have a real place to have stuffs from Apple is ****…

    I would recommend that you download and install the excellent and Free "VLCPlayer for Mac", which reads many more types of files for video than Quicktime Player:
                 http://vlc-media-player.en.softonic.com/mac

  • Hello! Recently encountered a problem with OSX start,  after an emergency shutdown macbook

    Hello! Recently encountered a problem after an emergency shutdown macbook (it was shut off due to low battery) and now I can not boot in OS X, the fact that I can't see what became of OSX, so as I have in parallel is Windows that is loaded instead of OS X (video here https://www.youtube.com/watch?v=2oSTZhaVy9g sorry for the quality, with YouTube's nothing you can do) When you select a disk partition with OSX in Windows, via Bootcamp the same. What could it be? Maybe there is a function of the last successful run? I have the opportunity to the entire disk with OS X, from file system to programs. Moreover, OS X has remained 1password. I would be very grateful for help, because the answer is never found. I have MBP 371 ll/a with OSX 10.9.5.

    Yes, I can see the partition with OS X and Windows, better watch the video, it demonstrates this point.

  • "Show Pop-Up Menu" behavior problems

    Greetings—
    The "Show Pop-Up Menu" under Add Behaviors is grayed-out and
    won't allow additional links to be added to the templates. I'm
    currently on DW MX 2004.
    Thank you

    > Does anyone have any suggestions what to do so this
    selection is not
    > grayed
    > out?
    The functionality has been REMOVED as a primary function in
    CS3. It will
    allow you to edit a LEGACY MENU, but not create a new menu
    from scratch.
    This is a good thing. The DW menus were indescribably
    horrible.
    In their place, use the Spry menus, or -
    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Moni057" <[email protected]> wrote in
    message
    news:f3na5s$9lv$[email protected]..
    >I just got CS3 (and un-installed DW8) and I have learned
    that the "Show
    >Pop-Up
    > Menu" behavior is depreciated. The problem I'm having is
    it is Grayed out
    > (And
    > yes, I made sure I had a 'link' selected when I tried to
    choose this
    > behavior)
    Is there a setting in the Preferences that I missed or is CS3
    just teasing
    > me w/a remembrance of this easy to use pop up menu
    maker? Any help is
    > appreciated :)
    >
    > Thanks,
    > Monica
    >
    > [email protected]
    >
    > ps: I do know about the "Spry assets" but I want to see
    if the above
    > option is
    > possible first. thanx :)
    >

  • My iWeb problem stumped the Genius Bar

    Hello all , first post , apologies in advance for its length .
    I got a problem thats really frustrating me . The Genius man in the apple shop couldn't help , he'd never seen this problem before so he suggested I try here . Here's the thing .
    I've made a site for my photography with my own domain name www.davestrachan.com . Galleries up , blogging away to myself , everything was working fine for months . Until .... one day I added some more blog entries , saved but didn't upload them and switched off the mac . I opened up iWeb the next day and half the pages are either blank or show only the grey background , not just the new pages but older ones also . The welcome page & about me , all the galleries and several of the blog posts are gone .
    I'm pretty new to this so I only know the basics , thats why I use iWeb because it's easy . I've tried uploading to a folder on the desktop and get an unknown Publish error . I tried deleting the iWeb preference file & even transferring the Domain.sites2 to another mac to see if it works , sadly no joy there .
    Don't shout at me but I only recently learned how to back up iWeb .... yup you guessed it ... after the disaster so that options out . It's also happened a couple of times before to one or two pages in the blog but Iv'e just shrugged and redone them . This time it's obviously more serious .
    I guess I'm probably going to have to bite the bullet and redo it all again , learn from my mistakes & back up lots in future , but does anyone know what's going on and how to fix it ?
    Thanks .
    Dave .

    Welcome to the Apple Discussions. Paragraph 2.3 of iWeb FAQ site has some tips on how to use some of the files from the published site in rebuilding: http://iwebfaq.org/site/iWebBackupretrieve.html. There have been a couple of posts of similar experiences, closing iWeb and when reopened the pages were empty or partially empty. I don't remember any fix-all for that. The problem sounds a lot like a problem with iPhoto, the library is good but when after shutting down and rebooting the next day it's appears empty. Fortunately there's a way to protect against that. But not with iWeb.
    OT

  • HELP NEEDED! My wife's 5c won't recognise on my laptop anymore. I plug it in and the laptop makes a sound but won't show up the phone. I only recently discovered this problem when I upgraded. It will recognise my 5c and even the iPad but not her 5c

    I discovered this problem when I upgraded my iPhone 4 to a 5c.
    My laptop will recognise my 5c and even the wife's iPad but won't recognuse her 5c, when I plug it in it makes a sound but just doesn't show up in iTunes.
    It DID work on my laptop as recently as November when I backed up her phone and updated her software but like I say ever since I upgraded it just won't recognise her 5c but does mine.
    I just can't think what is wrong? I haven't messed around with anything on the laptop or messed around with the wife's settings on her 5c
    HELP!!!!

    I would test with another computer and another cable
    if it the device would not be detected by any computer I
    would say that it's connector was broken

  • Sequel Search Server Behaviors Problem

    This code was made with php-msql server behaviors - recordset
    pull down's....
    I have a form to search for firstname or lastname or both but
    I'm not getting the right results
    SELECT * FROM phonebook WHERE firstname LIKE %s and lastname
    LIKE %s
    problem 1 - if I have NOTHING in the form then *all* records
    get returned
    I guess the problem is with blank form fields?
    Q: How can I fix this?
    full query below...

    still curious about this - thanks in advance

  • Recently installed Spotify; problems @ startup; trashed all Spotify info; now I only get "The application Safari quit unexpectedly".

    I recently installed Spotify, but had nothing but problems every time I did a startup.  So, I deleted everything tied to Spotify.  NOW, when I launch Safari, a window pops up telling me "The application Safari quit unexpectedly".  Has anyone else had this problem.  I cannot get online at all now.

    I've got the same problem, and have the same OS (10.5.8)

  • Open Recent, annoying behavior.

    On my MacBook Pro running Mac OS 10.5.6 the command Open Recent (File > Open Recent) doesn't work for titles like Pages, Automator, Text Editor... While for other titles is does work: MS Word, MS Exel...
    I find this very annoying. On my Power Mac G5 running Mac OS X 10.4.11 the command works in all of the above software.
    Can anyone help out on this one?
    Cheers
    Ivan

    OK, I suspect the problem is a mis-match between your group identity in Leopard, and an obscure temp folder that some programs send files thru, and some don't. I know that Preview does, which is why I asked if it too is acting the same way.
    I'm afraid it's been over a year since I dealt with the permission problems I think you might have. See if you can make any sense out of this discussion:
    http://discussions.apple.com/thread.jspa?messageID=6637876
    We need to know who you are in UNIX terms. Go to System Prefs/Accounts and select your account. Click the padlock at the bottom and give your password, then Control click on your name in the accounts list and select "Advanced Options"--a pane will slide down with some information in it. Write down the User ID and Group ID. If both numbers are the same, for instance they are both 501, then you still have the old Tiger system for your group. However, if the group ID is 20, then you are a member of the new Leopard standard group of staff.
    Next go to the Finder's Go menu and select the "Go to Folder..." option, and type in this (or copy and paste):
    /private/var/folders
    You will see a list of folders with two character names. One of them will contain your temp folders. Unfortunately you have to check to find out which is yours. The easiest way is to select the first folder in column view, bring up the Inspector window (Command-Option-i), maker sure the Sharing & Permissions section shows at the bottom, then select the folder inside the first folder and see if that belongs to you. If not, check the next two digit folder's sub-folder, and so on. Your temp folder and its sub-folders should have the same group that you belong to in Accounts. Thus, if you are staff, but the folders are showing as the second entry not staff but your user name as the group, then that is your problem. Hope I'm making this clear!
    Francine
    Francine
    Schwieder

  • Custom mouselook  behavior problems

    I am trying to write a custom behavior for mouselook (I know there is one but I want the challenge and the custom levels). I can't seem to get it to move...
    Interaction1 class (JFrame):
    import javax.swing.JFrame;
    import java.awt.event.*;
    import javax.swing.Timer;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.*;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import javax.vecmath.*;
    import java.awt.Image;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import javax.swing.ImageIcon;
    import java.awt.Polygon;
    import com.sun.j3d.utils.geometry.GeometryInfo;
    import com.sun.j3d.utils.geometry.Triangulator;
    import com.sun.j3d.utils.geometry.Stripifier;
    import com.sun.j3d.utils.universe.ViewingPlatform;
    import com.sun.j3d.utils.universe.Viewer;
    public class Interaction1 extends JFrame implements ActionListener, KeyListener
        public static final long serialVersionUID=1;
        private Timer t;
        private Canvas3D canvas;
        public Interaction1()
            super("Interaction1");
            setSize(700,530);
            setVisible(true);
            Container c = getContentPane();
            c.setLayout(new FlowLayout());
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            canvas = new Canvas3D(config);
            canvas.setSize(640,480);
            canvas.setVisible(true);
            c.add(canvas);
            ViewingPlatform vp = new ViewingPlatform();
            vp.setNominalViewingTransform();
            vp.getViewPlatformTransform().setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
            vp.setViewPlatformBehavior( new MouseLookBehavior(vp.getViewPlatformTransform(),this,5f) );
            vp.getViewPlatformBehavior().setSchedulingBounds(new BoundingSphere());
            SimpleUniverse univ = new SimpleUniverse(vp, new Viewer(canvas));
            BranchGroup scene = createSceneGraph();
            scene.compile();
            univ.addBranchGraph(scene);
            addKeyListener(this);
            t=new Timer(10,this);
        private BranchGroup createSceneGraph()
            BranchGroup i = new BranchGroup();
            Background bg = new Background();
            bg.setColor(.75f,1f,1f);
            bg.setApplicationBounds(new BoundingSphere(new Point3d(),500.0));
            Shape3D side1 = new Shape3D();
            QuadArray abgeom = new QuadArray(4,QuadArray.COORDINATES|QuadArray.TEXTURE_COORDINATE_2);
            //order TL,BL,BR,TR
            abgeom.setCoordinate(0,new Point3f(-3f,4f,0f));//Front
            abgeom.setCoordinate(1,new Point3f(-3f,0f,0f));
            abgeom.setCoordinate(2,new Point3f(3f,0f,0f));
            abgeom.setCoordinate(3,new Point3f(3f,4f,0f));
            abgeom.setTextureCoordinate(0,0,new TexCoord2f(0f,0f));//Front
            abgeom.setTextureCoordinate(0,1,new TexCoord2f(0f,1f));
            abgeom.setTextureCoordinate(0,2,new TexCoord2f(1f,1f));
            abgeom.setTextureCoordinate(0,3,new TexCoord2f(1f,0f));
            side1.setGeometry(abgeom);
            Appearance abapp = new Appearance();
            Texture2D abtex = new Texture2D(Texture.BASE_LEVEL,Texture.RGB,64,64);
            abtex.setImage(0,new ImageComponent2D(ImageComponent.FORMAT_RGB,toBufferedImage((new ImageIcon("buildingside.jpg")).getImage())));
            abapp.setTexture(abtex);
            side1.setAppearance(abapp);
            i.addChild(bg);
            i.addChild(side1);
            return i;
        public void keyPressed(KeyEvent e)
            if(e.getKeyCode()==KeyEvent.VK_ESCAPE)
              System.exit(0);
        public void keyReleased(KeyEvent e)
        public void keyTyped(KeyEvent e)
        private BufferedImage toBufferedImage(Image a)
            BufferedImage b = new BufferedImage(64,64,BufferedImage.TYPE_INT_RGB);
            Graphics g = b.getGraphics();
            g.drawImage(a,0,0,null);
            return b;
        public void actionPerformed(ActionEvent e)
            repaint();
        public void paint(Graphics g)
            canvas.repaint();
        public static void main(String args[])
            JFrame a = new Interaction1();
    }MouseLookBehavior class (ViewPlatformBehavior):
    import java.util.Enumeration;
    import javax.media.j3d.*;
    import java.awt.event.MouseEvent;
    import java.awt.Robot;
    import java.awt.Window;
    import java.awt.Point;
    import java.awt.Dimension;
    import com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior;
    public class MouseLookBehavior extends ViewPlatformBehavior
        private TransformGroup target;
        private Transform3D yaw;
        private double yawTheta=0.0;
        private Robot robot;
        private Window window;
        private float sensitivity;
        public MouseLookBehavior(TransformGroup ooc, Window a, float senstvty)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=senstvty;
            yaw = new Transform3D();
        public MouseLookBehavior(TransformGroup ooc, Window a)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=2f;
            yaw = new Transform3D();
        public void initialize()
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
        public void processStimulus(Enumeration e)
            MouseEvent a = (MouseEvent)(((WakeupOnAWTEvent)e.nextElement()).getAWTEvent()[0]);
            Point winloc = window.getLocation(null);
            Dimension windim = window.getSize(null);
            winloc.translate((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            int difx=a.getX()-(int)(windim.getWidth()/2),dify=a.getY()-(int)(windim.getWidth()/2);
            difx*=sensitivity;
            dify*=sensitivity;
            yawTheta+=difx;
            yaw.rotY(yawTheta);
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
            robot.mouseMove((int)windim.getWidth()/2,(int)windim.getHeight()/2);
    PLEASE NOTE: I have been trying to get an exit command in there but it hasn't worked, so if you decide to run this, you will have to ctrl-alt-dlt it and alt-e it to end the task which brings up an AWT question... why wont it exit?
    ALSO NOTE: I am aware of some extra useless variables in the processStimulus method. This is for future versions once I get this one to work. Ignore it.

    Perfect! Thanks. I've got a new problem now. whenever I try to use the mouselook, the object disappears. And so I tryed turning to find it and it still isn't there...
    Main class
    import javax.swing.JFrame;
    import java.awt.event.*;
    import javax.swing.Timer;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.*;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import javax.vecmath.*;
    import java.awt.Image;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import javax.swing.ImageIcon;
    import java.awt.Polygon;
    import com.sun.j3d.utils.geometry.GeometryInfo;
    import com.sun.j3d.utils.geometry.Triangulator;
    import com.sun.j3d.utils.geometry.Stripifier;
    import com.sun.j3d.utils.universe.ViewingPlatform;
    import com.sun.j3d.utils.universe.Viewer;
    import com.sun.j3d.utils.behaviors.mouse.MouseRotate;
    public class Interaction1 extends JFrame implements KeyListener
        public static final long serialVersionUID=1;
        private Canvas3D canvas;
        public Interaction1()
            super("Interaction1");
            setSize(700,530);
            setVisible(true);
            Container c = getContentPane();
            c.setLayout(new FlowLayout());
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            canvas = new Canvas3D(config);
            canvas.setSize(640,480);
            canvas.setVisible(true);
            c.add(canvas);
            ViewingPlatform vp = new ViewingPlatform();
            vp.setNominalViewingTransform();
            vp.getViewPlatformTransform().setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
            vp.setViewPlatformBehavior( new MouseLookBehavior(vp.getViewPlatformTransform(),this,10f));
            vp.getViewPlatformBehavior().setSchedulingBounds(new BoundingSphere());
            SimpleUniverse univ = new SimpleUniverse(vp, new Viewer(canvas));
            BranchGroup scene = createSceneGraph();
            scene.compile();
            univ.addBranchGraph(scene);
            addKeyListener(this);
        private BranchGroup createSceneGraph()
            BranchGroup i = new BranchGroup();
            Background bg = new Background();
            bg.setColor(.75f,1f,1f);
            bg.setApplicationBounds(new BoundingSphere(new Point3d(),500.0));
            Shape3D side1 = new Shape3D();
            QuadArray abgeom = new QuadArray(4,QuadArray.COORDINATES|QuadArray.TEXTURE_COORDINATE_2);
            //order TL,BL,BR,TR
            abgeom.setCoordinate(0,new Point3f(-3f,4f,0f));//Front
            abgeom.setCoordinate(1,new Point3f(-3f,0f,0f));
            abgeom.setCoordinate(2,new Point3f(3f,0f,0f));
            abgeom.setCoordinate(3,new Point3f(3f,4f,0f));
            abgeom.setTextureCoordinate(0,0,new TexCoord2f(0f,0f));//Front
            abgeom.setTextureCoordinate(0,1,new TexCoord2f(0f,1f));
            abgeom.setTextureCoordinate(0,2,new TexCoord2f(1f,1f));
            abgeom.setTextureCoordinate(0,3,new TexCoord2f(1f,0f));
            side1.setGeometry(abgeom);
            Appearance abapp = new Appearance();
            Texture2D abtex = new Texture2D(Texture.BASE_LEVEL,Texture.RGB,64,64);
            abtex.setImage(0,new ImageComponent2D(ImageComponent.FORMAT_RGB,toBufferedImage((new ImageIcon("buildingside.jpg")).getImage())));
            abapp.setTexture(abtex);
            side1.setAppearance(abapp);
            i.addChild(bg);
            i.addChild(side1);
            return i;
        public void keyPressed(KeyEvent e)
            if(e.getKeyCode()==KeyEvent.VK_ESCAPE)
              System.exit(0);
        public void keyReleased(KeyEvent e)
        public void keyTyped(KeyEvent e)
        private BufferedImage toBufferedImage(Image a)
            BufferedImage b = new BufferedImage(64,64,BufferedImage.TYPE_INT_RGB);
            Graphics g = b.getGraphics();
            g.drawImage(a,0,0,null);
            return b;
        public static void main(String args[])
            JFrame a = new Interaction1();
    }MouseLookBehavior:
    import java.util.Enumeration;
    import javax.media.j3d.*;
    import java.awt.event.MouseEvent;
    import java.awt.Robot;
    import java.awt.Window;
    import java.awt.Point;
    import java.awt.Dimension;
    import com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior;
    public class MouseLookBehavior extends ViewPlatformBehavior
        private TransformGroup target;
        private Transform3D yaw;
        private double yawTheta=0.0;
        private Robot robot;
        private Window window;
        private float sensitivity;
        public MouseLookBehavior(TransformGroup ooc, Window a, float senstvty)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=senstvty;
            yaw = new Transform3D();
        public MouseLookBehavior(TransformGroup ooc, Window a)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=2f;
            yaw = new Transform3D();
        public void initialize()
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
        public void processStimulus(Enumeration e)
            MouseEvent a = (MouseEvent)(((WakeupOnAWTEvent)e.nextElement()).getAWTEvent()[0]);
            Point winloc = window.getLocation(null);
            Dimension windim = window.getSize(null);
            winloc.translate((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            int difx=a.getX()-(int)(windim.getWidth()/2),dify=a.getY()-(int)(windim.getWidth()/2);
            difx*=sensitivity;
            dify*=sensitivity;
            yawTheta+=difx;
            yaw.rotY(yawTheta/180*Math.PI);
            target.setTransform(yaw);
            robot.mouseMove((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
    }

  • Drag Layer behavior problem in IE 6

    I have created a simple page with a draggable layer. Works
    fine in FF but if you
    scroll to the bottom of the page in IE the layer is not
    draggable any more. I first noticed this behavior when I created
    layers with DW MX2004, so just to make sure, I dowloaded DW 8,
    installed on a clean Win XP virtual PC, and the problem remains.
    Please look at this example and tell me what I'm missing:
    Example of draggable
    layer

    I have found the culprit, it is this code that DW
    inserts at the top of the page:
    quote:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "http
    ://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    Now, in the first place, I am wondering why dozens of other
    users did not get the same problem, and secondly, what is the
    correct code to place at the top of the page???

Maybe you are looking for

  • F.07 bal dif from bal in fbl1n/fbl5n

    hi When I run the F.07 in test mode and compare the bal in fbl1n/fbl5n ( open items 31.12.2008 and normal items)  are not matching why thanks in advance

  • How to change package of infotype

    Hi all, i have created a an infotype and assigned it to a package. i want to put the infotype in another package. can anyone tell me how to do this? regards, hamza

  • Aspect ratio when exporting to DVD

    Newbie - forgive me but have been struggling with this one for days. Have a project - 5 min film - in FCP X and really struggling to export it to DVD using the share command - it will copy fine but the original is in 1920 x 1080 and the DVD share opt

  • Adobe CS1 and OS 10.6?

    Buying a new laptop and have old software. Will the original CS work well on OS 10. 6 or should I look for a machine with 10.5?

  • Strange sequence of error messages during recovery

    Hi, I am trying to do an incomplete recovery as follows: "alter database recover automatic from 'C:\logsdir' using backup controlfile until change 2192315;" which results in the following error messages: ERROR at line 1: ORA-00279: change 2169480 gen