Help! Class, interface, or enum expected, don't know where the error is
hey all, I am doing a project for school but I keep getting a compiler error and I don't know why. Here is the code that keeps getting the error:
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.*;
* Green Survivor
* @author
* @version
public class Green extends Survivor
* Constructor that simply calls Survivor's no-argument constructor.
public Green()
super();
* Does whatever a Survivor does
public void act()
getNextMove();
updateLife();
* Update a Survivor's life based on its neighbors.
public void updateLife()
//Get a list of all neighbors that are in a square directly next
//to us that are of type Survivor. Traverse the list. For every
//neighbor of type Green, add one to life. For any other Survivor,
//subtract two from life.
ArrayList<Object> update = new ArrayList<Object>();
update.add(getOneObjectAtOffset(1, 0, Survivor.class));
update.add(getOneObjectAtOffset(-1, 0, Survivor.class));
update.add(getOneObjectAtOffset(1, 1, Survivor.class));
update.add(getOneObjectAtOffset(0, 1, Survivor.class));
update.add(getOneObjectAtOffset(0, -1, Survivor.class));
update.add(getOneObjectAtOffset(-1, -1, Survivor.class));
update.add(getOneObjectAtOffset(1, -1, Survivor.class));
update.add(getOneObjectAtOffset(-1, 1, Survivor.class));
for(int i = 0; i < update.size(); i++)
if(update.get(i) == Green.class)
changeLife(1);
else
changeLife(-2);
//If green is outnumbered by blue by more than 500, subtract 5 from life.
if(green + 500 < blue)
changeLife(-5);
//If green is outnumbered by red by more than 500, subtract 5 from life.
if(green + 500 < red)
changeLife(-5);
* Put a new object of type Green into the world at coordinates x and y.
* Then increment green's static counter accordingly.
public void createNew(int x, int y)
int one = x;
int two = y;
new Green();
setLocation(one, two);
green = green + 1;
* Green pieces should just choose an available move at random. If there
* are no available moves, return -1.
public int getNextMove()
if(canMove(1) || canMove(2) || canMove(3) || canMove(0))
int counter = (int) (Math.random() * 4);
if(canMove(counter))
move(counter);
else
counter = (int) (Math.random() * 4);
if(canMove(counter))
move(counter);
else
counter = (int) (Math.random() * 4);
if(canMove(counter))
move(counter);
else
counter = (int) (Math.random() * 4);
if(canMove(counter))
move(counter);
else
return -1;
It is the subclass of a class that has all the methods used here (it wouldn't allow me to add that too as it said it was too many characters, I will post it if need be)
Thanks in advance!
[http://www.greenfoot.org/|http://www.greenfoot.org/]
It's what we are supposed to use for class.
I've tried to get a more complete error message because then maybe I could figure out whats wrong but that's all that comes up. and it highlights the last bracket. At first I thought it meant the brackets were off but I've triple checked that and I added an extra one in to try that out too and it changed nothing. I've even tried removing certain chunks of code to see if I could isolate the problem and the same error came up no matter what I did.
add- using the compiler in greenfoot.
Edited by: lysistokill on Jun 1, 2010 5:47 PM
Similar Messages
-
[Help] class, interface or enum expected
I keep getting the error 'class, interface or enum expected'... help :S
Here's my .java file
>
package net.sf.odinms.client.messages.commands;
import net.sf.odinms.client.MapleCharacter;
import net.sf.odinms.client.messages.CommandDefinition;
import net.sf.odinms.client.messages.Command;
import net.sf.odinms.client.messages.IllegalCommandSyntaxException;
import net.sf.odinms.client.messages.MessageCallback;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.client.MapleJob;
import net.sf.odinms.client.MapleStat;
import net.sf.odinms.client.SkillFactory;
import net.sf.odinms.net.channel.ChannelServer;
import net.sf.odinms.tools.MaplePacketCreator;
import net.sf.odinms.tools.StringUtil;
import net.sf.odinms.tools.data.output.MaplePacketLittleEndianWriter;
import static net.sf.odinms.client.messages.CommandProcessor.getOptionalIntArg;
public class customCommands implements Command {
@Override
public void execute(MapleClient c, MessageCallback mc, String[] splitted) throws Exception,
IllegalCommandSyntaxException {
if (splitted[0].equals("!spy")) {
double var;double var2;int str; int dex;int intel; int luk; int meso; int maxhp; int maxmp;
ChannelServer cserv = c.getChannelServer();
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
var = victim.getJumpMod(); var2 = victim.getSpeedMod(); str = victim.getStr(); dex = victim.getDex(); intel = victim.getInt(); luk = victim.getLuk(); meso = victim.getMeso(); maxhp = victim.getCurrentMaxHp();maxmp = victim.getCurrentMaxMp();
mc.dropMessage("JumpMod is" + var + " and Speedmod is" + var2+ "!");
mc.dropMessage("Players stats are:");
mc.dropMessage(" Str: "+ str+", Dex: "+ dex+ ", Int: " + intel + ", Luk: "+ luk +" .");
mc.dropMessage("Player has "+ meso + "mesos.");
mc.dropMessage("Max hp is" + maxhp + " Max mp is" + maxmp + ".");
} else if (splitted[0].equals("!maxall")) {
int max = Integer.parseInt(splitted[1]);
MapleCharacter player = c.getPlayer();
player.setStr(max);
player.setDex(max);
player.setInt(max);
player.setLuk(max);
player.setMaxMp(max);
player.setMaxHp(max);
player.updateSingleStat(MapleStat.STR, player.getStr());
player.updateSingleStat(MapleStat.DEX, player.getStr());
player.updateSingleStat(MapleStat.INT, player.getStr());
player.updateSingleStat(MapleStat.LUK, player.getStr());
player.updateSingleStat(MapleStat.MAXHP, player.getStr());
player.updateSingleStat(MapleStat.MAXMP, player.getStr());
} else if (splitted[0].equals("!giftnx")) {
ChannelServer cserv = c.getChannelServer();
MapleCharacter victim1 = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
int points = Integer.parseInt(splitted[2]);
victim1.modifyCSPoints(0, points);
mc.dropMessage("NX cash has been gifted.");
} else if (splitted[0].equals("!fame")) {
ChannelServer cserv = c.getChannelServer();
MapleCharacter player = c.getPlayer();
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
int fame = Integer.parseInt(splitted[2]);
victim.setFame(fame);
player.updateSingleStat(MapleStat.FAME, fame);
} else if (splitted[0].equals("!hide")) {
ChannelServer cserv = c.getChannelServer();
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
if (victim != null) {
int skill = Integer.parseInt("5101004");
int level = Integer.parseInt("1");
SkillFactory.getSkill(skill).getEffect(level).applyTo(victim); }
continued next post
Edited by: xQuasar on Sep 26, 2008 7:33 PM} else if (splitted[0].equals("!heal")) {
MapleCharacter player = c.getPlayer();
player.setHp(player.getMaxHp());
player.updateSingleStat(MapleStat.HP, player.getMaxHp());
player.setMp(player.getMaxMp());
player.updateSingleStat(MapleStat.MP, player.getMaxMp());
} else if (splitted[0].equals("!kill")) {
ChannelServer cserv = c.getChannelServer();
MapleCharacter victim1 = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
victim1.setHp(0);
victim1.setMp(0);
victim1.updateSingleStat(MapleStat.HP, 0);
victim1.updateSingleStat(MapleStat.MP, 0);
MapleCharacter victim2 = cserv.getPlayerStorage().getCharacterByName(splitted[2]);
victim2.setHp(0);
victim2.setMp(0);
victim2.updateSingleStat(MapleStat.HP, 0);
victim2.updateSingleStat(MapleStat.MP, 0);
MapleCharacter victim3 = cserv.getPlayerStorage().getCharacterByName(splitted[3]);
victim3.setHp(0);
victim3.setMp(0);
victim3.updateSingleStat(MapleStat.HP, 0);
victim3.updateSingleStat(MapleStat.MP, 0);
MapleCharacter victim4 = cserv.getPlayerStorage().getCharacterByName(splitted[4]);
victim4.setHp(0);
victim4.setMp(0);
victim4.updateSingleStat(MapleStat.HP, 0);
victim4.updateSingleStat(MapleStat.MP, 0);
MapleCharacter victim5 = cserv.getPlayerStorage().getCharacterByName(splitted[5]);
victim5.setHp(0);
victim5.setMp(0);
victim5.updateSingleStat(MapleStat.HP, 0);
victim5.updateSingleStat(MapleStat.MP, 0);
MapleCharacter victim6 = cserv.getPlayerStorage().getCharacterByName(splitted[6]);
victim6.setHp(0);
victim6.setMp(0);
victim6.updateSingleStat(MapleStat.HP, 0);
victim6.updateSingleStat(MapleStat.MP, 0);
//for (MapleCharacter chr : c.getPlayer().getMap().getCharacters()) {
} else if (splitted[0].equals("!dcall")) {
ChannelServer cserv = c.getChannelServer();
for (MapleCharacter mch : cserv.getPlayerStorage().getAllCharacters()){
mch.getClient().getSession().close();
mch.getClient().disconnect();
@Override
new CommandDefinition("spy", "", "", 1000),
new CommandDefinition("maxall", "", "", 1000),
new CommandDefinition("giftnx", "", "", 1000),
new CommandDefinition("fame", "", "", 1000),
new CommandDefinition("hide", "", "", 1000),
new CommandDefinition("heal", "", "", 1000),
new CommandDefinition("kill", "", "", 1000),
new CommandDefinition("dcall", "", "", 1000),
And my Netbeans is showing;
>
init:
deps-jar:
Compiling 356 source files to C:\Documents and Settings\Michael Su\Desktop\FlowsionMSClean\build\classes
C:\Documents and Settings\Michael Su\Desktop\FlowsionMSClean\trunk\src\net\sf\odinms\client\messages\commands\customCommands.java:148: class, interface, or enum expected
new CommandDefinition("spy", "", "", 1000),
^
1 error
BUILD FAILED (total time: 2 seconds)
Help? -
Don't know where the error is!!!
hi again
i wrote the code for the add button ,, but when i enter the path of the .au(eg a:\piano.au) in the text field and click add it will be added to my database and the .au file will be saved as a long binary data in the db,, when i come to search for it in my application i get in the voice text field something like that 61003A005C007000690061006E006F002E0061007500 not(a:\piano.au), i don't get the path so when i come to play it it will not play i don't know where the problem is ..
this is the code:
if(e.getSource()==vadd)
//User has not populated all the input fields.
if(vname.getText().equals("")|| vaddress.getText().equals("")|| vphone.getText().equals("")|| vsex.getText().equals("")|| vdob.getText().equals("")|| vtemplate.getText().equals("")|| vvoice.getText().equals(""))
JOptionPane.showMessageDialog(null, "Please fill in all the fields","Missing Fields",JOptionPane.INFORMATION_MESSAGE);
}//if
else
// save the new customer:
try
//1. take the customer's data:
int vuserId = Integer.parseInt(vid.getText());
String vuserName = vname.getText();
String vuserAddress = vaddress.getText();
String vuserPhone = vphone.getText();
String vuserSex = vsex.getText();
String vuserDateBirth = vdob.getText();
String vuserTemplate = vtemplate.getText();
String vuserVoice=vvoice.getText();
File file = new File(vuserVoice);
int fileLength = (int)file.length();
if(fileLength > 0)
fis = new FileInputStream(file);
String query = " INSERT INTO voice VALUES('"+vuserId+"', '"+vuserName+"', '"+vuserAddress+"', '"+vuserPhone+"', '"+vuserSex+"', '"+vuserDateBirth+"', '"+vuserTemplate+"', ? ) ";
PreparedStatement pstmt = conn.prepareStatement(query);
pstmt.setBinaryStream(1, fis, fileLength);
pstmt.executeUpdate();
else
String query = " INSERT INTO voice VALUES('"+vuserId+"', '"+vuserName+"', '"+vuserAddress+"', '"+vuserPhone+"', '"+vuserSex+"', '"+vuserDateBirth+"', '"+vuserTemplate+"',?) ";
stat.executeUpdate(query);
/*String query = " INSERT INTO voice VALUES('"+vuserId+"', '"+vuserName+"', '"+vuserAddress+"', '"+vuserPhone+"', '"+vuserSex+"', '"+vuserDateBirth+"', '"+vuserTemplate+"', '"+vuserVoice+"') ";
stat.executeUpdate(query);*/
vupdateTable();
} //try
catch (Exception ev)
System.out.println("Caught exception in add action: " + ev);
} //catch
}//else
}//else if
So plzz can some one help..The characters you get is just the (reversed) unicode representation of the string you want:
class Printit{
// this shows the two representations are equal:
public static void main(String [] args){
String tu = "" + '\u0061' + '\u003A' + '\\' /*'\u005C'*/
+ '\u0070' + '\u0069'
+ '\u0061' + '\u006E' + '\u006F'
+ '\u002E'
+ '\u0061' + '\u0075';
System.out.println(tu);
}shows this - well the '\' is only allowed escaped, so I may not use '\005C' directly.
I suppose the field in DB has a wrong format or you do not read it the right way. The writing seems OK to me. -
Class, interface, or enum expected error
import java.awt.Graphics;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
public class InventoryFinal
//main method begins execution of java application
public static void main(final String args[])
int i; // varialbe for looping
double total = 0; // variable for total inventory
final int dispProd = 0; // variable for actionEvents
// Instantiate a product object
final ProductAdd[] nwProduct = new ProductAdd[5];
// Instantiate objects for the array
for (i=0; i<5; i++)
nwProduct[0] = new ProductAdd("CD", 10, 18, 12.00, "Jewel Case");
nwProduct[1] = new ProductAdd("Blue Ray", 9, 20, 25.00, "HD");
nwProduct[2] = new ProductAdd("Game", 8, 30, 40.00, "Game Case");
nwProduct[3] = new ProductAdd("iPod", 7, 40, 50.00, "Box");
nwProduct[4] = new ProductAdd("DVD", 6, 15, 15.00, "DVD Case");
for (i=0; i<5; i++)
total += nwProduct.length; // calculate total inventory cost
final JButton firstBtn = new JButton("First"); // first button
final JButton prevBtn = new JButton("Previous"); // previous button
final JButton nextBtn = new JButton("Next"); // next button
final JButton lastBtn = new JButton("Last"); // last button
final JButton AddBtn = new JButton("Add"); // Add button
final JButton DeleteBtn = new JButton("Delete"); // Delete button
final JButton ModifyBtn = new JButton("Modify"); // Modify button
final JButton SaveBtn = new JButton("Save"); // Save button
final JButton SearchBtn = new JButton("Search"); // Search button
final JLabel label; // logo
final JTextArea textArea; // text area for product list
final JPanel buttonJPanel; // panel to hold buttons
//JLabel constructor for logo
Icon logo = new ImageIcon("C:/logo.jpg"); // load logo
label = new JLabel(logo); // create logo label
label.setToolTipText("Company Logo"); // create tooltip
buttonJPanel = new MyJPanel(); // set up panel
buttonJPanel.setLayout( new GridLayout(1, 4)); //set layout
// add buttons to buttonPanel
buttonJPanel.add(firstBtn);
buttonJPanel.add(prevBtn);
buttonJPanel.add(nextBtn);
buttonJPanel.add(lastBtn);
buttonJPanel.add(AddBtn);
buttonJPanel.add(DeleteBtn);
buttonJPanel.add(ModifyBtn);
buttonJPanel.add(SaveBtn);
buttonJPanel.add(SearchBtn);
textArea = new JTextArea(nwProduct[3]+"\n"); // create textArea for product display
// add total inventory value to GUI
textArea.append("/nTotal value of Inventory "+new java.text.DecimalFormat("$0.00").format(total)+"\n\n");
textArea.setEditable(false); // make text uneditable in main display
JFrame invFrame = new JFrame(); // create JFrame container
invFrame.setLayout(new BorderLayout()); // set layout
invFrame.getContentPane().add(new JScrollPane(textArea), BorderLayout.CENTER); // add textArea to JFrame
invFrame.getContentPane().add(buttonJPanel, BorderLayout.SOUTH); // add buttons to JFrame
invFrame.getContentPane().add(label, BorderLayout.NORTH); // add logo to JFrame
invFrame.setTitle("CD & DVD Inventory"); // set JFrame title
invFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // termination command
//invFrame.pack();
invFrame.setSize(600, 600); // set size of JPanel
invFrame.setLocationRelativeTo(null); // set screen location
invFrame.setVisible(true); // display window
// assign actionListener and actionEvent for each button
firstBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[0]+"\n");
} // end firstBtn actionEvent
}); // end firstBtn actionListener
textArea.setText(nwProduct[4]+"n");
prevBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[4]+"\n");
} // end prevBtn actionEvent
}); // end prevBtn actionListener
textArea.setText(nwProduct[4]+"n");
nextBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[2]+"\n");
} // end nextBtn actionEvent
}); // end nextBtn actionListener
textArea.setText(nwProduct[4]+"n");
lastBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[3]+"\n");
} // end lastBtn actionEvent
}); // end lastBtn actionListener
textArea.setText(nwProduct[4]+"n");// assign actionListener and actionEvent for each button
AddBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[0]+"\n");
} // end AddBtn actionEvent
}); // end AddBtn actionListener
textArea.setText(nwProduct[4]+"n");
// assign actionListener and actionEvent for each button
DeleteBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[0]+"\n");
} // end DeleteBtn actionEvent
}); // end DeleteBtn actionListener
textArea.setText(nwProduct[4]+"n");
// assign actionListener and actionEvent for each button
ModifyBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[0]+"\n");
} // end ModifyBtn actionEvent
}); // end ModifyBtn actionListener
textArea.setText(nwProduct[4]+"n");
// assign actionListener and actionEvent for each button
SaveBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[0]+"\n");
} // end SaveBtn actionEvent
}); // end SaveBtn actionListener
textArea.setText(nwProduct[4]+"n");
// assign actionListener and actionEvent for each button
SearchBtn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
textArea.setText(nwProduct[0]+"\n");
} // end SearchBtn actionEvent
}); // end SearchBtn actionListener
textArea.setText(nwProduct[4]+"n");
// prevBtn.addActionListener(new ActionListener()
// public void actionPerformed(ActionEvent ae)
// dispProd = (nwProduct.length+dispProd-1) % nwProduct.length;
// textArea.setText(nwProduct.display(dispProd)+"\n");
// } // end prevBtn actionEvent
// }); // end prevBtn actionListener
} // end main
} // end class Inventory4
class Product
protected String prodName; // name of product
protected int itmNumber; // item number
protected int units; // number of units
protected double price; // price of each unit
protected double value; // value of total units
public Product(String name, int number, int unit, double each) // Constructor for class Product
prodName = name;
itmNumber = number;
units = unit;
price = each;
} // end constructor
public void setProdName(String name) // method to set product name
prodName = name;
public String getProdName() // method to get product name
return prodName;
public void setItmNumber(int number) // method to set item number
itmNumber = number;
public int getItmNumber() // method to get item number
return itmNumber;
public void setUnits(int unit) // method to set number of units
units = unit;
public int getUnits() // method to get number of units
return units;
public void setPrice(double each) // method to set price
price = each;
public double getPrice() // method to get price
return price;
public double calcValue() // method to set value
return units * price;
} // end class Product
class ProductAdd extends Product
private String feature; // variable for added feature
public ProductAdd(String name, int number, int unit, double each, String addFeat)
// call to superclass Product constructor
super(name, number, unit, each);
feature = addFeat;
}// end constructor
public void setFeature(String addFeat) // method to set added feature
feature = addFeat;
public String getFeature() // method to get added feature
return feature;
public double calcValueRstk() // method to set value and add restock fee
return units * price * 0.10;
public String toString()
return String.format("Product: %s\nItem Number: %d\nIn Stock: %d\nPrice: $%.2f\nType: %s\nTotal Value of Stock: $%.2f\nRestock Cost: $%.2f\n\n",
getProdName(), getItmNumber(), getUnits(), getPrice(), getFeature(), calcValue(), calcValueRstk());
} // end class ProductAdd
class MyJPanel extends JPanel
//private static Random generator = new Random();
private ImageIcon picture; //image to be displayed
// load image
public MyJPanel()
picture = new ImageIcon("mypicture.png"); // set icon
} // end MyJPanel constructor
// display imageIcon on panel
public void paintComponent( Graphics g )
super.paintComponent( g );
picture.paintIcon( this, g, 0, 0 ); // display icon
} // end method paintComponent
// return image dimensions
//public Dimension getPreferredSize()
// return new Dimension ( picture.getIconWidth(),
//picture.getIconHeight() );
} // end method getPreferredSize
} // end class MyJPanel
import java.io.File;
import java.io.IOException;
public class FileAccessDemo
public static void main( String[] args ) throws IOException
// declare variables
String formatStr = "%s exists in %s? %b\n\n";
// processing and output
File file1 = new File( "studentScores.txt" ); // create a File object
System.out.printf
(formatStr, file1.getName(), file1.getAbsolutePath(), file1.exists());
// processing and output
File folder1 = new File( "c:/personnel/" ); // create a File object
folder1.mkdir(); // make a directory
File file2 = new File( "/personnel/faculty.txt" );
file2.createNewFile(); // create a new file
System.out.printf
( formatStr, file2.getName(), file2.getAbsolutePath(), file2.exists() );
// processing and output
file2.delete(); // delete a file, but not the directory
System.out.printf
( formatStr, file2.getName(), file2.getAbsolutePath(), file2.exists() );
} // end main
} // end class
I need help in resolving this error.
ThanksThat code isn't where your error is. Here's the errors I get compiling your code:
H:\java>javac InventoryFinal.java
InventoryFinal.java:78: ')' expected
textArea.append("/nTotal value of Inventory "new java.text.DecimalFormat("$0.00").format(total)"\n\n
^
InventoryFinal.java:78: ';' expected
textArea.append("/nTotal value of Inventory "new java.text.DecimalFormat("$0.00").format(total)"\n\n
^
InventoryFinal.java:340: class, interface, or enum expected
import java.io.File;
^
InventoryFinal.java:341: class, interface, or enum expected
import java.io.IOException;
^
4 errorsThe last two errors are on your import statements, which can't be in the middle of a source file. The first two are on this line:
textArea.append("/nTotal value of Inventory "new java.text.DecimalFormat("$0.00").format(total)"\n\n");Which certainly isn't a legal line of Java code. If you want to connect multiple Strings you need to use the "+" operator. -
Class, interface, or enum expected?
Ok I keep getting that error. Here is my java file that it is in.
package server.main.project12.skills;
import java.io.*;
import server.main.project12.*;
public class fireMaking {
public int xpgained = 1;//Change this and the fire xp will be times by that, so 40 time 1 = 40, 40
times 100 = 4000.
public void WalkTo(int x, int y) {
newWalkCmdSteps = (Math.abs((x+y)));
if(newWalkCmdSteps % 1 != 0)
newWalkCmdSteps /= 1;
if(++newWalkCmdSteps > walkingQueueSize) {
println("Warning: WalkTo("+packetType+") command contains too many steps
("+newWalkCmdSteps+").");
newWalkCmdSteps = 0;
int firstStepX = absX;
int tmpFSX = firstStepX;
firstStepX -= mapRegionX*8;
for(i = 1; i < newWalkCmdSteps; i++) {
newWalkCmdX[i] = x;
newWalkCmdY[i] = y;
tmpNWCX[i] = newWalkCmdX;
tmpNWCY[i] = newWalkCmdY[i];
newWalkCmdX[0] = newWalkCmdY[0] = tmpNWCX[0] = tmpNWCY[0] = 0;
int firstStepY = absY;
int tmpFSY = firstStepY;
firstStepY -= mapRegionY*8;
newWalkCmdIsRunning = ((inStream.readSignedByteC() == 1) && playerEnergy > 0);
for(i = 0; i < newWalkCmdSteps; i++) {
newWalkCmdX[i] += firstStepX;
newWalkCmdY[i] += firstStepY;
public int firetimer = 0;
public int firetimers = 0;
public int firetimers1 = 0;
public int firetimers2 = 0;
public int firetimers3 = 0;
public int firetimers4 = 0;
public int firetimers5 = 0;
public int firetimers6 = 0;
public int firetimers7 = 0;
public int firetimers8 = 0;
public int firetimers9 = 0;
public int firetimers10 = 0;
public int firetimers11 = 0;
public int firetimers12 = 0;
public int firetimers13 = 0;
public int firetimers14 = 0;
public int firetimers15 = 0;
public int firetimers16 = 0;
public int firetimers17 = 0;
public int firetimers18 = 0;
public int firetimers19 = 0;
public int previousX = 0;
public int previousY = 0;
public int previousX1 = 0;
public int previousY1 = 0;
public int previousX2 = 0;
public int previousY2 = 0;
public int previousX3 = 0;
public int previousY3 = 0;
public int previousX4 = 0;
public int previousY4 = 0;
public int previousX5 = 0;
public int previousY5 = 0;
public int previousX6 = 0;
public int previousY6 = 0;
public int previousX7 = 0;
public int previousY7 = 0;
public int previousX8 = 0;
public int previousY8 = 0;
public int previousX9 = 0;
public int previousY9 = 0;
public int previousX10 = 0;
public int previousY10 = 0;
public int previousX11 = 0;
public int previousY11 = 0;
public int previousX12 = 0;
public int previousY12 = 0;
public int previousX13 = 0;
public int previousY13 = 0;
public int previousX14 = 0;
public int previousY14 = 0;
public int previousX15 = 0;
public int previousY15 = 0;
public int previousX16 = 0;
public int previousY16 = 0;
public int previousX17 = 0;
public int previousY17 = 0;
public int previousX18 = 0;
public int previousY18 = 0;
public int previousX19 = 0;
public int previousY19 = 0;
public int logID = 0;
public boolean process() {
//FIRE MAKING TIMERS
if(firetimer > 0)
firetimer -= 1;
if(firetimers > 0)
firetimers -= 1;
if(firetimers1 > 0)
firetimers1 -= 1;
if(firetimers3 > 0)
firetimers3 -= 1;
if(firetimers2 > 0)
firetimers2 -= 1;
if(firetimers4 > 0)
firetimers4 -= 1;
if(firetimers5 > 0)
firetimers5 -= 1;
if(firetimers6 > 0)
firetimers6 -= 1;
if(firetimers7 > 0)
firetimers7 -= 1;
if(firetimers8 > 0)
firetimers8 -= 1;
if(firetimers9 > 0)
firetimers9 -= 1;
if(firetimers10 > 0)
firetimers10 -= 1;
if(firetimers11 > 0)
firetimers11 -= 1;
if(firetimers13 > 0)
firetimers13 -= 1;
if(firetimers12 > 0)
firetimers12 -= 1;
if(firetimers14 > 0)
firetimers14 -= 1;
if(firetimers15 > 0)
firetimers15 -= 1;
if(firetimers16 > 0)
firetimers16 -= 1;
if(firetimers17 > 0)
firetimers17 -= 1;
if(firetimers18 > 0)
firetimers18 -= 1;
if(firetimers19 > 0)
firetimers19 -= 1;
if(firetimers == 1)
ItemHandler.addItem(592, previousX, previousY, 1, playerId, false);
ReplaceObject2(previousX, previousY, 6951, 0, 10);
previousX = 0;
previousY = 0;
if(firetimers1 == 1)
ItemHandler.addItem(592, previousX1, previousY1, 1, playerId, false);
ReplaceObject2(previousX1, previousY1, 6951, 0, 10);
previousX1 = 0;
previousY1 = 0;
if(firetimers2 == 1)
ItemHandler.addItem(592, previousX2, previousY1, 1, playerId, false);
ReplaceObject2(previousX2, previousY2, 6951, 0, 10);
previousX2 = 0;
previousY2 = 0;
if(firetimers3 == 1)
ItemHandler.addItem(592, previousX3, previousY3, 1, playerId, false);
ReplaceObject2(previousX3, previousY3, 6951, 0, 10);
previousX3 = 0;
previousY3 = 0;
if(firetimers4 == 1)
ItemHandler.addItem(592, previousX4, previousY4, 1, playerId, false);
ReplaceObject2(previousX4, previousY4, 6951, 0, 10);
previousX4 = 0;
previousY4 = 0;
if(firetimers5 == 1)
ItemHandler.addItem(592, previousX5, previousY5, 1, playerId, false);
ReplaceObject2(previousX5, previousY5, 6951, 0, 10);
previousX5 = 0;
previousY5 = 0;
if(firetimers9 == 1)
ItemHandler.addItem(592, previousX9, previousY9, 1, playerId, false);
ReplaceObject2(previousX9, previousY9, 6951, 0, 10);
previousX9 = 0;
previousY9 = 0;
if(firetimers8 == 1)
ItemHandler.addItem(592, previousX8, previousY8, 1, playerId, false);
ReplaceObject2(previousX8, previousY8, 6951, 0, 10);
previousX8 = 0;
previousY8 = 0;
if(firetimers7 == 1)
ItemHandler.addItem(592, previousX7, previousY7, 1, playerId, false);
ReplaceObject2(previousX7, previousY7, 6951, 0, 10);
previousX7 = 0;
previousY7 = 0;
if(firetimers6 == 1)
ItemHandler.addItem(592, previousX6, previousY6, 1, playerId, false);
ReplaceObject2(previousX6, previousY6, 6951, 0, 10);
previousX6 = 0;
previousY6 = 0;
if(firetimers10== 1)
ItemHandler.addItem(592, previousX10, previousY10, 1, playerId, false);
ReplaceObject2(previousX10, previousY10, 6951, 0, 10);
previousX10 = 0;
previousY10 = 0;
if(firetimers11 == 1)
ItemHandler.addItem(592, previousX11, previousY11, 1, playerId, false);
ReplaceObject2(previousX11, previousY11, 6951, 0, 10);
previousX11 = 0;
previousY11 = 0;
if(firetimers12 == 1)
ItemHandler.addItem(592, previousX12, previousY12, 1, playerId, false);
ReplaceObject2(previousX12, previousY12, 6951, 0, 10);
previousX12 = 0;
previousY12 = 0;
if(firetimers13 == 1)
ItemHandler.addItem(592, previousX13, previousY13, 1, playerId, false);
ReplaceObject2(previousX13, previousY13, 6951, 0, 10);
previousX13 = 0;
previousY13 = 0;
if(firetimers14 == 1)
ItemHandler.addItem(592, previousX14, previousY14, 1, playerId, false);
ReplaceObject2(previousX14, previousY14, 6951, 0, 10);
previousX14 = 0;
previousY14 = 0;
if(firetimers15 == 1)
ItemHandler.addItem(592, previousX15, previousY15, 1, playerId, false);
ReplaceObject2(previousX15, previousY15, 6951, 0, 10);
previousX15 = 0;
previousY15 = 0;
if(firetimers19 == 1)
ItemHandler.addItem(592, previousX19, previousY19, 1, playerId, false);
ReplaceObject2(previousX19, previousY19, 6951, 0, 10);
previousX19 = 0;
previousY19 = 0;
if(firetimers18 == 1)
ItemHandler.addItem(592, previousX18, previousY18, 1, playerId, false);
ReplaceObject2(previousX18, previousY18, 6951, 0, 10);
previousX18 = 0;
previousY18 = 0;
if(firetimers17 == 1)
ItemHandler.addItem(592, previousX17, previousY17, 1, playerId, false);
ReplaceObject2(previousX17, previousY17, 6951, 0, 10);
previousX17 = 0;
previousY17 = 0;
if(firetimers16 == 1)
ItemHandler.addItem(592, previousX16, previousY16, 1, playerId, false);
ReplaceObject2(previousX16, previousY16, 6951, 0, 10);
previousX16 = 0;
previousY16 = 0;
if(firetimer == 1)
if(logID == 1)
addSkillXP((40*xpgained), 11);
removeGroundItem(absX, absY, 1511);
logID = 0;
if(logID == 2)
addSkillXP((60*xpgained), 11);
removeGroundItem(absX, absY, 1521);
logID = 0;
if(logID == 3)
addSkillXP((90*xpgained), 11);
removeGroundItem(absX, absY, 1519);
logID = 0;
if(logID == 4)
addSkillXP((135*xpgained), 11);
removeGroundItem(absX, absY, 1517);
logID = 0;
if(logID == 5)
addSkillXP((202*xpgained), 11);
removeGroundItem(absX, absY, 1515);
logID = 0;
if(logID == 6)
addSkillXP((303*xpgained), 11);
removeGroundItem(absX, absY, 1513);
logID = 0;
WalkTo(-1, 0);
sendMessage("The fire catches, and the logs begin to burn.");
Object(absX, absY, 2732, 0, 10);
firetimer = 0;
updateRequired = true;
appearanceUpdateRequired = true;
if(previousX == 0 && previousY == 0)
previousX = absX;
previousY = absY;
firetimers = 60; //DO NOT CHANGE THIS
viewTo(previousX, previousY);
else
if(previousX1 == 0 && previousY1 == 0)
previousX1 = absX;
previousY1 = absY;
firetimers1 = 60;
viewTo(previousX1, previousY1);
else
if(previousX2 == 0 && previousY2 == 0)
previousX2 = absX;
previousY2 = absY;
firetimers2 = 60;
viewTo(previousX2, previousY2);
else
if(previousX3 == 0 && previousY3 == 0)
previousX3 = absX;
previousY3 = absY;
firetimers3 = 60;
viewTo(previousX3, previousY3);
else
if(previousX4 == 0 && previousY4 == 0)
previousX4 = absX;
previousY4 = absY;
firetimers4 = 60;
viewTo(previousX4, previousY4);
else
if(previousX5 == 0 && previousY5 == 0)
previousX5 = absX;
previousY5 = absY;
firetimers5 = 60;
viewTo(previousX5, previousY5);
else
if(previousX6 == 0 && previousY6 == 0)
previousX6 = absX;
previousY6 = absY;
firetimers6 = 60;
viewTo(previousX6, previousY6);
else
if(previousX7 == 0 && previousY7 == 0)
previousX7 = absX;
previousY7 = absY;
firetimers7 = 60;
viewTo(previousX7, previousY7);
else
if(previousX8 == 0 && previousY8 == 0)
previousX8 = absX;
previousY8 = absY;
firetimers8 = 60;
viewTo(previousX8, previousY8);
else
if(previousX9 == 0 && previousY9 == 0)
previousX9 = absX;
previousY9 = absY;
firetimers9 = 60;
viewTo(previousX9, previousY9);
else
if(previousX10 == 0 && previousY10 == 0)
previousX10 = absX;
previousY10 = absY;
firetimers10 = 60;
viewTo(previousX10, previousY10);
else
if(previousX11 == 0 && previousY11 == 0)
previousX11 = absX;
previousY11 = absY;
firetimers11 = 60;
viewTo(previousX11, previousY11);
else
if(previousX12 == 0 && previousY12 == 0)
previousX12 = absX;
previousY12 = absY;
firetimers12 = 60;
viewTo(previousX12, previousY12);
else
if(previousX13 == 0 && previousY13 == 0)
previousX13 = absX;
previousY13 = absY;
firetimers13 = 60;
viewTo(previousX13, previousY13);
else
if(previousX14 == 0 && previousY14 == 0)
previousX14 = absX;
previousY14 = absY;
firetimers14 = 60;
viewTo(previousX14, previousY14);
else
if(previousX15 == 0 && previousY15 == 0)
previousX15 = absX;
previousY15 = absY;
firetimers15 = 60;
viewTo(previousX15, previousY15);
else
if(previousX16 == 0 && previousY16 == 0)
previousX16 = absX;
previousY16 = absY;
firetimers16 = 60;
viewTo(previousX16, previousY16);
else
if(previousX17 == 0 && previousY17 == 0)
previousX17 = absX;
previousY17 = absY;
firetimers17 = 60;
viewTo(previousX17, previousY17);
else
if(previousX18 == 0 && previousY18 == 0)
previousX18 = absX;
previousY18 = absY;
firetimers18 = 60;
viewTo(previousX18, previousY18);
else
if(previousX19 == 0 && previousY19 == 0)
previousX19 = absX;
previousY19 = absY;
firetimers19 = 60;
viewTo(previousX19, previousY19);
}And this is what my compiler is showing.C:\Users\Matthew\Documents\server.main.project12>javac *.java
Note: stream.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
C:\Users\Matthew\Documents\server.main.project12>javac ./skills/*.java
.\skills\firemaking.java:594: class, interface, or enum expected
^
1 error
C:\Users\Matthew\Documents\server.main.project12>pause
Press any key to continue . . .I really need help with this.This error is often caused by improper matching of braces { }.
Solution: Check the matching opening and closing braces.
Worse, the error could be totally invisible! Often, it is the first thing in the file, before package or import declarations
In that situation, it could be caused by a code edited / formatted using a text editor not designed for programming such as Word, which introduces invisible characters in the code.
Solution : In that case, cut and paste the code in a true code editor as Eclipse or NotePad which withdrawing the offending characters.
This error occurs most often in the console (command line), almost never in an IDE. -
Error in code, cannot figure it out. - class, interface, or enum expected
IT is telling me i have an error in line 22 and it says class, interface, or enum expected
import java.util.Scanner
* @(#)Blahh.java
* Blahh application
* @author
* @version 1.00 2010/1/29
public class Blahh {
public static void main(String[] args) {
// TODO, add your application code
System.out.println("Hello World!");
// PURPOSE: An exercise in tracing a program and understanding
// assignment statements and expressions.
import java.util.Scanner
Public class Trace
public static void main (String[] args)
int one, two, three;
double what;
Scanner scan = new Scanner(System.in);
System.out.print ("Enter two integers: ");
one = scan.nextInt();
two = scan.nextInt();
system.out.print("Enter a floating point number: ");
what = scan.nextDouble();
three = 4 * one + 5 * two;
two = 2 * one;
system.out.println ("one " + two + ":" + three);
one = 46 / 5 * 2 + 19 % 4;
three = one + two;
what = (what + 2.5) / 2;
System.out.println (what + " is what!");
}}youngtron92 wrote:
IT is telling me i have an error in line 22 and it says class, interface, or enum expected
import java.util.Scanner
* @(#)Blahh.java
* Blahh application
* @author
* @version 1.00 2010/1/29
public class Blahh {
public static void main(String[] args) {
// TODO, add your application code
System.out.println("Hello World!");
// PURPOSE: An exercise in tracing a program and understanding
// assignment statements and expressions.
import java.util.Scanner
Public class Trace
public static void main (String[] args)
int one, two, three;
double what;
Scanner scan = new Scanner(System.in);
System.out.print ("Enter two integers: ");
one = scan.nextInt();
two = scan.nextInt();
system.out.print("Enter a floating point number: ");
what = scan.nextDouble();
three = 4 * one + 5 * two;
two = 2 * one;
system.out.println ("one " + two + ":" + three);
one = 46 / 5 * 2 + 19 % 4;
three = one + two;
what = (what + 2.5) / 2;
System.out.println (what + " is what!");
}}Is that all a single source file? The import statement(s) need to be at the top, and each import has to be terminated by a semicolon.
Also this is wrong. Case matters.
Public class Trace -
I just got a macbook pro as a gift and i wanted to upgrade to mountain lion for free but i don't know where the laptop was brought? can anyone help me?
No one here would have any information as to where the MacBook Pro was purchased.
Contact the person who gifted the Mac.
Apple - See if you qualify for a free OS X Mountain Lion upgrade. -
I don't know where the contacts came from on that are now on my new phone. There are way too many and it is not my list of contacts I have on gmail. Where else is this from? I spent a LONG time on gmail going through my list of contacts. There were about 400 and I got it down to about 90. When I went to sync my new phone, ALL 400 synced.
Thank you for any help!Sorry for the repeat...new here. OBVIOUSLY.
-
Migration Assit , PC to MAC - The migration was successful, but I don't know where the files are. It says they're under a different user, 'owner' . I tried to access via sys pref/system/users&groups, but it asks for a password for owner which I don't have. What must I do to access my files?
My experience is with MS PC's I'm new with the MAC Book Pro.Then, see if this works:
Mac OS X 10.6 Help- If you forget your administrator password
If you are running Lion or Mountain Lion you may need to do the following to access the same utility:
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu. Enter resetpassword at the prompt and press RETURN. Follow instructions in the dialog window that will appear.
Or see Reset a Mac OS X 10.7 Lion Password and OS X Lion- Apple ID can be used to reset your user account password. -
I have 14GB for Movie File But I have Movie File only 1GB. I don't know where the other ?
Type .mov into Spotlight search to see if any files show, other than the one you know about.
Also you can try other types like .mp4
Al -
I want to impoort a song from a shared library.
Looking at the itunes help menu,
it says at "the bottom of the itunes window" ----
don't know where that isAND yea i afraid to sync my iphone and lose everything ;( i had everything perfect sync ing perfect ical,contacts,mail,apps and now sence new library I dont wana lose everything.....my hole life runs on my fone i need help bad
-
Can´t do Ichat Video, don´t know where the problems are
I have an IMac with built in ISIght and I want tu use Ichat Video. I can chat and if I press the button beside my pic, I see a normal moving pic of the cam. If I want to open a videochat, my pic in the new opend window just stopped moving. I can the the other person moving, and we can talk, but I don´t move for the other person.
If i look at check connection, my rame rate and Bitrate are 0.
SO what can I do to get it working, I already tried to open the ports, written in the support article. I connect wireless to my router.Hi
Have you set your Quicktime setting, goto sys prefs/quicktime/streaming/streaming speed, set to 1.5mbps(dont use automatic)
In ichats prefs click on video and change bandwidth limit to NONE.
Restart iChat.
Tony -
I saved a document, while logged in as a Guest, to another user account [it was set up for some reason to save like that (I guess the person who used computer last did that) and I didn't check before "saving"] on accident. Of course I didn't have permission to save on the other user's account but I was in a rush and so I figured everything was fine but later I found that there was a message warning me saying it did not save because it couldn't save because I had no permission to save on that account and gave me the option to duplicate or cancel.. I wasn't paying attention so I can't remember which button I hit but clearly it wasn't "duplicate"
I took hours perfecting this document and now I can't find it.. anywhere!
Where do these types of things go when this happens.. I know it's somewhere on the computer but where?? SOS I need the doc and I'm hoping I can find it
I guess it's the same as someone who accidnetly hits "don't save"... question still stands.. please anyone help me!!!
I'm trying to use Disk Drill but I only found things from November and it seems like it only shows files that have been physically/manually deleted..and my TIME MACHINE WAS NOT SET UP..because we recently got this MAC computer and had no clue what it was
maybe its in some temp files somewhere..where do not saved documents go.. i know that it is probably writable but I know that is probably still exists
ANYONE WITH INFO PLEASE PLEASE HELP!!tis true
I know, I always do that but I was in a rush to get somewhere and I was relying on my thousand dollar Mac to do some kind of recovery or something. I know Microsoft always keeps temporary files (I think Mac does too, part of me asking here in this forum was for someone to tell me where I can find those files) and when you go to open Office Works then it gives you the option of opening the last recent documents, saved or not saved.
I usually copy paste into my emial just in case something goes wrong with the created document but I just didn't have the time to login and do all that My loss, you live and you learn, BUT still if ANYONE got any info on this, PLEASE DO CHIME IN *keeping the hope alive* -
I am trying to download Skype to my ipod (my friend gave me his old ipod touch, which is about 1-2 years old, according to the year 2014) And when I tried to install it, it said that I have to agree to the terms of use. So I go onto my computer and review the terms of use there on my email. I could NOT find the "agree" button. Please, can someone help me?
The button would be on your iPod version of Skype, not the computer version. They are not the same.
-
Hardware Information:
iMac (24-inch, Early 2008)
iMac - model: iMac8,1
1 3.06 GHz Intel Core 2 Duo CPU: 2 cores
2 GB RAM
Video Information:
NVIDIA GeForce 8800 GS - VRAM: 512 MB
System Software:
Mac OS X 10.7.5 (11G63) - Uptime: 9 days 2:47:17
Disk Information:
ST3500630AS Q disk0 : (500.11 GB)
disk0s1 (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [Startup]: 499.25 GB (163.92 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
Apple Inc. Built-in iSight
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
FireWire Information:
Thunderbolt Information:
Launch Daemons:
[System] com.adobe.fpsaud.plist 3rd-Party support link
[System] com.carbonite.launchd.carbonitedaemon.plist 3rd-Party support link
[System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
[System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
Launch Agents:
[System] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
[System] com.carbonite.launchd.carbonitealerts.plist 3rd-Party support link
[System] com.carbonite.launchd.carbonitestatus.plist 3rd-Party support link
[System] com.oracle.java.Java-Updater.plist 3rd-Party support link
User Launch Agents:
[not loaded] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
[not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
[not loaded] com.zeobit.MacKeeper.Helper.plist 3rd-Party support link
User Login Items:
iTunesHelper
Canon IJ Network Scan Utility
Safari
Internet Plug-ins:
JavaAppletPlugin: Version: Java 7 Update 45 Outdated! Update
FlashPlayer-10.6: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
QuickTime Plugin: Version: 7.7.1
Flash Player: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
AdobePDFViewer: Version: 9.5.5 3rd-Party support link
CouponPrinter-FireFox_v2: Version: Version 1.1.6 3rd-Party support link
SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 3rd-Party support link
Silverlight: Version: 2.0.40115.0 3rd-Party support link
iPhotoPhotocast: Version: 7.0 - SDK 10.8
Audio Plug-ins:
iSightAudio: Version: 7.7.1 - SDK 10.7
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.3 - SDK 10.7
3rd Party Preference Panes:
Carbonite 3rd-Party support link
Flash Player 3rd-Party support link
Java 3rd-Party support link
Old Applications:
None
Time Machine:
Time Machine not configured!
Top Processes by CPU:
1% WindowServer
1% EtreCheck
1% activitymonitord
0% Activity Monitor
0% CarboniteDaemon
Top Processes by Memory:
238 MB WebProcess
119 MB mds
94 MB Safari
88 MB Finder
88 MB CarboniteDaemon
Virtual Memory Information:
385 MB Free RAM
1.00 GB Active RAM
230 MB Inactive RAM
402 MB Wired RAM
3.94 GB Page-ins
1.57 GB Page-outsUpdate Java and then see:
Mac Maintenance Quick Assist,
Mac OS X speed FAQ,
Speeding up Macs,
How to Speed up Macs,
Macintosh OS X Routine Maintenance,
Mac troubleshooting: What to do when your computer is too slow,
Essential Mac Maintenance: Get set up,
Essential Mac Maintenance: Rev up your routines,
Maintaining OS X,
Five Mac maintenance myths and
Myths of required versus not required maintenance for Mac OS X for information.
Maybe you are looking for
-
The only thing I can think that I've done differently is that I'd downloaded a scanner driver from Canon. Everything worked fine for days after that. It wasn't until I shut down the computer and restarted it that I keep getting these prompts to ent
-
If I click on something to open in a new tab or click on someone's email to open Outlook, instead of doing that, a bunch of blank tabs open. I'm fine with a couple blank tabs, but they keep opening. The only way to stop the tabs from opening is to cl
-
When I bought my iPhone 4S, I let my husband have my old 3GS to listen to my itunes music on (it's connected on iCloud). Trouble is, we're separated now, and I want to turn off the iCloud on that 3GS because I don't want him to be able to turn on any
-
Upgraded to 4.0 have trouble with opening webmail account--can't turn in paper!!!!! --trouble shooting msg says something about XUL I can either open up e-mail in basic and not read some e-mails or write e-mails https://webmail.duke.edu/atmail.php?Lo
-
How Create XML for Purcase Order
Dea all, Please advise how to create standard SAP XML for Purchase Order . In customizing (WE20) we have set the partner profile, and the PO creates an IDOC on the system. Now what should be done to convert it to XML , and where is the definition of