Sanbox 5600 & Apple LSI logic problems

Hello
I have a MAC and Raids connected through a Sanbox 5600 and the Raid keeps un-mounting (dropping off) a few seconds into use.
My set up:
Dual G5 MAC with
-Apple LSI Logic, 4Gb Fibre card
-Finisar PB FTLF 8524 P2 BNL transceivers
Q-Logic Sanbox 5600 16 port activated switch (firmware 5.0.1.10)
Two EonStore Raids, each wih 2x 4Gb fibre connections and striped into one Raid.
So, the Raids are connected through to the Sanbox 5600 with Finisars (as above). They occupy ports 0,1,2,3
The Mac sits in ports 4,5
The Raids are set as Targets
Mac set as initiator with Device scan off and Stream Guard on.
When I boot up, the Raid appears beautifully, it works for 15 seconds or thereabouts and then she drops off. I assume some miscreant LIP is upsetting the Mac.
When I use an ATTO card all is fine, when I use Apple’s LSI, all is bad. And of course, there is little way of adjusting the blighter and even trying to update drivers.
Any top settings or any help out there for me?
Many thanks in advance.
Philip Richardson
Managing Director
Pogo Films Ltd

Use the fibre channel utility and force the LSI into point to point if it isn't already. (Point to point or N-Port instead of Loop or NL-port) I'd do the same for the storage as well.
Drew

