I downloaded a book to my Ipad and when I went to sync with Itunes on my PC- it removed the book from my Ipad, but shows it on the PC. I have it "checked" to be synced but it still does not show up on my Ipad? This also happened after I downloaded IOS 5
I downloaded a book on my Ipad and after syncing to my PC, it was dropped from the Ipad, but shows up on my PC? I have it "checked" to be synced but it will not come back onto my Ipad. This is also after I downloaded IOS 5.1 for the Ipad. Does anyone know why it would be dropped from the Ipad?
Sometimes simply restarting your iTunes, the computer and the iPad is all that it takes to correct an issue like this so try that. Quit iTunes, reboot your computer, and restart the iPad. Then try the sync again.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
Similar Messages
-
I recently updated my iPad and when I went back to read a book that I had purchased I'm getting error messages and whole chapters are missing. I tried re-syncing with my mac book and nothing changed. Any help to restore my book completely?
Try a system reset. It's quick, easy and harmless...
Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo. Ignore the "Slide to power off" text if it appears. You will not lose any apps, data, music, movies, settings, etc.
If that doesn't work, you'll need to do a time-consuming "Restore." -
How do I get the none button to pop up so u don't have to have a credit card for apps? I owe nothing for apps from Apple, NOTHING!? And it still does not show the option "none". If it helps the card I have is a debit.
I'm happy you figured it out and just try to keep in mind that not everyone you talk to at support will give the same advice or have the same knowledge. Just like those who contribute to these forums. Sometimes Google is your best friend.
I agree that Apple could probably make it easier, but as of yet prefer security over freedom. (sound famaliar?)
Anyway, if you choose to do so, you can leave feedback here:
Apple.com Feedback
Apple Support Feedback
Developer Feedback
Product Feedback
QuickTime Feedback
Search Feedback -
My ipod will not connect to itunes. I reset the ipod touch. uninstalled itunes and installed it. Turned off firewall however the device manager still does not show Apple mobile device usb. What should i do next? I have windows 7.
See:
iOS: Device not recognized in iTunes for Windows
I would start with
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7 -
My iPad shows a message "Cannot find AirPrint printer". I used to use my iPad to print materials using HP wireless printer D110. Now it does not want to print. Is this because I am now using IOS 7? What should I do to solve the problem? Help please.
Restart your WiFi router and printer by removing power for 30 seconds.
-
What's with my screen going black and I can't escape or do anthing except push the power button off and turn it on again? This all started after I downloaded Lion. Other pages pop up when I turn it on too, like my calendar and apps and such. I have to click off all these every time I turn my computer on. Thanks for any info.
You're in the wrong forum. Post here.
https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion?view=discussi ons
or here
https://discussions.apple.com/community/desktop_computers/imac_intel?view=discus sions#/?per_page=50 -
I add components to contentPane, but JFrame still does not show them
I converted a small game I was making from AWT to Swing.(The game is just MineSweeper.) I made all the necessary adjustments like, Button to JButton and add() to getContentPane().add(), but when I show the JFrame, it does not show any components that I added. I have run test programs to see if I am adding the components correctly and they work.
I print out the number of components contained in the frame by using getComponentCount() and the number is correct. It just will not show up in the JFrame. I have tried everything I can think of, no matter how strange and it still will not show the components.
I have attached all the code to the bottom of this message. Can someone please take a look and see what I am missing.
Thanks.
Here's the code. The main file is at the end and is the one causing the problems. All the rest is just support stuff and should not be relavent, but I included it in case I missed something there.
//Timer is just a custom timer
import java.util.Date;
public class Timer {
Date curr;
public Timer() {
curr=new Date();
public void start() {
curr=new Date();
public int getSeconds() {
return (int)(((new Date().getTime())-curr.getTime())/1000);
//Cover subclasses JButton for initial look
import java.awt.*;
import javax.swing.*;
public class Cover extends JButton {
Dimension size;
public Cover() {
super("");
size=new Dimension(20,20);
setSize(size);
public Cover(String l) {
super("");
size=new Dimension(20,20);
setSize(size);
public void setSize(Dimension s) {
super.setSize(size);
public Dimension getPreferredSize() {
return size.getSize();
public Dimension getMinimumSize() {
return size.getSize();
public Dimension getMaximumSize() {
return size.getSize();
//Flag subclasses JButton to flag a mine
import java.awt.*;
import javax.swing.*;
public class Flag extends JButton {
Dimension size;
public Flag() {
super("F");
size=new Dimension(20,20);
public Flag(String l) {
super("F");
size=new Dimension(20,20);
public void setSize(Dimension s) {
super.setSize(size);
public Dimension getPreferredSize() {
return size.getSize();
public Dimension getMinimumSize() {
return size.getSize();
public Dimension getMaximumSize() {
return size.getSize();
//Reveal subclasses JPanel to show what's underneath
import java.awt.*;
import javax.swing.*;
public class Reveal extends JPanel {
Dimension size;
int number;
Color color[];
public Reveal(int n) {
super();
size=new Dimension(20,20);
number=n;
color=new Color[10];
color[0]=Color.black;
color[1]=Color.orange;
color[2]=Color.cyan;
color[3]=Color.yellow;
color[4]=Color.green;
color[5]=Color.magenta;
color[6]=Color.blue;
color[7]=Color.pink;
color[8]=Color.darkGray;
color[9]=Color.red;
//for(int x=0;x<10;x++) {
// System.out.println(x+"="+color[x]);
setBackground(Color.black);
public void paintComponent(Graphics g) {
int width=getWidth();
int height=getHeight();
FontMetrics fm=g.getFontMetrics();
int fw=0;
int fh=fm.getAscent();
g.setColor(color[number]);
if(number==9) {
fw=fm.stringWidth("M");
g.drawString("M",width/2-(fw/2),height/2+(fh/2));
else if(number!=0) {
fw=fm.stringWidth(""+number);
g.drawString(""+number,width/2-(fw/2),height/2+(fh/2));
g.setColor(Color.white);
g.drawRect(1,1,width-2,height-2);
//System.out.println("number="+number);
public void setNumber(int n) {
number=n;
public int getNumber() {
return number;
public Dimension getPreferredSize() {
return size.getSize();
public Dimension getMinimumSize() {
return size.getSize();
public Dimension getMaximumSize() {
return size.getSize();
//MineSweeper just launches the program and subclasses JFrame
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MineSweeper extends JFrame implements ComponentListener {
public MineSweeper(String s) {
super(s);
addComponentListener(this);
public void quit() {
System.exit(0);
public void componentHidden(ComponentEvent e){}
public void componentMoved(ComponentEvent e){}
public void componentResized(ComponentEvent e){
System.out.println("resized");
MineSweeper temp=(MineSweeper)e.getSource();
System.out.println("count="+temp.getContentPane().getComponentCount());
public void componentShown(ComponentEvent e){}
public static void main(String args[]) {
MineSweeper t=new MineSweeper("Inside Moves");
t.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
GameManager manager=new GameManager(t);
//GameManager is the main program. This is where the JFrame is realized
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
public class GameManager implements MouseListener, ActionListener, Runnable {
JPanel display;
JPanel gameInfo;
MineSweeper screen;
JButton reset;
JTextField tMine,time;
Container pane;
int clickX,clickY;
int minesLeft;
int gridX[],gridY[],mine[];
static final int MAX_X=30;
static final int MAX_Y=24;
static final int MAX_MINE=667;
JComponent grid[][];
int board[][];
int number[][];
final static int OB=64;
final static int BLANK=0;
final static int MINE=1;
final static int REVEAL=128;
int level;
final static int EASY=0;
final static int MEDIUM=1;
final static int HARD=2;
final static int CUSTOM=3;
int state;
final static int START=1;
final static int PLAYING=2;
final static int DONE=3;
Timer timer;
int timeDisp;
public GameManager(MineSweeper s) {
screen=s;
pane=screen.getContentPane();
pane.setLayout(new BorderLayout());
display=new JPanel();
gameInfo=new JPanel(new GridLayout(1,3));
reset=new JButton("Reset");
tMine=new JTextField(20);
time=new JTextField("0",20);
grid=new JComponent[MAX_X+2][MAX_Y+2];
board=new int[MAX_X+2][MAX_Y+2];
number=new int[MAX_X+2][MAX_Y+2];
gridX=new int[4];
gridY=new int[4];
mine=new int[4];
level=EASY;
gridX[0]=8;
gridY[0]=8;
mine[0]=10;
gridX[1]=16;
gridY[1]=16;
mine[1]=40;
gridX[2]=30;
gridY[2]=16;
mine[2]=99;
gridX[3]=0;
gridY[3]=0;
mine[3]=0;
minesLeft=mine[level];
tMine.setText(""+minesLeft);
state=START;
timer=new Timer();
reset.addActionListener(this);
setup();
Thread t=new Thread(this);
t.start();
/*System.out.println("count="+pane.getComponentCount());
Component cc[]=pane.getComponents();
for(int i=0;i<cc.length;i++) {
System.out.println("cc="+cc);
public void setup() {
boolean done;
for(int x=0;x<=gridX[level]+1;x++) {
for(int y=0;y<=gridY[level]+1;y++) {
if(x==0 || x==gridX[level]+1 || y==0 || y==gridY[level]+1) {
board[x][y]=OB;
number[x][y]=-1;
else {
board[x][y]=BLANK;
for(int i=0;i<mine[level];i++) {
done=false;
while(!done) {
int x=(int)((Math.random()*gridX[level])+1.0);
int y=(int)((Math.random()*gridY[level])+1.0);
if(board[x][y]==BLANK) {
board[x][y]=MINE;
done=true;
//System.out.println("Mine x="+x+" y="+y);
for(int y=1;y<=gridY[level];y++) {
System.out.print("\n");
for(int x=1;x<=gridX[level];x++) {
number[x][y]=0;
if(board[x][y]==MINE) {
number[x][y]=9;
System.out.print(""+number[x][y]);
continue;
else {
//System.out.println("For board pos x="+x+" y="+y);
for(int i=-1;i<=1;i++) {
for(int j=-1;j<=1;j++) {
//System.out.print(""+board[x+i][y+j]);
if(board[x+i][y+j]!=OB && board[x][y]==BLANK) {
number[x][y]+=board[x+i][y+j];
//System.out.print("\n");
System.out.print(""+number[x][y]);
System.out.print("\n");
screen.setVisible(false);
display.removeAll();
pane.removeAll();
display.setLayout(new GridLayout(gridY[level],gridX[level]));
for(int y=1;y<=gridY[level];y++) {
for(int x=1;x<=gridX[level];x++) {
Cover temp=new Cover();
//System.out.println("new button="+temp);
grid[x][y]=temp;
//System.out.println("display="+display.add(temp));
//display.add(temp);
temp.addMouseListener(this);
//System.out.println("count="+display.getComponentCount());
screen.setSize(gridX[level]*20,gridY[level]*20+30);
pane.add(gameInfo,BorderLayout.NORTH);
pane.add(display,BorderLayout.CENTER);
minesLeft=mine[level];
timeDisp=0;
tMine.setText(""+minesLeft);
time.setText(""+timeDisp);
state=START;
//System.out.println("gameInfo="+gameInfo);
//System.out.println("display="+display);
//screen.pack();
screen.setVisible(true);
void revealAround(int x,int y) {
int index;
Reveal tempRev=new Reveal(number[x][y]);
grid[x][y]=tempRev;
board[x][y]=(board[x][y]|REVEAL);
index=(x-1)+((y-1)*gridX[level]);
display.remove(index);
display.add(tempRev,index);
if(number[x][y]==0) {
for(int i=-1;i<=1;i++) {
for(int j=-1;j<=1;j++) {
if(!(i==0 && j==0)) {
if((board[x+i][y+j]&REVEAL)!=REVEAL && board[x+i][y+j]!=OB) {
revealAround(x+i,y+j);
void startTimer() {
timer.start();
public void run() {
while(true) {
if(state==PLAYING) {
if(timer.getSeconds()>timeDisp) {
timeDisp=timer.getSeconds();
time.setText(""+timeDisp);
else {
try {
Thread.sleep(1000);
catch (InterruptedException e) {
public void actionPerformed(ActionEvent e) {
if(e.getActionCommand().equals("Reset")) {
setup();
public void mouseClicked(MouseEvent e) {
if(state==START) {
startTimer();
state=PLAYING;
if(state==PLAYING) {
Component tempComp=(Component)e.getSource();
boolean found=false;
int index=0;
int buttonPressed=e.getModifiers();
for(int x=1;x<=gridX[level];x++) {
if(found) {
break;
for(int y=1;y<=gridY[level];y++) {
if(tempComp==grid[x][y]) {
clickX=x;
clickY=y;
found=true;
break;
index=(clickX-1)+((clickY-1)*gridX[level]);
if(buttonPressed==InputEvent.BUTTON1_MASK && !(grid[clickX][clickY] instanceof Flag)) {
Reveal tempRev=new Reveal(number[clickX][clickY]);
grid[clickX][clickY]=tempRev;
board[clickX][clickY]=board[clickX][clickY]|REVEAL;
display.remove(index);
display.add(tempRev,index);
else if(buttonPressed==InputEvent.BUTTON3_MASK) {
if(display.getComponent(index) instanceof Cover) {
Flag tempFlag=new Flag();
grid[clickX][clickY]=tempFlag;
display.remove(index);
display.add(tempFlag,index);
tempFlag.addMouseListener(this);
minesLeft--;
else if(display.getComponent(index) instanceof Flag) {
Cover tempCov=new Cover();
grid[clickX][clickY]=tempCov;
display.remove(index);
display.add(tempCov,index);
tempCov.addMouseListener(this);
minesLeft++;
tMine.setText(""+minesLeft);
if(number[clickX][clickY]==0) {
revealAround(clickX,clickY);
screen.setVisible(true);
public void mousePressed(MouseEvent e) {}
public void mouseReleased(MouseEvent e) {}
public void mouseEntered(MouseEvent e) {}
public void mouseExited(MouseEvent e) {}setBounds() is only used for absolute positioning. I
am using layout managers, so it should no be used.
Thanks for you reply.Oh I get I did not look at your source code enought... can you post only the part that is bugy!?!?!
JRG -
Why is my iphone not showing up on itunes? I just re downloaded itunes and it still won't show up.
http://support.apple.com/kb/TS1538
-
A couple of days after downloading Mountain Lion (10.8.3) Mail quits on startup. This doesn't happen on a quest account. I understand I'm not the only one with this problem (understatement). Has anybody found a solution yet??
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Step 1
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
Step 2
Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful. -
can't see iphone in itunes. installed itunes again. reset phone. shut off and restarted services. running out of ideas.
Follow ALL of the troubleshooting steps in the article from which the question was posted.
-
I have had my apple tv for 2 years and until I updated it I had no problems. Now it keeps telling me to turn on my home sharing in iTunes which I have done innumerablre times. It won't recognise my macbook pro so I reset my apple tv to original settings and still it won't work. Any ideas??????
Me too I have the same problem as MicheleP57!!!! What can I do???
-
please help my ipad is disabled and it is asking me to connect to Itunes and I still cannot unlock it?
Try Recovery Mode.
Read this: http://support.apple.com/kb/ht1808
Follow the instructions very carefully. -
If I try to play a certain person's vevo videos for example they won't play. Other videos posted by people will play, but it seems like if it is an official page by whoever (Lady Gaga, Justin Bieber, etc) they won't play and I have no idea why.
It seems to be any videos that have an ad that play before them won't start. I'm thinking it may be an issue related to Flash.
-
please help.
I'm starting to think you didn't read the article that King_Penguin linked you to. At all.
To submit a request for help, go here: http://www.apple.com/hk/en/support/itunes/store/giftcard/#form
Keep you card, you'll need the serial number. This is NOT the same as the activation code. Read this:
Source and links: http://www.apple.com/hk/en/support/itunes/store/giftcard/ -
Error 3194, this is happened after I downloaded the recent update. HELP please!
What is error 3194 and how do I fix it
when you typed "iPhone error 3194" into Google search, what did you find?
Maybe you are looking for
-
I have just updated Itunes and the phone software and now my PC crashes (blue screen) when I plug in my phone. I have an acer travelmate running windows XP .
-
Windows 8.1 - Sysprep, CopyProfile and Default Applications
Hello, I'm absolutely at the end of my rope with this one. My organization wants to deploy Windows 8.1 Professional to a small but not insignificant number of workstations. Due to a host of reasons beyond my control, higher ups have decided UAC needs
-
How to minimize memory usage with VM settings
Using JDK 1.4.2, I am trying to minimize the memory usage of my application. Our GUI application consumes about ~20MB of heap space during normal operation, but it can easily grow to 50MB in some rare cases (Special feature accessed by user). We have
-
I can't update my iphone 3gs to the new os through iTunes. Any suggestions?
I can't update my os through iTunes. Any suggestions?
-
HT5642 How is it suppose to work I don't no what to click ????
How are yu suppose to get the update I can't find where to click plz helpppp!!!!!! XC