Gui doesn't show when the Thread is dispatched from the main class

Hi all,
I've tried to write a file unzipper class that shows a small frame with 2 progress bars.
The unzipper extends Thread class in order to make it an independant service.
However, when I debug it and use a main function that's written within the class, it works fine, and when I run it by calling it from another main, I only see a frame where the progress window should be, but no window.
Does anyone know what I'm doing wrong? (About the GUI, I know my unzipper isn't the most efficient one:
import javax.swing.*;
import java.awt.*;
import java.io.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import java.util.zip.ZipInputStream;
* User: Administrator
* Date: 14/10/2005
* Time: 18:26:47
* This is a file Unzipper;
* It takes a zipped archive, reads it, and decompresses the files within it
* It is a stand alone thread since the user doesn't need to wait for it or whatever;
* It also shows a nice progress bar gui for the user to know how the decompressing works
public class FileUnZip extends Thread{
private ZipEntry zipEntry;
private ZipInputStream zipInStream;
private FileInputStream fileInputStream;
private int sChunk=8192;//8KB buffer size for optimized i/o performance
private byte[] buff;
private FileOutputStream entryOutputStream;
private BufferedOutputStream bufferedOutputStream;
private String sourceArchiveName;
private String targetDirectoryName;
private String targetFileName;// a string that stores the current zipped file in the archive
private ZipFile zipFile;
private int zipEntriesNum;
private int readsNumber;//for knowing how many i/o approaches are required
//for progress bar gui:
private JProgressBar overAllProgBar;
private JProgressBar currentFileProgBar;
private JPanel progPanel;
private JLabel overAllLabel;
private JLabel currentFileLabel;
private int currFileValue=0;
private int currEntryValue=0;
private JFrame progFrm;
//constructor that produces the output in the same directory as source
public FileUnZip(String sourceArchiveN) {
sourceArchiveName = sourceArchiveN;
targetDirectoryName=sourceArchiveName.substring(0,
sourceArchiveName.length()-4);//trim ".zip"
// for clean directory name
File dir=new File (targetDirectoryName);
dir.mkdir();
this.start();
//constructor that produces the output in the given targetDir... directory
public FileUnZip(String sourceArchiveN, String targetFileN) {
sourceArchiveName = sourceArchiveN;
targetDirectoryName = targetFileN.substring(0,targetFileN.length()-4);
// for clean directory name
File dir=new File (targetDirectoryName);
dir.mkdir();
this.start();
public void initGui(){
JFrame.setDefaultLookAndFeelDecorated(true);
progFrm = new JFrame("Extracting " + sourceArchiveName);
progPanel = new JPanel(new GridLayout(2,2));
overAllLabel = new JLabel("<html><body><font size=4 color=red>Over All"+
"</color></size><font><body><html>");
progPanel.add(overAllLabel);
overAllProgBar = new JProgressBar(currEntryValue, zipEntriesNum);
overAllProgBar.setStringPainted(true);
progPanel.add(overAllProgBar);
currentFileProgBar = new JProgressBar(currFileValue, sChunk);
currentFileProgBar.setStringPainted(true);
currentFileLabel = new JLabel("<html><body>" +
"<font size=4 color=red>Current file"+
"</color></size><font><body><html>") ;
progPanel.add(currentFileLabel);
progPanel.add(currentFileProgBar);
progFrm.getContentPane().add(progPanel);
progFrm.pack();
progFrm.setResizable(false);
progFrm.setVisible(true);
public void initStreams(){
try {
zipFile = new ZipFile(sourceArchiveName);
zipEntriesNum=zipFile.size();// get entries number from the archive,
//used for displaying the overall progressbar
} catch (IOException e) {
System.out.println("can't initiate zip file");
if (zipFile!=null) {
try {
zipFile.close();
} catch (IOException e) {
System.out.println("zip file never initiated");
try {
fileInputStream = new FileInputStream(sourceArchiveName);
} catch (FileNotFoundException e) {
e.printStackTrace();
zipInStream = new ZipInputStream(new BufferedInputStream(
fileInputStream));
buff=new byte[sChunk];
public void start(){
initStreams();
initGui();
run();
public void run(){
File outputFile;
int succeededReading=0;
try {
while((zipEntry = zipInStream.getNextEntry())!=null){
overAllProgBar.setValue(++currEntryValue);
readsNumber=(int)zipEntry.getSize()/sChunk;
currentFileProgBar.setMaximum(readsNumber);
targetFileName=targetDirectoryName +
File.separator + zipEntry.getName();
outputFile=new File(targetFileName);
System.out.println("outputFile.getAbsolutePath() = "
+ outputFile.getAbsolutePath());
if(!outputFile.exists()){
outputFile.createNewFile();
entryOutputStream=new FileOutputStream(outputFile);
bufferedOutputStream = new BufferedOutputStream(
entryOutputStream, sChunk);
while((succeededReading=zipInStream.read(
buff,0,sChunk))!=-1){ //extract single entry
bufferedOutputStream.write(buff,0,succeededReading);
currentFileProgBar.setValue(++currFileValue);
bufferedOutputStream.flush();
bufferedOutputStream.close();
entryOutputStream.flush();
currFileValue = 0;
} catch (IOException e) {
e.printStackTrace();
finalize();
public void closeStreams(){
try {
zipInStream.close();
} catch (IOException e) {
e.printStackTrace();
try {
fileInputStream.close();
} catch (IOException e) {
e.printStackTrace();
if (entryOutputStream!=null) {
try {
entryOutputStream.flush();
entryOutputStream.close();
} catch (IOException e) {
System.out.println("entry stream never opened");
if(bufferedOutputStream!=null){
try {
bufferedOutputStream.flush();
bufferedOutputStream.close();
} catch (IOException e) {
e.printStackTrace();
public void finalize(){
try {
super.finalize();
} catch (Throwable throwable) {
throwable.printStackTrace();
progFrm.dispose();
closeStreams();
endTask();
private void endTask(){
//play a sound when task is complete
java.awt.Toolkit.getDefaultToolkit().beep();
}

import javax.swing.*;
import java.awt.*;
import java.io.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import java.util.zip.ZipInputStream;
* User: Administrator
* Date: 14/10/2005
* Time: 18:26:47
* This is a file Unzipper;
* It takes a zipped archive, reads it, and decompresses the files within it
* It is a stand alone thread since the user doesn't need to wait for it or whatever;
* It also shows a nice progress bar gui for the user to know how the decompressing works
public class FileUnZip extends Thread{
    private ZipEntry zipEntry;
    private ZipInputStream zipInStream;
    private FileInputStream fileInputStream;
    private int sChunk=8192;//8KB buffer size for optimized i/o performance
    private byte[] buff;
    private FileOutputStream entryOutputStream;
    private BufferedOutputStream bufferedOutputStream;
    private String sourceArchiveName;
    private String targetDirectoryName;
    private String targetFileName;// a string that stores the current zipped file in the archive
    private ZipFile zipFile;
    private int zipEntriesNum;
    private int readsNumber;//for knowing how many i/o approaches are required
//for progress bar gui:
    private JProgressBar overAllProgBar;
    private JProgressBar currentFileProgBar;
    private JPanel progPanel;
    private JLabel overAllLabel;
    private JLabel currentFileLabel;
    private int currFileValue=0;
    private int currEntryValue=0;
    private JFrame progFrm;
//constructor that produces the output in the same directory as source
    public FileUnZip(String sourceArchiveN) {
        sourceArchiveName = sourceArchiveN;
        targetDirectoryName=sourceArchiveName.substring(0,
                sourceArchiveName.length()-4);//trim ".zip"
// for clean directory name
        File dir=new File(targetDirectoryName);
        dir.mkdir();
        this.start();
//constructor that produces the output in the given targetDir... directory
    public FileUnZip(String sourceArchiveN, String targetFileN) {
        sourceArchiveName = sourceArchiveN;
        targetDirectoryName = targetFileN.substring(0,targetFileN.length()-4);
// for clean directory name
        File dir=new File(targetDirectoryName);
        dir.mkdir();
        this.start();
    public void initGui(){
        JFrame.setDefaultLookAndFeelDecorated(true);
        progFrm = new JFrame("Extracting " + sourceArchiveName);
        progPanel = new JPanel(new GridLayout(2,2));
        overAllLabel = new JLabel("<html><body><font size=4 color=red>Over All"+
                "</color></size><font><body><html>");
        progPanel.add(overAllLabel);
        overAllProgBar = new JProgressBar(currEntryValue, zipEntriesNum);
        overAllProgBar.setStringPainted(true);
        progPanel.add(overAllProgBar);
        currentFileProgBar = new JProgressBar(currFileValue, sChunk);
        currentFileProgBar.setStringPainted(true);
        currentFileLabel = new JLabel("<html><body>" +
                "<font size=4 color=red>Current file"+
                "</color></size><font><body><html>") ;
        progPanel.add(currentFileLabel);
        progPanel.add(currentFileProgBar);
        progFrm.getContentPane().add(progPanel);
        progFrm.pack();
        progFrm.setResizable(false);
        progFrm.setVisible(true);
    public void initStreams(){
        try {
            zipFile = new ZipFile(sourceArchiveName);
            zipEntriesNum=zipFile.size();// get entries number from the archive,
//used for displaying the overall progressbar
        } catch (IOException e) {
            System.out.println("can't initiate zip file");
        if (zipFile!=null) {
            try {
                zipFile.close();
            } catch (IOException e) {
                System.out.println("zip file never initiated");
        try {
            fileInputStream = new FileInputStream(sourceArchiveName);
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        zipInStream = new ZipInputStream(new BufferedInputStream(
                fileInputStream));
        buff=new byte[sChunk];
    public void start(){
        initStreams();
        initGui();
        run();
    public void run(){
        File outputFile;
        int succeededReading=0;
        try {
            while((zipEntry = zipInStream.getNextEntry())!=null){
                overAllProgBar.setValue(++currEntryValue);
                readsNumber=(int)zipEntry.getSize()/sChunk;
                currentFileProgBar.setMaximum(readsNumber);
                targetFileName=targetDirectoryName +
                        File.separator + zipEntry.getName();
                outputFile=new File(targetFileName);
                System.out.println("outputFile.getAbsolutePath() = "
                        + outputFile.getAbsolutePath());
                if(!outputFile.exists()){
                    outputFile.createNewFile();
                entryOutputStream=new FileOutputStream(outputFile);
                bufferedOutputStream = new BufferedOutputStream(
                        entryOutputStream, sChunk);
                while((succeededReading=zipInStream.read(
                        buff,0,sChunk))!=-1){ //extract single entry
                    bufferedOutputStream.write(buff,0,succeededReading);
                    currentFileProgBar.setValue(++currFileValue);
                bufferedOutputStream.flush();
                bufferedOutputStream.close();
                entryOutputStream.flush();
                currFileValue = 0;
        } catch (IOException e) {
            e.printStackTrace();
        finalize();
    public void closeStreams(){
        try {
            zipInStream.close();
        } catch (IOException e) {
            e.printStackTrace();
        try {
            fileInputStream.close();
        } catch (IOException e) {
            e.printStackTrace();
        if (entryOutputStream!=null) {
            try {
                entryOutputStream.flush();
                entryOutputStream.close();
            } catch (IOException e) {
                System.out.println("entry stream never opened");
        if(bufferedOutputStream!=null){
            try {
                bufferedOutputStream.flush();
                bufferedOutputStream.close();
            } catch (IOException e) {
                e.printStackTrace();
    public void finalize(){
        try {
            super.finalize();
        } catch (Throwable throwable) {
            throwable.printStackTrace();
        progFrm.dispose();
        closeStreams();
        endTask();
    private void endTask(){
//play a sound when task is complete
        java.awt.Toolkit.getDefaultToolkit().beep();
}

Similar Messages

  • HT201363 When I sign in to my Apple ID in "My Apple ID" and go to "Passwod and Security" I should answer the security questions but I don't remeber them and the bar that says "send to rescue email" doesn't show !! How could I recover the questions??

    When I sign in to my Apple ID in "My Apple ID" and go to "Passwod and Security" I should answer the security questions but I don't remeber them and the bar that says "send to rescue email" doesn't show !! How could I recover the questions??

    You will have to contact iTunes Support and tell them you have forgotten your Security Questions and need them reset. They will respond to you by email, usually within 24 hours. Here are two links to contact iTunes Support:
    http://www.apple.com/support/itunes/ww/
    or by email:
    http://www.apple.com/emea/support/itunes/contact.html
    Cheers,
    GB

  • Why does my volume buttons doesn't show when the Ipad is locked, Why does my volume buttons doesn't show when the Ipad is locked

    The volume buttons doesn't work when my ipad is locked but before the did worked I wanna know why they stoy working so suddenly

    So it doesn't show when I turn down or up my volume when it's locked?
    I'm checking my iPod and is also like this when it Locke it doesn't show when I'm turning it down or up

  • HT4623 When I download an app from the App Store, it jus shows "waiting" and doesn't download as it used to do earlier... Then after a day or 2 the app is downloaded... I dunno wuz d problem, can someone help me :(

    When I download an app from the App Store, it jus shows "waiting" and doesn't download as it used to do earlier... Then after a day or 2 the app is downloaded... I dunno wuz d problem, can someone help me

    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>Store>Apple ID. Tap your ID and sign out. 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.
    Go back to Settings>Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.

  • Gui is not showing when running program

    This source code compiles with no errors in Borland 9, but when I run it, the GUI doesn't show up. I'm clueless, here is the code:
    import java.util.Properties;
    import javax.mail.internet.*;
    import javax.mail.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author not attributable
    * @version 1.0
    public class SimpleSender{
      JPanel jPanel1 = new JPanel();
      JButton jButton1 = new JButton();
      JButton jButton2 = new JButton();
      JLabel jLabel1 = new JLabel();
      JLabel jLabel2 = new JLabel();
      JLabel jLabel3 = new JLabel();
      JLabel jLabel4 = new JLabel();
      JTextField jTextField1 = new JTextField();
      JTextField jTextField2 = new JTextField();
      JTextField jTextField3 = new JTextField();
      JTextArea jTextArea1 = new JTextArea();
      public SimpleSender() {
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      private void jbInit() throws Exception {
        jTextArea1.setText("");
        jTextArea1.setLineWrap(true);
        jTextArea1.setWrapStyleWord(true);
        jTextArea1.setBounds(new Rectangle(9, 142, 382, 142));
        jTextField3.setText("");
        jTextField3.setBounds(new Rectangle(56, 99, 170, 22));
        jTextField2.setText("");
        jTextField2.setBounds(new Rectangle(40, 73, 183, 21));
        jTextField1.setText("");
        jTextField1.setBounds(new Rectangle(28, 43, 193, 21));
        jLabel4.setText("MESSAGE:");
        jLabel4.setBounds(new Rectangle(5, 126, 55, 15));
        jLabel3.setText("SUBJECT:");
        jLabel3.setBounds(new Rectangle(5, 102, 51, 15));
        jLabel2.setText("FROM:");
        jLabel2.setBounds(new Rectangle(7, 74, 34, 15));
        jLabel1.setText("TO:");
        jLabel1.setBounds(new Rectangle(9, 45, 20, 15));
        jButton2.setBounds(new Rectangle(88, 6, 77, 25));
        jButton2.setText("RECEIVE");
        jPanel1.setLayout(null);
        jButton1.setBounds(new Rectangle(8, 6, 73, 25));
        jButton1.setText("SEND");
        jButton1.addActionListener(new SimpleSender_jButton1_actionAdapter(this));
        jPanel1.add(jButton1, null);
        jPanel1.add(jButton2, null);
        jPanel1.add(jLabel1, null);
        jPanel1.add(jLabel4, null);
        jPanel1.add(jLabel3, null);
        jPanel1.add(jLabel2, null);
        jPanel1.add(jTextField1, null);
        jPanel1.add(jTextArea1, null);
        jPanel1.add(jTextField2, null);
        jPanel1.add(jTextField3, null);
      public void mail() throws Exception {
          Properties props = System.getProperties();
          // Setup mail server
          props.put("mail.smtp.host", "smtp-server.cfl.rr.com");
          // Get session
          Session session = Session.getDefaultInstance(props, null);
          // Define message
          MimeMessage message = new MimeMessage(session);
          // Set the from address
          message.setFrom(new InternetAddress(jTextField2.getText()));
          // Set the to address
          message.addRecipient(Message.RecipientType.TO,
                               new InternetAddress(jTextField1.getText()));
          // Set the subject
          message.setSubject(jTextField3.getText());
          // Set the content
          message.setText(jTextArea1.getText());
          // Send message
          Transport.send(message);
      void jButton1_actionPerformed(ActionEvent e) {
       try{
         mail();
       }catch(Exception ex){System.out.println("Failed");}
      public static void main(String args[]){
        new SimpleSender();
    class SimpleSender_jButton1_actionAdapter implements java.awt.event.ActionListener {
      SimpleSender adaptee;
      SimpleSender_jButton1_actionAdapter(SimpleSender adaptee) {
        this.adaptee = adaptee;
      public void actionPerformed(ActionEvent e) {
        adaptee.jButton1_actionPerformed(e);
    }

    You need to have a JFrame to add your components to.
    For example, make your class extend JFrame and set your main panel the ContentPane (assuming that all your components have been added to this panel).
    public class SimpleSender extends JFRame {
    this.setContentPane(JPanel1);
    this.setVisible(true);
    }

  • Report works fine in VS2010 but simply doesn't show when published

    Problem:
    Crystal Report works fine in VS 2010 but doesn't show when published to web-server, there is no error, it simply doesn't show.
    Background:
    Installed VS2010 on a freshly installed and fully updated (.net 4.0 is included in the updates) windows server 2003 box with production release Crystal Report 2010. Nothing else is on the server.  IIS 6 is running.  My web-server and VS2010 is on the same box.
    I went ahead and created a new asp.net 4.0 web project called webapplication1. Thereafter, i put a few controls (text-boxes, list-boxes and so on)  on the default.aspx page. Then i created a report.aspx page. This page will have the crystal report viewer on it. I went ahead and set the report up without much hassle (got how-to's from the internet).  I successfully tested my web app with the built-in testing server, the beautiful crystal report presented exactly what i asked it to. There was one recurring "Sys.Application is null or not an object" hiccup that occured every time during testing when i navigated from the default.aspx page to the report.aspx page (the page the report is on). Clicking ignore or continue  on the dialogue box that comes up because of the hiccup will allow testing to continue.  Here's a screen-shot of this recurring hiccup.
    http://i440.photobucket.com/albums/qq122/ricom_19/Testing-Error.jpg
    As i've shown, testing went great, except for the hiccup. I now moved to setup a publish profile. Since my web-server and VS2010 is on the same box this seemed relatively straight forward. All the files went over except the report, i.e. crystalreport1.rpt  file. I solved this by  setting the build action to 'Content' in the CrystalReport1.rpt properties. I did a republish. Now i have all my files, see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Application-Home-Directory.jpg], on the web-server.
    I proceeded to try to browse to my app from another computer on my network. This was successful until i tried to navigate to the report.aspx page that the crystal report is on. The the report.aspx page loaded but the crystal report was simply not on it. No errors, not even the hiccup from testing occured. Its as if the crystal report viewer was never on the page to begin with. Only when i right clicked on the page and 'view source'  did i see some remnants of the crystal report viewer.
    Here is the Report.aspx page when tested in VS2010:
    [http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg]
    Here is the Report.aspx page when published to the web-server and browsed to from another computer on the network:
    [http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg]
    Details of adding report to my web app:
    1) Populate my dataset then write the XML schema, reportschema.xml
    2) Added the crystal Report to the project then used the wizard to navigate to the reportschema.xml. Of course i had to create new connection in Database expert. see screen-shot:
    [http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg]
    3) I formatted the report the way i wanted it
    4) Added the Crystal report viewer on the Report.aspx page
    5) In the code-behind of the Report.aspx page i bound the viewer to a report document that is loaded with CrystalReport1.rpt file
    see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Report-Page-Code-behind.jpg]
    That's it.  As mentioned, it tested fine in VS2010 but the viewer doesn't show when i publish to the webserver. I wrote a crystal report in .net about 8 years ago. Things have changed soooo much since then.
    I am wondering if its a license issue? Was also wondering if it had anything to do the testing hiccup, even though research is suggestion the two are unrelated.
    I've described my actions as best as i could (without getting into ridiculous detail) and have included screen-shots of relevant stages of the process. Have a look and tell me your thoughts. Thanks.

    The "Sys.Application is null or not an object" issue is known, submitted for a resolution and documented in KB #1528503. Unfortunately the KB search has been down the last couple of days...
    However, the issue is limited to compile time and does not affect a completed application.
    Re. the viewer missing. Sounds like the viewer directory did not get created or configure correctly. Before I get to that. You mention:
    "I proceeded to try to browse to my app from another computer on my network."
    This bring up the question: If you run the app right on the app server. e.g.; not a client computer, does the viewer and report come up? Is this issue isolated to client computers on the network?
    I suspect that the issue exists irrespective of which computer you try to see the report from - but that is an assumption. If the assumption is correct, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a] article on configuring the viewer. The article does not have CR4VS2010 documented, but you should be able to guide your self using the article. I think the pattern will be obvious.
    Ludek

  • Fade out doesn't show when exported as a jepg sequence?

    I'm exporting my video as a jpeg sequence because I can't get rid of the artifacts when exported as a .mov file no matter how much I mess with the settings. The Jpeg sequence works great the only problem is the fadeouts in the video don't show. Anyone know how to change that?
    Or how to get the video to export as a .mov file without artifacts some other way besides changing the quicktime settings.

    It still doesn't show. It's within the symbol, using the color effect alpha and doesn't show when playing through the timeline- only when testing the movie/scene or exported as a swf or mov file.

  • Pasted Content doesn't show up on Canvas or is at the very Edge of it

    Since installing AI CC 2014 this Version but also my old CC Copy show the same weird Behaviour:
    1. Copy an Element from the same or a different Layer via Ctrl-C
    2. Paste via Ctrl-V on the same or other Layer - Content doesn't show up or is only pasted at the very Edge of the Canvas. I can see that even when the Paste was "invisible" the File has been changed (* Indicator on File Tab).
    Yes, the Layers are all unlocked, so are the Elements.
    Tried it in various Files.
    I tried resetting Prefs. Nothing ...
    Doesn't matter if I copy only one Element or a Group with many.
    At the Moment my AI Installations are utterly useless.
    Any Ideas?
    W7 / I5 / 8 GByte RAM / SSD

    Thanks Larry!
    I have never used that Setting - I guess it was a reset from the Install.
    You saved my Day.

  • I am suddenly unable to update or download apps on my iphone 3G.  It says "the download will be available after you log in to itunes from your computer." I never had to do that before.  Even when I do log in from the computer, it still doesn't work.

    I am suddenly unable to update or download apps on my iphone 3G.  It says "the download will be available after you log in to itunes from your computer." I never had to do that before.  Even when I do log in from the computer, the download still doesn't work.  So what's going on?  Why would I need to go the computer to download an app to my phone?  That defeats the whole purpose of having the phone, which is to do stuff when you are not at the computer!@!@  Any help greatly appreciated.  Thanks.

    - Try a reset. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset network settings: Settings>General>Reset>Reset Nework Settings. You will have rejoin networks
    - Go to Settings>Store and sign out of account and sign back ino
    Do you have a very slow wif connection on the iPod?
    Have you tied connecting to another network?

  • Photos in album are only a hash-marked outline the image only shows when scrolling how can I see the image and open the photo?

    Photos in iPhoto album are only a hash-marked outline the image only shows when scrolling how can I see the image and open the photo?

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • When i scan my ipod from the application named find my ipod touch 4 it simply shows location unavailable while that of my cousin's ipod touch exactly shows the same location..... Why does that happen???

    When i scan my ipod from the application named find my ipod touch 4 it simply shows location unavailable while that of my cousin's ipod touch exactly shows the same location..... Why does that happen???

    When you go to the Google Maps app on the iPod does it correctly find your location? The iPod's locations service uses the location of the a nearby wifi router to locate te iPod.  However, not all routers are in Apple's database and as of yet nobody here knows of a way to add routers to the database.

  • Hello, does anyone know why when i drag and drop from the internet,why my images never show up?

    hello, does anyone know why when i drag and drop from the internet,why my images never show up?

    I'm wanting to drag images from the internet into a folder on my desktop or hard drive. I am used to being able to drag just about any image from any website off the web and into a folder on my old mac, but since I got my laptop, I've noticed I cannot do that. Is it a preference?

  • Can you increase the size of the photo that shows when you receive a call from a contact

    Can you increase the size of the photo that shows when you receive a call from a contact ?

    It used to be if you added the contacts photo on the iOS device they would have a large picture and if you added it from Address Book on OS X they would have a smaller thumbnail.  However, since iOS5, all I've been able to get is the larger photo.  Try adding the picture directly in the contacts app on your device.  That should make it larger.

  • Hello i have an iphone 4 its stuck in the apple loop. when ever i unplug it from the computer it shuts down and when i plug it in it shows me on itunes its in recovery mood and every time i click restore i get this error the iPhone could not be restored.

    hello i have an iphone 4 its stuck in the apple loop. when ever i unplug it from the computer it shuts down and when i plug it in it shows me on itunes its in recovery mood and every time i click restore i get this error the iPhone could not be restored.an unknown error accurred (2001)

    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
    http://support.apple.com/kb/TS3694#error1

  • When I send a 5v from the DAQ, the voltmeter shows 5V, but when i connect a "normally open valve" from parker to the DAQ, the voltage automatically decreases to .14 V. It seems like it is being grounded. Why is this happening?

    We are sending 5v to the DAQ using a voltage generator. We hook this up to a voltmeter and we see 5V. When we connect the voltage generator to a "normally open valve" from parker, the voltmeter shows .14V. It seems that when we connect both wires from the valve to the voltage generator, the wires are acting as a ground. We wish to control the voltage that flows to the valve through Labview. We checked the wires of the valve and they are working fine becuase if we send a constant 5V from the DAQ and grounded it, the voltmeter shows 5V. Does anyone know why the wires are acting as a ground and dropping the voltage to .14V?

    nsatpute wrote:
    Our DAQ is NI USB 6259. The valve only requires  a max of 5V and our DAQ does provide up to 5V. However, after connecting the valve to the DAQ, the voltage drops to almost 0. We are assuming that the wires somehow act as a ground, but we are not sure if this is the case. 
    The issue here is not how much voltage the valve wants, it is the current the valve needs.  The 6259 can only put out 5mA through an analog output.  Your valve very likely needs a lot more than that.  So you need to add in an amplifier circuit that can supply more current to operate your valve.

Maybe you are looking for

  • Multiple users on imac

    I have a new iMac and I'm thinking through user accounts.  I don't want to have separate user accounts if I can avoid it, and I'd rather not have separate iTunes accounts either.  But if we have one big iTunes account, can we designate different apps

  • How to use MessageFormat and ActionError together?

    i'm trying to use the Message Format class to format a message in the sense that i want to concatenate two strings first and then pass that one string to the ActionError. My first string defined in a properties file is: error.invalid="{0} is invalid.

  • Upgrade windows 2003 standard to 2008 enterprise

    Current Environment: Windows Standard 2003 64 Bit Edition VMware EP 7.0 Eph1 We want to upgrade our windows version to Enterprise 2008 64 Bit. Please let me know how to proceed with this ? How do we prepare the system to continue this upgrade without

  • PC resets when adding Vid/Mov to Itunes on Nano3g, Help please

    Hello, Just bought a Nano3g 8gig, I dont know why but everytime i try adding Movie/video files from my PC to Itunes my computer comes up with an error, sometimes reseting the computer also. I dont know whats wrong Please help, Thankyou biLLy ~

  • PhotoSmart C6280 - Fatal Error During Installation

    I have Win 7 (64 bit) system and cannot install software for my C6280 All-In-One Printer.  I keep getting a "Fatal Error During Installation" message and then the software tries to uninstall.  During this process a reboot is required and then the sof