Similar Messages

  • LSI Logic Fibre Channel PCI Card

    I have an Xserve PowerPC G5 Dual 2.3GHz (mid 2005).  Have LSI Logic Fibre Channel PCI Card installed (Product: LSI7202XP). 
    My question: Can this Fibre Channel PCI Card be installed in a Apple xServe (Early 2008) - 2.8 GHz Xeon Quad-Core?  Any info will be greatly appreciated.
    -jason

    I think there is. It is hard to believe that ~200MB/s read comnpared to 0,7MB/s write speeds are a feature rather than a bug/problem.
    I haven´t tested the used xserve with another xraid, I used different server for the Xraid benchmarking.
    Message was edited by: Janne Ikola

  • Has Apple acknowledged the problem yet with itunes aborting preview of songs after about 10 seconds on windows 7 and if so is there an answer other than ipconfig?

    Has Apple acknowledged the problem yet with itunes aborting preview of songs after about 10 seconds on windows 7 and if so is there an answer other than ipconfig?  IPConfig /flushdns doesn't help at all.  Until they fix it I will be previewing and buying my songs thru Amazon.

    Doublechecking ... do you still get that if you update to iTunes 10.6.3.25 (just released today)?
    http://www.apple.com/itunes/download/

  • I forgot my apple id password so i create a new one. the problem is i cant remove my first apple id because any time i tried to reset my password i never received any email from Apple.now the problem is my iCloud and ... have problem on my iPhone????

    I have a problem with my I phone5 . after i bought an iPhone6 and i joined it to my iTunes , the same problem happens to my new Iphone.
    i thought with the new Apple ID the problem could be solved. so i create a new Apple ID. now i have 2 I Phones  with the same problem means i can't remove my first Apple ID because any time i try to reset my password and delete the Apple ID i don't receive any Email from APPLE .
    Please HELP me. i would be very appreciated .
    thank you very much.

    Hello ba.t,
    After reviewing your post, it sounds like you tried to reset the Apple ID password but did not receive the email. I would recommend that you read this article, it may be able to help the issue.
    If you didn't receive your verification or reset email - Apple Support
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • The logical problem in turnover in  for ?

    Welcome
    wrote this code, everything is true but there is a logical problem to be solved first idea of this program is a moving train to the contrary, it can stop and operated once again and that can add cars and locomotives and can delete it but there is a problem when adding that the train carriages have remained stable cart after the first turnover Thus ...
    THAT shows us the error ..
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Train extends JFrame implements ActionListener{
        private boolean check = false;
        private boolean stopped = true;
        private boolean add = false;
        private int trainPlace = 0;
        private int INDEX_START = 0;
        public int speed = 300;
        private ImageIcon CurrentImage ;
        private boolean front=true, back=false ;
        private int carrNum = 0 ;
        private JPanel screen, area , controlroom;
        private JButton[][] street;
        public JButton[] keybord;
        private String s[] = {"Start","Back","Fast","Slow","Add Carriage","Delete Carriage","Rest","Check","Desiners"};
        private ImageIcon images[][] ={{
                        new ImageIcon("images/UpRight.jpg"),
                        new ImageIcon("images/RightDown.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        {new ImageIcon("images/Vert.jpg"),
                        new ImageIcon("images/DownRight.jpg"),
                        new ImageIcon("images/Horiz.jpg"),
                        new ImageIcon("images/RightDown.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/Vert.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/Vert.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/Vert.jpg"),
                        new ImageIcon("images/UpRight.jpg"),
                        new ImageIcon("images/Horiz.jpg"),
                        new ImageIcon("images/RightUp.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/DownRight.jpg"),
                        new ImageIcon("images/RightUp.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/NoTrack.jpg"),
                        new ImageIcon("images/NoTrack.jpg")}};
        private ImageIcon frontImagesTrain[]={
                        new ImageIcon("images/TrainDown.jpg"),
                        new ImageIcon("images/TrainDown.jpg"),
                        new ImageIcon("images/TrainLeft.jpg"),
                        new ImageIcon("images/TrainLeft.jpg"),
                        new ImageIcon("images/TrainDown.jpg"),
                        new ImageIcon("images/TrainLeft.jpg"),
                        new ImageIcon("images/TrainUp.jpg"),
                        new ImageIcon("images/TrainUp.jpg"),
                        new ImageIcon("images/TrainUp.jpg"),
                        new ImageIcon("images/TrainUp.jpg"),
                        new ImageIcon("images/TrainRight.jpg"),
                        new ImageIcon("images/TrainDown.jpg"),
                        new ImageIcon("images/TrainRight.jpg"),
                        new ImageIcon("images/TrainDown.jpg")};
            private ImageIcon trackImagesTrain[]={
                    new ImageIcon("images/Vert.jpg"),
                    new ImageIcon("images/RightUp.jpg"),
                    new ImageIcon("images/Horiz.jpg"),
                    new ImageIcon("images/UpRight.jpg"),
                    new ImageIcon("images/RightUp.jpg"),
                    new ImageIcon("images/DownRight.jpg"),
                    new ImageIcon("images/Vert.jpg"),
                    new ImageIcon("images/Vert.jpg"),
                    new ImageIcon("images/Vert.jpg"),
                    new ImageIcon("images/UpRight.jpg"),
                    new ImageIcon("images/RightDown.jpg"),
                    new ImageIcon("images/DownRight.jpg"),
                    new ImageIcon("images/Horiz.jpg"),
                    new ImageIcon("images/RightDown.jpg")};
              private ImageIcon carrinImagesTrain[]={
                        new ImageIcon("images/Carriage1Down.jpg"),
                        new ImageIcon("images/Carriage1Down.jpg"),
                        new ImageIcon("images/Carriage1Left.jpg"),
                        new ImageIcon("images/Carriage1Left.jpg"),
                        new ImageIcon("images/Carriage1Down.jpg"),
                        new ImageIcon("images/Carriage1Left.jpg"),
                        new ImageIcon("images/Carriage1Up.jpg"),
                        new ImageIcon("images/Carriage1Up.jpg"),
                        new ImageIcon("images/Carriage1Up.jpg"),
                        new ImageIcon("images/Carriage1Up.jpg"),
                        new ImageIcon("images/Carriage1Right.jpg"),
                        new ImageIcon("images/Carriage1Down.jpg"),
                        new ImageIcon("images/Carriage1Right.jpg"),
                        new ImageIcon("images/Carriage1Down.jpg")};
        private int[]frontPath={13, 18,17,16,21,20,15,10,5,0,1,6,7,8};
      private int[]frontPath2={8, 13,18,17,16,21,20,15,10,5,0,1,6,7};  
        private ImageIcon icon;
        private JLabel labelInfo;
        public Train () {  
           screen = new JPanel(new GridLayout(1,1));
           Font f =new Font ("Sanserif",Font.BOLD,18);
           labelInfo = new JLabel("WELCOM" ,JLabel.CENTER);
           labelInfo.setFont(f);
           screen.setBackground(Color.red);
           screen.add(labelInfo);
           getContentPane().add(BorderLayout.NORTH,screen );
            street = new JButton[5][5];
            area = new JPanel (new GridLayout(5,5));
            for(int r=0; r<5; r++) 
                for (int c=0; c<5; c++){
                    street[r][c] = new JButton("", images[r][c]);
                    area.add(street[r][c]);
            getContentPane().add(BorderLayout.CENTER,area );   
            keybord = new JButton[9];
            controlroom = new JPanel(new GridLayout(5,2));   
    //        ActionHandler handler = new ActionHandler();
            for (int i=0; i <9; i++)
                keybord[i] = new JButton(s);
    keybord[i].addActionListener(this);
    controlroom.add(keybord[i]);
              keybord[i].setEnabled(false);
              keybord[7].setEnabled(true);
    getContentPane().add(BorderLayout.SOUTH,controlroom );
    public void moveTrainFront(){
    int trainPlace1 = trainPlace;
    try{
    if (trainPlace == frontPath.length-1) trainPlace = 0;
    else trainPlace ++;
                   if (carrNum == 0 )
         int i = frontPath[trainPlace]/5;
         int j = frontPath[trainPlace] - i * 5;
         int r = frontPath[trainPlace1]/5;
         int c = frontPath[trainPlace1] - r * 5;
         street[i][j].setIcon(frontImagesTrain[trainPlace]);
         street[r][c].setIcon(trackImagesTrain[trainPlace1]);
                   else
                        int i1 = frontPath[trainPlace]/5;
                        int j1 = frontPath[trainPlace] - i1 * 5;
                        street[i1][j1].setIcon(frontImagesTrain[trainPlace]);     
                        int trainPlace2 = trainPlace;
                        for (int z = 1; z <= carrNum; z++)
    if (trainPlace2 - z < 0) trainPlace2 = 13;
                                  int i2 = frontPath[trainPlace2 - z]/5;
                                  int j2 = frontPath[trainPlace2 - z] - i2 * 5;
                                  street[i2][j2].setIcon(carrinImagesTrain[trainPlace2 - z]);
              int r1 = frontPath[trainPlace1 - carrNum]/5;
                        int c1 = frontPath[trainPlace1 - carrNum] - r1 * 5;
                        street[r1][c1].setIcon(trackImagesTrain[trainPlace1 - carrNum]);
    }catch(ArrayIndexOutOfBoundsException aiex){System.out.println("the array out of index");}
    // Move train Back
    public void moveTrainBack(){
    int trainPlace1 = trainPlace;
    try{
    if (trainPlace == 0) trainPlace = 13;
    else trainPlace--;
    int i = frontPath[trainPlace]/5;
    int j = frontPath[trainPlace] - i * 5;
    int r = frontPath[trainPlace1]/5;
    int c = frontPath[trainPlace1] - r * 5;
    street[i][j].setIcon(frontImagesTrain[trainPlace]);
    street[r][c].setIcon(trackImagesTrain[trainPlace1]);
    }catch(ArrayIndexOutOfBoundsException aiex){System.out.println("the array out of index");}
    public void setRest(){
    setStop(true);
              setSpeed(300);
    int i = frontPath[trainPlace]/5;
    int j = frontPath[trainPlace] - i * 5;
    street[i][j].setIcon(trackImagesTrain[trainPlace]);
    trainPlace = 0;
    i = frontPath[trainPlace]/5;
    j = frontPath[trainPlace] - i * 5;
    street[i][j].setIcon(frontImagesTrain[0]);
    public void setCheck (boolean c)
    int i = frontPath[trainPlace]/5;
    int j = frontPath[trainPlace] - i * 5;
    street[i][j].setIcon(frontImagesTrain[0]);
    check = c ;
    public boolean getCheck (){ return  check ;}
    public void setSpeed (int s){speed = s ;}
    public int getSpeed(){return  speed;}
    public void setStop(boolean s){stopped = s ;}
    public boolean getStop(){return  stopped ;}
    public void setBack(boolean s){back = s ;}
    public boolean getBack(){return  back;}
         public void setAdd(){carrNum++ ;}
    public boolean getAdd(){return  add;}
    // Action
         public void actionPerformed(ActionEvent e){
              if(e.getSource()==keybord[0])//Start
              if (stopped)
              keybord[0].setText("Stop");
                   setStop(false);
                   labelInfo.setText("Running");
    else      
                   {    setStop(true);
                   keybord[0].setText("Start");
                        labelInfo.setText("Stop");
              if(e.getSource()==keybord[1])//Front And Back
              if (!back)
                   setBack(true);
              keybord[1].setText("Front");
                   labelInfo.setText("Back");
              else      
                   setBack(false);
              keybord[1].setText("Back");
                   labelInfo.setText("Front");
              }     else if (e.getSource()==keybord[2])//Fast
              if (speed <= 0)
              labelInfo.setText("You've arrived the maximum speed : " + getSpeed());
              else {      setSpeed(speed  - 10);
                   labelInfo.setText("The Train speed is slow down to : " + getSpeed());
         else if(e.getSource()==keybord[3])//Slow
              {setSpeed(speed + 10);
                    labelInfo.setText("The Train speed is pulled up to : "+getSpeed());
    else if(e.getSource()==keybord[4]) //ADD carrin
                        setAdd();
                        labelInfo.setText("Add Carriage");
              //setStop(false);
    else if(e.getSource()==keybord[5]) //Delete carrin
                   labelInfo.setText("Delete Carrin");
         else if(e.getSource()==keybord[6]) //Rest
                   setRest();     
              labelInfo.setText("Rest");
         else if (e.getSource()==keybord[7]) //Check
         setCheck(true);
         keybord[7].setEnabled(false);
         keybord[0].setEnabled(true);
         keybord[1].setEnabled(true);
         keybord[2].setEnabled(true);
         keybord[3].setEnabled(true);
         keybord[4].setEnabled(true);
         keybord[5].setEnabled(true);
         keybord[6].setEnabled(true);
         keybord[8].setEnabled(true);
         labelInfo.setText("The Train is Checked");
    else if(e.getSource()==keybord[8]) //desiners
         String x = "";
                   labelInfo.setText("Desiners About");
                   JOptionPane.showMessageDialog(null,"The Progect is Under The Auspices of:"
                   + "\n??" + "\n" + "\n ??" +
                   "\n ??" + "\n??" + "\n ??" + "\n" + "\n" + "\n?? " + "\n C 2007");     }     
    This main ..
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.lang.Thread;
    public class TestTrain{     
        public static void main(String[]args){
            Train train = new Train ();
              MoveTrain mt = new MoveTrain(train);
            train.setTitle("Train");
            train.setSize(421,550);
            train.setVisible(true);
            train.addWindowListener (
            new WindowAdapter (){
                 public void windowClosing(WindowEvent e ){
                      System.exit(0);
              mt.start();
    }This Threads
    import java.lang.Thread;
    public class MoveTrain extends Thread {
         Train train ;
        public MoveTrain (Train train){
               this.train= train;
         public void run(){
               while(!train.getCheck());
               while (train.getCheck()){
                    try {sleep (train.getSpeed()); }
                    catch (InterruptedException e ){System.out.println("unknown error");}
                     if (!train.getStop())
                        if(!train.getBack())
                                {train.moveTrainFront();
                          else  train.moveTrainBack();
    }This Link image icon ..
    http://www.geocities.com/alhairan_2003/as/777/UpRight.jpg
    http://www.geocities.com/alhairan_2003/as/777/Vert.jpg
    http://www.geocities.com/alhairan_2003/as/777/TrainUp.jpg
    http://www.geocities.com/alhairan_2003/as/777/TrainRight.jpg
    http://www.geocities.com/alhairan_2003/as/777/TrainLeft.jpg
    http://www.geocities.com/alhairan_2003/as/777/TrainDown.jpg
    http://www.geocities.com/alhairan_2003/as/777/Train.jpg
    http://www.geocities.com/alhairan_2003/as/777/RightUp.jpg
    http://www.geocities.com/alhairan_2003/as/777/RightDown.jpg
    http://www.geocities.com/alhairan_2003/as/777/NoTrack.jpg
    http://www.geocities.com/alhairan_2003/as/777/Horiz.jpg
    http://www.geocities.com/alhairan_2003/as/777/DownRight.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage3Up.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage3Right.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage3Left.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage3Down.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage2Up.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage2Right.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage2Left.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage2Down.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage1Right.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage1Left.jpg
    http://www.geocities.com/alhairan_2003/as/777/Carriage1Down.jpg
    thanks :)

            String[] car1Names = {
                "Carriage1Down", "Carriage1Left", "Carriage1Down", "Carriage1Right"
            };The first image name should be "Carriage1Up" but it is missing in your directory.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class MC6 implements Runnable, ActionListener {
        JLabel[] grid;
        BufferedImage[] trackImages;
        BufferedImage[] trainImages;
        BufferedImage[][] carImages;
        int[] imageKeys;
        int[] trackKeys;
        int[] forwardKeys;
        int[] reverseKeys;
        int keyIndex = 0;
        int carCount = 0;           // [0 - 3]
        boolean goingAhead = true;
        boolean changeDirections = false;
        Thread thread = null;
        boolean moving = false;
        final int DELAY = 1000;
        public MC6() {
            loadImages();
        public void actionPerformed(ActionEvent e) {
            String ac = e.getActionCommand();
            if(ac.equals("START"))
                changeDirections = false;
                start();
            if(ac.equals("STOP"))
                stop();
            if(ac.equals("FORWARD") || ac.equals("REVERSE"))
                changeDirections = true;
            if(ac.equals("ADD CARRIAGE"))
                carCount += (carCount+1 <= 3) ? 1 : 0;
            if(ac.equals("REMOVE CARRIAGE")) {
                int carIndex = getCarIndex(carCount);
                int trackIndex = trackKeys[carIndex];
                int imageIndex = imageKeys[carIndex];
                grid[trackIndex].setIcon(new ImageIcon(trackImages[imageIndex]));           
                carCount -= (carCount-1 >=0 ) ? 1 : 0;
        public void run() {
            while(moving) {
                // Clear track in preparation for next advance.
                if(changeDirections) {
                    clearTrack();
                    // Adjust keyIndex by one increment in the direction of travel
                    // to allow it to return it to its current position after the
                    // next advance in position (further below).
                    advance();
                    goingAhead = !goingAhead;
                    changeDirections = false;
                } else {
                    // Replace last car with track image before train advances.
                    int carIndex = getCarIndex(carCount);
                    int trackIndex = trackKeys[carIndex];
                    int imageIndex = imageKeys[carIndex];
                    grid[trackIndex].setIcon(new ImageIcon(trackImages[imageIndex]));
                // Move to next position on the track.
                advance();
                // Set locomotive.
                setLocomotive();
                // Set the cars following the locomotive.
                setCars();
                try {
                    Thread.sleep(DELAY);
                } catch(InterruptedException e) {
                    System.out.println("interrupted");
                    stop();
        private int getCarIndex(int carNumber) {
            int n = carNumber;
            int index;
            if(goingAhead) {
                index = keyIndex-n;
                if(index < 0)
                    index += trackKeys.length;
            } else {
                index = (keyIndex+n) % trackKeys.length;
            return index;
        private void advance() {
            keyIndex = goingAhead ?
                           (keyIndex+1 > trackKeys.length-1) ? 0 : keyIndex+1
                           (keyIndex-1 < 0) ? trackKeys.length-1 : keyIndex-1;
        private void clearTrack() {
            // Remove all cars from track before direction change.
            for(int j = 0; j < carCount; j++) {
                int carIndex = getCarIndex(j+1);
                int trackIndex = trackKeys[carIndex];
                int imageIndex = imageKeys[carIndex];
                grid[trackIndex].setIcon(new ImageIcon(trackImages[imageIndex]));
        private void setLocomotive() {
            int trackIndex = trackKeys[keyIndex];
            int imageIndex = goingAhead ? forwardKeys[keyIndex]
                                        : reverseKeys[keyIndex];
            grid[trackIndex].setIcon(new ImageIcon(trainImages[imageIndex]));
        private void setCars() {
            for(int j = 0; j < carCount; j++) {
                int carIndex = getCarIndex(j+1);
                int trackIndex = trackKeys[carIndex];
                int imageIndex = goingAhead ? forwardKeys[carIndex]
                                            : reverseKeys[carIndex];
                grid[trackIndex].setIcon(new ImageIcon(carImages[j][imageIndex]));
        private void start() {
            if(!moving) {
                moving = true;
                thread = new Thread(this);
                thread.setPriority(Thread.NORM_PRIORITY);
                thread.start();
        public void stop() {
            moving = false;
            if(thread != null)
                thread.interrupt();
            thread = null;
        private void loadImages() {
            String[] trackNames = {
                "UpRight", "RightDown", "Vert", "DownRight", "Horiz", "RightUp", "NoTrack"
            String[] trainNames = { "TrainUp", "TrainLeft", "TrainDown", "TrainRight" };
            String[] car1Names = {
                "Carriage1Down", "Carriage1Left", "Carriage1Down", "Carriage1Right"
            String[] car2Names = {
                "Carriage2Up", "Carriage2Left", "Carriage2Down", "Carriage2Right"
            String[] car3Names = {
                "Carriage3Up", "Carriage3Left", "Carriage3Down", "Carriage3Right"
            trackImages = getImages(trackNames);
            trainImages = getImages(trainNames);
            BufferedImage[] car1Images = getImages(car1Names);
            BufferedImage[] car2Images = getImages(car2Names);
            BufferedImage[] car3Images = getImages(car3Names);
            carImages = new BufferedImage[][]{ car1Images, car2Images, car3Images };
        private BufferedImage[] getImages(String[] ids) {
            BufferedImage[] images = new BufferedImage[ids.length];
            for(int j = 0; j < ids.length; j++) {
                String path = "images/" + ids[j] + ".jpg";
                try {
                    images[j] = ImageIO.read(new File(path));
                } catch(IOException e) {
                    System.out.println("Read error for " + path +
                                       ": " + e.getMessage());
                    images[j] = null;
            return images;
        private JPanel getCenterComponent() {
            imageKeys = new int[] {
                0, 1, 3, 4, 1,  2,  5,  4,  0,  5,  3,  2,  2, 2
            trackKeys = new int[] {
                0, 1, 6, 7, 8, 13, 18, 17, 16, 21, 20, 15, 10, 5
            forwardKeys = new int[] {
                0, 3, 2, 3, 3,  2,  2,  1,  1,  2,  1,  0,  0, 0
            reverseKeys = new int[] {
                1, 0, 1, 1, 0,  0,  3,  3,  0,  3,  2,  2,  2, 2
            grid = new JLabel[25];
            JPanel panel = new JPanel(new GridLayout(5,0));
            for(int j = 0; j < grid.length; j++) {
                ImageIcon icon;
                int index = getIndexForValue(j);
                if(index != -1) {
                    icon = new ImageIcon(trackImages[imageKeys[index]]);
                } else {
                    icon = new ImageIcon(trackImages[6]);
                grid[j] = new JLabel(icon);
                panel.add(grid[j]);
            return panel;
        private int getIndexForValue(int value) {
            for(int j = 0; j < trackKeys.length; j++) {
                if(value == trackKeys[j])
                    return j;
            return -1;
        private JPanel getControls() {
            String[] ids = {
                "Start", "Stop", "Forward", "Reverse", "Add Carriage", "Remove Carriage"
            JPanel panel = new JPanel(new GridLayout(0,2));
             for(int j = 0; j < ids.length; j++) {
                JButton button = new JButton(ids[j]);
                button.setActionCommand(ids[j].toUpperCase());
                button.addActionListener(this);
                panel.add(button);
            return panel;
        public static void main(String[] args) {
            MC6 test = new MC6();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test.getCenterComponent());
            f.getContentPane().add(test.getControls(), "Last");
            f.pack();
            f.setLocation(200,100);
            f.setVisible(true);
    }

  • Has Apple fixed the problem with 4G cellular connection?

    Has Apple fixed the problem with 4G cellular connection on the iPad 3?

    Cellular connection problem was for US connection in Houston, Texas.  Have an iPad 2 which functions perfectely on Wi-Fi or 3G.  Bought an iPad 3 strictly to get the increased speed from the 4G LTE connection.  Purchased on with the AT &T cellular.  Wi-Fi functions fine, but 4G LTE connection is terrible when it connects at all.  Went to AT&T and they said no problems with service in my area, but never get over 2 bars and most times, Web pages load very slow or will hang and not load at all.  Went to the Apple store and they said it was AT&T network problem and went to AT&T and they said no problems with their service.  Went to the Apple communities forum here and discovered that many people were having the same problems with the 4G LTE cellular connection on their iPad 3's.  Didn't seem to matter if it was AT&T or Verizon.  So I decided that I would just return the unit and wait for Apple to fix the problem.  Hence my question.
    Appreciate very much your time in responding to my question.

  • Apple has a problem and the cant solve it. I had some very important call but this new iphone just shut down on me and wont turn on i tried everything u can find in apple support nothing works for me. Anyone know what i can do?

    Apple has a problem and the cant solve it. I had some very important call but this new iphone just shut down on me and wont turn on i tried everything u can find in apple support nothing works for me. Anyone know what i can do?

    I would instead say you have a problem since nearly all IPs work as advertised.  IF you do have a bad phone, take it into an Apple store and get a replacement.  Hope you didn't jailbreak your phone though as Apple probably will tell you, you broke it, you fix it.

  • Logical problem using vectors

    Hi and Happy New Year,
    I have a vector in my java application which contains a number of elements that is not fix which means each time the number of elements might change.
    I want to retrieve the elements of the vector 3 by 3 its like table records paging in jsp , asp or php
    - lets say this time i've got 10 elements in my vector , I have to JButtons previous_3 and next_3
    - The first time the program runs I want to get the first three elements of the vector (0 to 2)
    - By clicking on the next_3 button I want to get the next 3 ( 3 to 5) and so on... providing that the exist
    - By clicking on the privious_3 button I want to get the previous 3 ( 0 to 2) in this instance and so on... providing that the exist
    Can anyone give me a hint as how to solve this problem at least give me some ideas cause i am lacking of ideas my brain is frozen, I know that is it more a logical problem that a programming one
    I 've done this kind of thing in Asp and PHP but as I am new to Java
    I just can not figure out how to tackle this issue

    You may want to use the modulus function.
    lets look at an example.
    pseudo code
    vector v = new vector()
    v.size = 10; //lets say there are 10 elements in the vector
    int n = 3; // you want to jump maximum 3 elements each time
    // you can jump 3.3 times before running outide the scope
    // of the vector, well after the third time you must check
    // how many elements that is left in the vector, this is
    // done by modulus n%10 = 1, this means that the last time
    // you can not jump more than 1 element.
    I have to go now so I cant give you any code to cope with the problem, Ill be back in 3 hours, maybe I can give a good axample, but this outline is the way to go.
    TheLaw

  • I bougth Time machine 2GB 4th generation, Apple solves the problem of overheating in powersupply?

    I have two questions...
    1. Apple solves the problem of overheating in powersupply?
    2. can i see temperature on Mac OS?
    thanks for you answer...

    1. Apple solves the problem of overheating in powersupply?
    Each new generation of Time Capsules has run cooler than the last. Solved? Hard to know in advance. Plan to give the Time  Capsule plenty of free airspace on all sides.
    2. can i see temperature on Mac OS?
    No, but the Time Capsule's light will blink amber to signal that temperatures may be too high.

  • How to send a feedback to apple about safari problem?

    how to send a feedback to apple about safari problem?
    the problem is with a site of mobile phones, www.190.it
    impossible to log in with safari browser.
    with firefox or others no problem

    Hi Ginada
    Feedback to Apple can be made via the Safari Menu>Report Bugs to Apple selection, or here. Apple doesn't respond to either; rather, uses the information for internal purposes.
    Your alternative, if in the US and machine is under warranty including telephone support, would be to call Apple Care. 800-275-2273

  • How do I email Apple about a problem?

    I am having a hard time figuring out where or how to email Apple about a problem that I am having. Could someone please help me?

    Apple Contact USA
    http://www.apple.com/contact/
    Contacting Apple World Wide for Support and Service
    http://support.apple.com/kb/HE57

  • Apple tv connection problems connection manager :: invoke:: failed to find service

    HELP THIS IS WHAT I GET WHEN TRYINF TO LOG INTO APPLE TV:
    apple tv connection problems connection manager :: invoke:: failed to find service

    Check over on the right side of the thread here under More Like This. Look for one that has a green checkmark which means it is answered. I have read of this however, I do not know how to solve it. It seems as though it is one particular carrier this happens to.

  • Apple TV streaming problems with itunes

    Apple TV streaming problems. Since recent last update to AppleTV when I try to streams movie or tv show from iTunes sometimes it is fine sometimes it takes hours (Hd or Sd). No problem with netflix. Wifi is not super strong in location but this was not a problem at all before update. Any suggestions?
    Paul

    ok.
    this is not a solution to your problem, but you didn't need to do that just to remove it from appletv. you could have simply unticked the item in your library and that would have made it not available to appletv. you could also have amended your sync options. you don't need to delete something from your library just to remove it from appletv.
    however back to your problem. it sounds like the appletv is not syncing the changes to your library. you should restart your appletv and see if that forces the change.

  • Do i need a new drive or should apple fix the problem!

    since i upgraded to osx lion i keep getting an error code 0x80020022 every time i try and burn a dvd doesn't matter what type of program i use the some results error code.. 0x80020022 . does this mean a new drive is needed ?.. or bearing in mine it worked perfectly before lion was in stalled should apple fix the problem?
    i wish i hadn't bothered with lion..
    reading though this discussion forum this problem seems to be happening to others... so why it seems is apple ignoring it ?....
    now if i need a new drive because of this upgrade why didn't apple say your optical drive may need to be upgraded to work with lion before i started ...
    i was quite happy with snow leopard...
    i mean apple do say keep your machine up to date ..do they not!
    terry dissapointed
    in the UK.

    Restore your bootable backup/clone or Time Machine of your previous Snow Leopard installation and see if the problem persists.

  • Ho comprato il 20 dicembre l'iPhone 5 in offerta dalla TIM. Da allora sono alle prese con il continuo passaggio dal 3G ad Edge. Fatto ripristino e reset di rete più volte, ma né la TIM né Apple riconoscono il problema, ma si rimpallano la responsabilità.

    Ho comprato il 20 dicembre l'iPhone 5 in offerta dalla TIM. Da allora sono alle prese con il continuo passaggio dal 3G ad Edge. Per ritornare al 3G devo attivare e disattivare l'opzione "aereo" o "3G". Ho fatto il ripristino dell'iphone e il reset di rete della nano sim più volte senza concludere nulla, ma né la TIM né Apple riconoscono il problema, anzi si rimpallano la responsabilità. Che fare?

    Facendo varie prove (come l'inserimento della nano sim in un cellulare Nokia) e confrontando il comportamento dell'iPhone 5 con un altro iPhone 5  - sempre con nano sim TIM - in zone diverse della città in cui abito (Palermo), sono pervenuto alla seguente conclusione: c'è un problema del dispositivo, ma c'è anche un problema di regolazione del segnale dal parte del gestore TIM.
    Non sono un tecnico e non so spiegare perchè ciò avvenga, anzi mi piacerebbe saperlo sia dalla Apple che da TIM, ma dubito che dichiarino apertamente il problema. Se non si capisce perchè ciò avvenga, è inutile sostituire telefono e nano sim.
    Io ho cambiato nano sim e il problema è rimasto. Ho avviato on line con un operatore Apple la pratica di sotituzione dell'iPhone: mi mandano un corriere a ritirarlo e me lo riportano in una settimana. Ma qui mi sono fermato e non ho proceduto ancora alla sostituzione, perchè mi è stato detto che mi sarebbe stato sostituito con un "rigenerato".
    Come nuovo non è la stessa cosa di nuovo e in rete leggo di clienti che dopo la sostituzione continuano ad avere lo stesso problema.
    Chiediamo a Apple di dirci con chiarezza se c'è una partita di iPhone 5 con qualche elemento difettoso o non adatto al mercato italiano o se è un problema di software (e in quel caso aspetteremo pazientemente un aggiornamento) e a TIM chiediamo di non blindare il 119. Infatti da alcuni giorni è impossibile contattare un operatore. Come mai? Subissata dalle lamentele dei clienti?
    Ho molta voglia di rescindere il contratto di trenta mesi...

Maybe you are looking for

  • I'm trying to give BT more money, but the "system"...

    I'm losing my mind here. I have recently became aware of BT's decision to remove usage restrictions during peak hours for certain types of traffic (e.g. Peer to peer). As an existing Infinity customer ("BT Infinity Option 2") I would like to get rid

  • Query running extremely slow.

    Hi All, I am sitting on 10.2.0.4.0 on linux box. I've got one complain from the application folks regarding the query the slow query , it's running quite long time. I extracted out the explain plan and commulative wait events for sessions and system

  • Text & speed

    hi there... just 2 stupid questions 1.- i apply an animated mask to dynamic textfield but i have to load the text for every keyframe to show it and it looks like a blinking text, any idea to load the text only once? 2.- i apply animated masks to movi

  • Cl_htmlb_tableview= factory for 3 tableviews

    Hello, I´m creating a Tabstrip control with cl_htmlb_tabstrip=>factory and this control has 3 tabstrip items. Each item must display a tableview (with the same structure) with different data, depending on the active item. I do a loop to create this:

  • Can't type in single user mode

    Hi, I am trying to fix a MacBook Air's hard drive and attempted to boot from single user mode to run fsck. However, when I get into single user mode I can't type a thing. No buttons on the keyboard work. I shut it down and tried doing it again but th